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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x8a3940]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x7c]
mov ebx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], ebx
mov eax, dword [ebx + 0xec]
push dword [ebx + 0x88]
mov dword [esp + 0x44], eax
call fcn.004e4860
mov ecx, dword [ebx + 0x78]
add esp, 4
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x5331c7
cmp dword [ecx + 0x20], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x4c], eax
jne 0x5331c0
cmp dword [ecx + 0x24], 0
jne 0x5331c0
cmp dword [ecx + 0x28], 0
jne 0x5331c0
cmp dword [ecx + 0x3c], 0
jne 0x5331c0
cmp dword [ecx + 0x4c], 0
je 0x5331c7
mov dword [esi + 0x30], 1
cmp dword [esi + 0x24], 0
jne 0x5331f1
cmp byte [esi + 0x1b], 0
jl 0x5331f1
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
push ebx
mov eax, dword [eax + 0x74]
call eax
add esp, 8
test eax, eax
jne 0x533c29
mov edi, dword [esp + 0x44]
jmp 0x5331f7
xor edi, edi
mov dword [esp + 0x44], edi
movzx eax, word [esi + 0x16]
test edi, edi
mov dword [esp + 0x54], eax
mov eax, 1
cmove edi, eax
push 0x158
mov dword [esp + 0x54], edi
call fcn.004a67c0
push 0x158
push 0
push eax
mov dword [esp + 0x40], eax
call fcn.0059d510
movd xmm0, edi
mov ecx, edi
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
xorps xmm1, xmm1
addsd xmm0, qword [ecx*8 + 0x7676e0]
ucomisd xmm1, xmm0
ja 0x53324d
sqrtsd xmm0, xmm0
jmp 0x533252
call fcn.005a5d90
add esp, 8
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call fcn.005a4670
add esp, 8
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
call fcn.0059be80
mov esi, eax
xor edx, edx
mov eax, dword [esp + 0x54]
mov ecx, esi
add eax, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], eax
mov eax, 0x100000
div dword [esp + 0x38]
cmp esi, eax
jae 0x5332a6
nop dword [eax + eax]
add ecx, ecx
cmp ecx, eax
jb 0x5332a0
cmp ecx, edi
mov esi, edi
cmovbe esi, ecx
nop dword [eax]
mov edi, esi
imul edi, dword [esp + 0x38]
lea eax, [edi*4]
push eax
call fcn.004a6730
add esp, 4
test eax, eax
je 0x5332e5
push eax
call fcn.004a6790
lea eax, [edi + edi]
push eax
call fcn.004a6730
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x533303
jmp 0x5332e7
shr esi, 1
mov eax, dword [esp + 0x58]
cmp esi, eax
jae 0x5332b0
mov esi, eax
add eax, eax
imul eax, dword [esp + 0x38]
push eax
call fcn.004a67c0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [eax + 0xc], edi
mov al, byte [edx + 0x1a]
mov byte [ebx + 0x10], al
mov eax, dword [edx + 0x20]
mov edx, ebx
mov dword [edx + 0x14], eax
lea eax, [esi + esi]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x1c], eax
dec eax
mov dword [edx + 0x30], esi
add eax, esi
mov dword [edx + 0x38], ecx
xor edx, edx
div esi
mov esi, ebx
mov dword [esi + 0x28], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.004a67c0
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x40], eax
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push 0
push eax
call fcn.0059d510
add esp, 0x10
lea eax, [edi + 1]
push eax
push 0
push eax
call fcn.004a67c0
add esp, 4
push eax
call fcn.0059d510
mov ebx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x48]
mov dword [esi + 0x14c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x160], esi
mov dword [esi + 0x18], eax
cmp dword [esp + 0x44], 0
jne 0x533450
mov eax, dword [edi + 0x7c]
movzx ecx, word [eax + 0x2e]
movzx eax, word [edi + 0x16]
add eax, 0x54
add eax, ecx
push eax
push 0
push eax
call fcn.004a67c0
add esp, 4
push eax
call fcn.0059d510
mov esi, eax
push 0
mov byte [esi + 0x20], 0xff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x40], edi
push dword [edi + 0x7c]
call fcn.0052d5d0
mov dword [esi], eax
add esp, 0x14
mov dword [esi + 0x24], 1
mov dword [esi + 0x44], 0
mov eax, dword [edi + 0xa4]
mov dword [esi + 0x48], eax
mov dword [edi + 0xa4], esi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x53341c
mov dword [eax + 0x44], esi
mov dword [esi + 0x38], 0
mov dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x21], 1
mov dword [edi + 0x84], esi
mov eax, dword [esi]
mov dword [edi + 0x74], eax
mov byte [esi + 0x20], 3
push dword [edi + 0x84]
call fcn.00531360
add esp, 4
jmp 0x533c0a
movzx eax, word [ebx + 0x174]
xor esi, esi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], eax
cmp word [edi + 0x18], si
je 0x533491
push esi
call fcn.004898b0
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x533563
cmp dword [ecx + 0x34], esi
jne 0x533563
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x5334c9
push eax
call fcn.0048be00
mov esi, eax
add esp, 4
test esi, esi
je 0x5334c9
mov edi, 1
mov dword [esp + 0x50], edi
jmp 0x53356e
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x28], 0
jne 0x533533
cmp dword [eax + 0x20], 0
jg 0x533533
cmp dword [eax + 0x4c], 0
je 0x5334eb
mov dword [esp + 0x38], 1
jmp 0x53356c
cmp dword [eax + 0x3c], 0
je 0x533563
cmp word [ebx + 0x174], 0
je 0x53356c
push ebx
call fcn.0052c8f0
mov edi, eax
add esp, 4
test edi, edi
je 0x53356c
push dword [edi + 0x7c]
call fcn.0052d9d0
push edi
call fcn.00535130
push edi
call fcn.00533ff0
mov eax, dword [edi + 0x88]
push dword [edi + 0x7c]
mov esi, dword [eax]
call fcn.0052df50
add esp, 0x10
jmp 0x53356c
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x533548
push ecx
call fcn.0048be00
mov esi, eax
add esp, 4
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x40]
test esi, esi
mov eax, dword [eax + 0x20]
cmovne ecx, esi
xor edi, edi
test eax, eax
mov esi, ecx
cmovg edi, eax
mov dword [esp + 0x50], edi
jmp 0x53356e
xor eax, eax
mov word [ebx + 0x174], ax
xor edi, edi
movzx ecx, word [ebx + 0xa2]
xor edx, edx
mov eax, 0x10000
div ecx
mov dword [esp + 0x58], eax
call fcn.00497330
test eax, eax
jne 0x5335d6
mov edx, dword [esp + 0x58]
cmp edx, 1
jle 0x5335d6
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x5335af
cmp dword [ecx + 0x34], eax
jne 0x5335af
cmp word [ebx + 0x174], ax
jne 0x5335d6
cmp dword [esp + 0x38], eax
jne 0x5335d6
movzx eax, word [ebx + 0xa2]
imul eax, edx
mov dword [esp + 0x40], 1
push eax
call fcn.004a67c0
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx + 0x154], eax
jmp 0x5335de
mov dword [esp + 0x40], 0
test esi, esi
jne 0x53365e
cmp word [ebx + 0x174], si
jne 0x53365e
mov eax, dword [ebx]
mov esi, 1
mov eax, dword [eax + 0x10]
push esi
push ebx
call eax
add esp, 8
cmp dword [esp + 0x38], 0
je 0x533610
mov eax, dword [ebx]
push 1
push ebx
mov eax, dword [eax + 0x24]
call eax
add esp, 8
cmp dword [ebx + 0x28], 0
mov esi, dword [ebx + 0xec]
mov dword [esp + 0x34], esi
jne 0x533ba1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x533752
cmp esi, dword [esp + 0x44]
ja 0x533ba1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x53364c
cmp eax, dword [esp + 0x58]
jl 0x5336ce
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
sub ecx, esi
cmp ecx, eax
jb 0x53366f
mov ecx, eax
jmp 0x533670
mov eax, dword [ebx]
test esi, esi
jne 0x5335f2
mov eax, dword [eax + 0x18]
push ebx
call eax
add esp, 4
jmp 0x533610
inc ecx
test edi, edi
je 0x533679
cmp edi, ecx
cmovb ecx, edi
movzx eax, word [ebx + 0xa2]
mov edi, eax
cdq
push edx
push eax
imul edi, ecx
lea ecx, [esi - 1]
push 0
push ecx
call fcn.0059c2f0
mov esi, eax
mov ecx, edx
movzx eax, word [ebx + 0xa0]
cdq
add esi, eax
mov eax, dword [esp + 0x30]
adc ecx, edx
push ecx
push esi
push edi
push dword [eax + 0x154]
push dword [ebx + 0x8c]
call fcn.004e27b0
add esp, 0x14
cmp eax, edi
jne 0x533b1e
mov esi, dword [esp + 0x34]
xor edi, edi
jmp 0x5336d2
mov edi, dword [esp + 0x54]
movzx eax, word [ebx + 0xa2]
mov ecx, dword [esp + 0x30]
imul eax, edi
push 0
push ebx
add eax, dword [ecx + 0x154]
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx]
mov dword [ebx + 0xec], esi
mov eax, dword [eax + 0x54]
call eax
add esp, 8
cmp eax, 1
je 0x533ba1
mov eax, dword [ebx + 0xe4]
xor ecx, ecx
mov dword [ebx + 0x118], 1
mov dword [ebx + 0x114], 1
cmp byte [eax], 0x2a
sete cl
cmp dword [ebx + 0x7c], 0
mov dword [ebx + 0x124], ecx
je 0x53374d
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0xd4]
call eax
add esp, 4
cmp eax, 1
je 0x533ba1
inc edi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x533789
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [eax + 0x18]
jl 0x533785
push edi
mov dword [esp + 0x50], 0
call fcn.0049d860
push eax
call fcn.0048bc60
add esp, 8
test eax, eax
je 0x533ba5
inc dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5337a8
push eax
call fcn.0049d860
push eax
call fcn.0048bc60
add esp, 8
test eax, eax
je 0x533ba5
cmp esi, dword [esp + 0x44]
ja 0x533a9a
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5337d1
push eax
call fcn.0049d860
push eax
call fcn.0048bc60
add esp, 8
test eax, eax
je 0x533a9a
mov edi, dword [esp + 0x48]
movzx ecx, word [edi + 0x18]
test cx, cx
je 0x5337f1
mov eax, dword [ebx]
mov esi, dword [esp + 0x3c]
push esi
push ecx
mov eax, dword [eax + 0x58]
push ebx
call eax
add esp, 0xc
jmp 0x533802
push dword [edi + 0xc]
call fcn.0049d860
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
push esi
call fcn.0048e6f0
add esp, 4
cmp eax, 0x40
ja 0x533a2c
je 0x533a17
sub eax, 2
cmp eax, 0x1e
ja case.0x53382d.3
movzx eax, byte [eax + 0x533ca4]
jmp dword [eax*4 + 0x533c98]
cmp word [edi + 0x16], 4
push esi
jne 0x533859
call fcn.0048be00
add esp, 4
sub eax, 0x80000000
bswap eax
mov dword [esp + 0x74], eax
mov eax, 4
jmp 0x533925
call fcn.0048bd30
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
xorps xmm1, xmm1
add esp, 4
comisd xmm0, xmm1
jb 0x5338c4
ucomisd xmm0, qword [0x770170]
lahf
test ah, 0x44
jp 0x533888
movsd qword [esp + 0x20], xmm1
mov al, byte [esp + 0x27]
mov ebx, dword [esp + 0x24]
xor al, 0x80
mov edx, dword [esp + 0x20]
mov ecx, edx
mov byte [esp + 0x74], al
mov al, byte [esp + 0x26]
mov byte [esp + 0x75], al
mov eax, ebx
shrd ecx, eax, 0x18
mov byte [esp + 0x76], bh
mov byte [esp + 0x78], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esp + 0x77], bl
shrd eax, ebx, 8
jmp 0x533910
mov al, byte [esp + 0x27]
mov ebx, dword [esp + 0x24]
not al
mov edx, dword [esp + 0x20]
mov ecx, edx
mov byte [esp + 0x74], al
mov al, byte [esp + 0x26]
not al
mov byte [esp + 0x75], al
mov al, bh
not al
mov byte [esp + 0x76], al
mov al, bl
not al
mov byte [esp + 0x77], al
mov eax, ebx
shrd ecx, eax, 0x18
not cl
mov byte [esp + 0x78], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
not dl
shrd eax, ebx, 8
not cl
not al
mov ebx, dword [esp + 0x5c]
mov byte [esp + 0x7a], al
mov eax, 8
mov byte [esp + 0x7b], dl
mov byte [esp + 0x79], cl
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx + 0xec]
push eax
push dword [esp + 0x3c]
call fcn.00532910
add esp, 0x10
jmp 0x533a9e
push esi
call fcn.0048bc10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x24], xmm0
xorps xmm1, xmm1
add esp, 4
comisd xmm0, xmm1
jb 0x5339b3
ucomisd xmm0, qword [0x770170]
lahf
test ah, 0x44
jp 0x533977
movsd qword [esp + 0x20], xmm1
mov al, byte [esp + 0x27]
mov ebx, dword [esp + 0x24]
xor al, 0x80
mov edx, dword [esp + 0x20]
mov ecx, edx
mov byte [esp + 0x74], al
mov al, byte [esp + 0x26]
mov byte [esp + 0x75], al
mov eax, ebx
shrd ecx, eax, 0x18
mov byte [esp + 0x76], bh
mov byte [esp + 0x78], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esp + 0x77], bl
shrd eax, ebx, 8
jmp 0x5339ff
mov al, byte [esp + 0x27]
mov ebx, dword [esp + 0x24]
not al
mov edx, dword [esp + 0x20]
mov ecx, edx
mov byte [esp + 0x74], al
mov al, byte [esp + 0x26]
not al
mov byte [esp + 0x75], al
mov al, bh
not al
mov byte [esp + 0x76], al
mov al, bl
not al
mov byte [esp + 0x77], al
mov eax, ebx
shrd ecx, eax, 0x18
not cl
mov byte [esp + 0x78], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
not dl
shrd eax, ebx, 8
not cl
not al
mov ebx, dword [esp + 0x5c]
mov byte [esp + 0x7a], al
lea eax, [esp + 0x74]
mov byte [esp + 0x7b], dl
mov byte [esp + 0x79], cl
push 8
jmp 0x533a58
push esi
call fcn.0048c0a0
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
jmp 0x533957
cmp eax, 0x80
je 0x533a6d
cmp eax, 0x400
je 0x533a45
cmp eax, 0xc00
jne case.0x53382d.3
push esi
call fcn.0048bbd0
add esp, 4
push eax
push esi
call fcn.0048bbf0
add esp, 4
push eax
push dword [ebx + 0xec]
push dword [esp + 0x3c]
call fcn.00532910
add esp, 0x10
jmp 0x533a9e
push esi
call fcn.0048bc60
neg eax
push 1
sbb al, al
and al, 0xe
add al, 0x46
mov byte [esp + 0x7c], al
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0xec]
push dword [esp + 0x40]
call fcn.00532910
add esp, 0x14
jmp 0x533a9e
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x533abf
mov eax, dword [esp + 0x2c]
add edi, 0xffffffff
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], esi
je 0x533b9d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x533ace
mov esi, dword [esp + 0x34]
inc esi
jmp 0x533b0b
mov eax, dword [ebx]
push 1
push ebx
mov eax, dword [eax + 0x28]
call eax
add esp, 8
cmp eax, 1
je 0x533b9d
cmp dword [esp + 0x38], 0
je 0x533b01
mov eax, dword [ebx]
push 1
push ebx
mov eax, dword [eax + 0x24]
call eax
add esp, 8
cmp eax, 1
je 0x533b9d
mov esi, dword [ebx + 0xec]
mov eax, dword [esp + 0x40]
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x34], esi
je 0x533628
jmp 0x533ba1
call fcn.004edd40
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 0x7c]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
mov dword [esp + 0x60], eax
call fcn.004a5c50
test ax, ax
jne 0x533b9d
call fcn.004b4900
mov esi, eax
push 0x17
push esi
call fcn.004b4a20
push 0x3f2
push esi
call fcn.004b4ac0
push dword [esp + 0x74]
push esi
call fcn.004b4a80
push 0x17
call fcn.004da950
push eax
push esi
call fcn.004b49c0
add esp, 0x24
test edi, edi
je 0x533b84
push edi
push esi
call fcn.004b49e0
add esp, 8
mov ecx, dword [esp + 0x60]
push esi
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
push esi
call fcn.004b5150
add esp, 0xc
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
push dword [esp + 0x30]
call fcn.00532b60
mov eax, dword [esp + 0x4c]
add esp, 4
cmp word [eax + 0x18], 0
je 0x533bc8
push dword [esp + 0x3c]
call fcn.0048d9b0
add esp, 4
cmp dword [esp + 0x40], 0
je 0x533be5
mov eax, dword [esp + 0x68]
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx]
push esi
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 8
mov eax, dword [esp + 0x6c]
mov word [ebx + 0x174], ax
test edi, edi
je 0x533c0a
cmp dword [esp + 0x4c], 0
je 0x533c0a
push edi
call fcn.0049d860
push eax
call fcn.0048bc60
add esp, 8
push dword [esp + 0x30]
call fcn.005327c0
push dword [esp + 0x74]
mov dword [ebx + 0x160], 0
call fcn.004e4860
add esp, 8
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059bb21
mov esp, ebp
pop ebp
ret
call fcn.004a5c50
test ax, ax
jne 0x533c8a
call fcn.004b4900
mov esi, eax
push 0x21
push esi
call fcn.004b4a20
push 0x402
push esi
call fcn.004b4ac0
push 0
push esi
call fcn.004b4a80
push 0x21
call fcn.004da950
push eax
push esi
call fcn.004b49c0
mov eax, dword [ebx]
push esi
push ebx
mov eax, dword [eax + 0x144]
call eax
push esi
call fcn.004b5150
add esp, 0x30
mov esi, dword [esp + 0x34]
xor edi, edi
jmp 0x533ba5