Function at 0x506b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp dword [edi + 0x7c], 0
mov ebp, dword [edi]
je 0x506bee
mov eax, dword [edi + 0x18]
mov ecx, esi
sub ecx, dword [edi + 8]
sar ecx, 1
cmp byte [ecx + eax], 0
je 0x506bee
mov eax, dword [edi + 0x1c]
push ebx
push edx
push esi
push edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
call fcn.0050a6f0
mov edx, dword [esp + 0x50]
add esp, 0x10
cmp esi, edx
jae 0x50739d
mov dword [esp + 0x20], 0xa1
mov dword [esp + 0x24], 0x9b
mov dword [esp + 0x28], 0x9d
mov dword [esp + 0x2c], 0x9f
movzx ecx, word [esi]
movzx eax, cx
dec eax
mov dword [esp + 0x14], ecx
cmp eax, 0xa5
ja case.0x506c33.98
movzx eax, byte [eax + 0x507450]
jmp dword [eax*4 + 0x5073f8]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0xc]
test eax, eax
lea edx, [eax + 4]
cmove edx, ecx
lea eax, [esi + 2]
push edx
push eax
movzx eax, word [esi]
push eax
push edi
call fcn.00509990
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x507391
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
lea eax, [esi + 2]
push ecx
push eax
movzx eax, word [esi]
push eax
push edi
call fcn.00503970
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x507391
cmp dword [ebp], 0
je 0x506c9c
xor ecx, ecx
jmp 0x506ca9
push 0x14
push ebp
call fcn.005118c0
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x506c33.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], esi
mov dword [ebx + 8], ecx
push dword [edi + 0x24]
push 0x8d
push 0
push 3
push 0x20
push ebp
call fcn.0051c420
push 1
push edi
call fcn.004fc030
push 0
push 2
push dword [edi + 0x24]
push 0x8d
push 0x20
push ebp
call fcn.0051c420
push 0
push 3
push 0
push 0x8b
push 0x20
push ebp
call fcn.0051c420
mov edx, dword [esp + 0x90]
add esp, 0x50
add esi, 2
jmp 0x507391
cmp dword [edi + 0x68], 1
mov edx, dword [ebx + 8]
lea eax, [edx + 4]
jne 0x506d4e
test edx, edx
lea edx, [ebx + 0xc]
cmove eax, edx
push eax
push dword [esp + 0x44]
push esi
push edi
call fcn.00504730
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x507391
test edx, edx
lea edx, [ebx + 0xc]
push 1
cmove eax, edx
push eax
lea eax, [esi + 2]
push eax
push ecx
push edi
call fcn.00503970
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x507391
mov ax, word [esi + 0x22]
sub ax, 0x62
cmp ax, 0xb
ja case.0x506c33.6
push ebx
push esi
push edi
call fcn.005057e0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
lea eax, [esi + 2]
mov dword [esp + 0x3c], eax
movzx eax, word [eax]
mov ax, word [esi + eax*2]
sub ax, 0x62
cmp ax, 0xb
jbe case.0x506c33.33
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
mov eax, dword [esp + 0x18]
push ecx
push dword [esp + 0x44]
push eax
push edi
call fcn.00503970
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x507391
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
mov ax, word [eax]
sub ax, 0x62
cmp ax, 0xb
ja 0x506e0a
push ebx
push esi
push edi
call fcn.00508760
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
push 0
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
push ecx
push esi
push edi
call fcn.00508fa0
mov esi, dword [esp + 0x50]
add esp, 0x14
mov edx, dword [esp + 0x40]
jmp 0x507391
lea eax, [esi + 6]
mov dword [esp + 0x3c], eax
mov ax, word [eax]
sub ax, 0x62
cmp ax, 0xb
ja 0x506e5e
push ebx
push esi
push edi
call fcn.00508760
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
mov eax, dword [ebx + 8]
test eax, eax
je 0x506e6a
add eax, 4
jmp 0x506e6d
lea eax, [ebx + 0xc]
push eax
push esi
push edi
call fcn.00504cc0
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
push 0
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
push ecx
push esi
push edi
call fcn.00508fa0
mov esi, dword [esp + 0x5c]
add esp, 0x20
mov edx, dword [esp + 0x40]
jmp 0x507391
push ebx
push esi
push edi
call fcn.00508420
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
push ebx
push esi
push edi
call fcn.00503640
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
cmp dword [ebp], 0
je 0x506ed5
xor ecx, ecx
jmp 0x506ee2
push 0x24
push ebp
call fcn.005118c0
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x506c33.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [ebx + 8]
push ecx
mov dword [ecx], eax
push esi
mov dword [ecx + 0x10], esi
push edi
mov dword [ebx + 8], ecx
call fcn.004fdbf0
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x507391
cmp dword [ebp], 0
je 0x506f2e
xor ecx, ecx
mov dword [esp + 0x3c], ecx
jmp 0x506f3f
push 0x18
push ebp
call fcn.005118c0
add esp, 8
mov dword [esp + 0x3c], eax
mov ecx, eax
cmp dword [ebp], 0
jne case.0x506c33.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebx + 8]
mov dword [ecx + 0x10], esi
add esi, 2
mov dword [ecx], eax
mov dword [ebx + 8], ecx
movzx eax, word [esi + 2]
lea esi, [esi + eax*2]
movzx eax, word [esi]
cmp eax, 0x78
je 0x506f62
add esi, 4
cmp eax, 0x7b
je 0x506f88
push 1
push edi
call fcn.004fc030
add esp, 8
xor eax, eax
jmp 0x506fab
push 2
push edi
call fcn.004fc030
push 0
push 0x40
push 0
push 0x8b
push 0x20
push ebp
call fcn.0051c420
add esp, 0x20
mov eax, 4
push 0
push 2
push eax
push 0x8b
push 0x20
push ebp
call fcn.0051c420
push ebp
call fcn.0051c1f0
mov ecx, dword [esp + 0x58]
push edi
mov dword [ecx + 0x14], eax
call fcn.0050d420
mov edx, dword [esp + 0x60]
add esp, 0x20
jmp 0x507391
mov eax, 0x81
cmp word [esi + 2], ax
jbe case.0x506c33.126
push ebx
push esi
push edi
call fcn.005010a0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
push ebx
push esi
push edi
call fcn.005026a0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
cmp dword [ebp], 0
je 0x507021
xor ecx, ecx
jmp 0x50702e
push 0x14
push ebp
call fcn.005118c0
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x506c33.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], esi
mov dword [ebx + 8], ecx
push dword [edi + 0x40]
push 0x8d
push 0
push 3
push 0x20
push ebp
call fcn.0051c420
xor eax, eax
cmp dword [edi + 0x78], eax
setne al
lea eax, [eax*4 + 1]
push eax
push edi
call fcn.004fc030
push 0
push 8
push 0
push 1
push 0x20
push ebp
call fcn.0051c420
mov eax, dword [edi + 0x78]
neg eax
push 0
push 3
sbb eax, eax
and eax, 0x10
push eax
push 0x8b
push 0x20
push ebp
call fcn.0051c420
add esp, 0x50
lea eax, [esi + 4]
push eax
push 0x40
push 0
push 3
push 0x20
push ebp
call fcn.0051c420
push 0
push 3
push dword [edi + 0x40]
push 0x8d
push 0x20
push ebp
call fcn.0051c420
push 0
push 3
push 0x18
push 0x81
push 0x20
push ebp
call fcn.0051c420
add esp, 0x48
cmp dword [edi + 0x78], 0
je 0x507167
push dword [edi + 0x44]
push 0x8d
push 0
push 1
push 0x20
push ebp
call fcn.0051c420
push 0
push 0xb
push dword [edi + 0x44]
push 0x8d
push 0x20
push ebp
call fcn.0051c420
push 0
push 0x40
push 4
push 0x8b
push 0x20
push ebp
call fcn.0051c420
add esp, 0x48
lea eax, [esi + 4]
push eax
push 0x40
push 8
push 0x8b
push 0x20
push ebp
call fcn.0051c420
push 0
push 2
push 0xc
push 0x8b
push 0x20
push ebp
call fcn.0051c420
push 0
push 1
push 0
push 0x8b
push 0x20
push ebp
call fcn.0051c420
add esp, 0x48
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x40]
lea esi, [esi + eax*2]
add esi, 6
jmp 0x507391
mov edx, dword [edi]
lea eax, [esi + 2]
movzx ecx, cx
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
cmp cx, word [esp + 0x20]
je 0x5071aa
cmp cx, word [esp + 0x24]
je 0x5071aa
cmp cx, word [esp + 0x28]
je 0x5071aa
cmp cx, word [esp + 0x2c]
jne 0x5071bf
mov ebx, dword [esp + 0x3c]
movzx eax, word [eax]
lea ebx, [ebx + eax*2]
add ebx, 4
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
cmp dword [edx], 0
je 0x5071c8
xor eax, eax
jmp 0x5071db
push 0x14
push edx
call fcn.005118c0
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x30]
cmp dword [edx], 0
mov dword [esp + 0x10], eax
je 0x5071ef
mov edx, dword [esp + 0x40]
xor esi, esi
jmp 0x507391
mov edi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x38]
mov dword [eax + 0x10], esi
mov dword [ebx + 8], eax
mov eax, 0x9c
cmp cx, ax
jne 0x50724a
push 1
push edi
call fcn.004fc030
mov esi, dword [esp + 0x1c]
push 0
push 2
push 0
push 0x8b
push 0x20
push esi
call fcn.0051c420
mov esi, dword [esp + 0x5c]
add esp, 0x20
mov edx, dword [esp + 0x40]
jmp 0x507391
mov eax, 0xa1
cmp cx, ax
je 0x507268
mov eax, 0x9b
cmp cx, ax
je 0x507268
mov eax, 0x9f
cmp cx, ax
jne 0x5072bb
push 0
push 8
push 0
push 1
push 0x20
push edx
call fcn.0051c420
lea eax, [esi + 4]
mov esi, dword [esp + 0x2c]
push eax
push 0x40
push 0
push 3
push 0x20
push esi
call fcn.0051c420
push 0
push 3
push dword [edi + 0x40]
push 0x8d
push 0x20
push esi
call fcn.0051c420
add esp, 0x48
push 0
push 3
push 0x18
push 0x81
push 0x20
push esi
call fcn.0051c420
add esp, 0x18
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
jmp 0x507391
push ebx
push esi
push edi
call fcn.00504e60
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x507391
cmp dword [edi + 0xd8], 0
movzx edx, word [esi + 2]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
mov al, byte [edx + eax]
mov byte [esp + 0x3c], al
jne 0x507370
test al, al
jne 0x507326
mov eax, dword [edi + 0x20]
lea eax, [eax + edx*4]
push eax
push 0x8d
push 0
push 1
push 0x20
push ecx
call fcn.0051c420
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x24]
shl edx, 3
push 0
mov dword [esp + 0x34], edx
add edx, 4
push 2
add eax, edx
push eax
push 0x8d
push 0x20
push ecx
call fcn.0051c420
add esp, 0x18
cmp byte [esp + 0x3c], 0
jne 0x507370
mov eax, dword [edi + 0x24]
add eax, dword [esp + 0x30]
push 0
push 1
push eax
push 0x8d
push 0x20
push dword [esp + 0x28]
call fcn.0051c420
add esp, 0x18
mov edx, dword [esp + 0x40]
add esi, 4
jmp 0x507391
lea ecx, [esi + 2]
nop dword [eax]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x507380
lea esi, [ecx + 4]
test esi, esi
je case.0x506c33.98
cmp esi, edx
jb 0x506c16
cmp dword [esp + 0x18], 0
je case.0x506c33.98
cmp dword [ebp], 0
je 0x5073ae
xor ecx, ecx
jmp 0x5073bb
push 0x24
push ebp
call fcn.005118c0
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x506c33.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ecx + 0x10], 0x6fb484
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret