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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov edi, dword [0x59ad30]
movsx eax, byte [ebx + 0x22]
mov ecx, dword [esp + 0x54]
mov esi, dword [0x5b39d0]
imul eax, eax, 0x84
add eax, dword [0x5b6a8c]
mov edx, ecx
imul edx, edi
add edx, dword [esp + 0x50]
imul edx, edx, 0xe
add edx, esi
cmp byte [eax - 0x6d], 0x53
jne 0x52c764
cmp dword [esp + 0x60], 9
je 0x52c7e0
movzx eax, word [ebx + 0x1c]
movzx edx, byte [edx + 0xc]
sar ax, 5
cwde
imul eax, edi
movzx edi, word [ebx + 0x1a]
sar di, 5
movsx edi, di
add eax, edi
imul eax, eax, 0xe
cmp byte [esi + eax + 0xc], dl
je 0x52c850
mov esi, dword [esp + 0x50]
mov eax, dword [ebx]
mov dword [esp + 4], ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp], esi
call dword [eax + 0x7c]
sub esp, 0x20
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
movzx eax, word [edx]
and ax, 0xf00
cmp ax, 0x400
jne 0x52c9bb
movsx edx, word [edx + 4]
test edx, edx
jle 0x52c9bb
cmp dword [0x5b504c], edx
jl 0x52c9bb
movzx eax, word [ebx + 0x1c]
sub edx, 1
imul edx, dword [0x5b5050]
sar ax, 5
cwde
imul eax, edi
movzx edi, word [ebx + 0x1a]
sar di, 5
movsx edi, di
add eax, edi
mov edi, dword [0x5b5059]
imul eax, eax, 0xe
mov edx, dword [edi + edx]
movzx edx, byte [edx + 0x11a]
cmp byte [esi + eax + 0xc], dl
jne 0x52c78e
lea esi, [esi]
fld dword [ebx + 0x58]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fldz
fcompi st(1)
fstp st(0)
jae 0x52c7d3
movzx eax, byte [ebx + 0x3b]
cmp al, 0xd
je 0x52c7d3
movzx edx, byte [ebx + 9]
cmp dl, 8
je 0x52c7d3
cmp byte [ebx + 0x42], 0xe
jne 0x52c88e
cmp al, 0xe
je 0x52c970
mov edi, dword [esp + 0x50]
xor esi, esi
test edi, edi
cmovns esi, dword [esp + 0x50]
cmp dword [esp + 0x58], 1
jg 0x52c8b4
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x58]
lea esi, [eax + 1]
xor eax, eax
test esi, esi
cmovs esi, eax
xor edi, edi
test ecx, ecx
cmovns edi, ecx
cmp dword [esp + 0x5c], 1
jg 0x52c8d0
sub ecx, dword [esp + 0x5c]
xor eax, eax
lea edi, [ecx + 1]
test edi, edi
cmovs edi, eax
mov eax, dword [esp + 0x60]
mov ecx, 0x5b62e0
mov dword [esp], eax
call fcn.00438280
mov ecx, ebx
mov ebp, eax
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], 0
call dword [eax + 0x78]
mov ecx, ebx
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
movsx eax, word [ebp + 0x4a]
mov dword [esp + 0xc], eax
movsx eax, word [ebp + 0x48]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00516ad0
xor eax, eax
xor edx, edx
mov byte [ebx + 0x42], 0xe
mov word [ebx + 0x43], ax
movzx eax, word [ebx + 0x52]
sub esp, 0x20
mov byte [ebx + 0x3b], 0xe
mov word [ebx + 0x45], ax
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x54]
mov word [ebx + 0x3c], dx
mov word [ebx + 0x47], ax
mov word [ebx + 0x40], ax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
movsx esi, word [ebx + 0x45]
mov eax, esi
cmp esi, dword [esp + 0x50]
jne 0x52c88e
movsx edi, word [ebx + 0x47]
cmp edi, ecx
jne 0x52c88e
mov word [ebx + 0x3e], ax
mov word [ebx + 0x40], di
cmp dl, 1
je 0x52c88e
cmp dword [ebx + 0x77], 0
jne 0x52c7d3
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 0xe], 0
mov byte [ebx + 9], 1
mov byte [ebx + 0xd], al
jmp 0x52c7d3
movzx eax, byte [0x11a]
ud2