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

Disassembly:
sub esp, 0x8c
push ebp
push esi
mov esi, dword [esp + 0x98]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x14], edi
je 0x53ad1f
push edi
call dword [0x5ec1d4]
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x2c], ebp
je 0x53ad1f
lea eax, [esp + 0x3c]
push ebx
mov ebx, dword [0x5ec19c]
push eax
push 0x18
push esi
call ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push edi
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], ecx
push edi
push eax
lea ecx, [esp + 0x64]
push edi
push ecx
push ebp
mov dword [esp + 0x70], 0x28
mov dword [esp + 0x78], edx
mov word [esp + 0x7c], 1
mov word [esp + 0x7e], 0x20
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call dword [0x5ec1e4]
mov edi, eax
test edi, edi
je 0x53ad07
push edi
push ebp
call dword [0x5ec1e8]
push ebp
mov dword [esp + 0x40], eax
call dword [0x5ec1d4]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x38], ebp
je 0x53acec
lea edx, [esp + 0x80]
push edx
push 0x18
push edi
call ebx
mov eax, dword [esp + 0x8c]
mov ecx, eax
and ecx, 0x80000003
jns 0x53aa29
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x53aa44
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x53aa3b
dec edx
or edx, 0xfffffffc
inc edx
jne 0x53aa2b
mov dword [esp + 0x8c], eax
push esi
push ebp
call dword [0x5ec1e8]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
xor ebx, ebx
push 0xcc0020
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebx
push ebp
push eax
push ecx
push ebx
push ebx
push edx
call dword [0x5ec1cc]
push 0x660
push 2
mov dword [esp + 0x1c], 0x64
call dword [0x5ec408]
mov edi, eax
push edi
mov dword [esp + 0x28], edi
call dword [0x5ec404]
mov esi, eax
push ebx
push ebx
push 0x7fffffff
lea eax, [esi + 0x10]
push 0x7fffffff
push eax
mov dword [esi], 0x20
mov dword [esi + 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call dword [0x5ec744]
mov eax, dword [esp + 0xa4]
xor ecx, ecx
mov cl, ah
mov edx, dword [esp + 0x94]
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x88]
shr eax, 0x10
mov byte [esp + 0x13], al
lea eax, [ecx - 1]
imul eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x48]
add eax, edx
test ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jle 0x53ac95
mov edx, dword [esp + 0x44]
xor ebp, ebp
test edx, edx
jle 0x53ac73
mov eax, dword [esp + 0x14]
add eax, 2
shl eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp ebp, edx
mov dword [esp + 0x28], ebp
lea eax, [eax + ebp*4]
jge 0x53ac66
test ecx, ecx
jne 0x53ab68
mov dl, byte [esp + 0xa4]
cmp byte [eax + 2], dl
jne 0x53ab5c
mov dl, byte [esp + 0x12]
cmp byte [eax + 1], dl
jne 0x53ab5c
mov dl, byte [esp + 0x13]
cmp byte [eax], dl
jne 0x53ab5c
mov ecx, 1
jmp 0x53ab60
add eax, 4
inc ebp
mov edx, dword [esp + 0x44]
cmp ebp, edx
jl 0x53ab34
cmp ebp, dword [esp + 0x28]
jle 0x53ac66
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
cmp ecx, eax
jb 0x53abb3
push edi
call dword [0x5ec400]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
add eax, 0x640
push 2
add esi, 0x64
push eax
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], eax
call dword [0x5ec3fc]
push eax
mov dword [esp + 0x28], eax
call dword [0x5ec404]
mov esi, eax
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x28]
lea edi, [ebx + 1]
add edx, 2
push edi
push ebp
shl edx, 4
push ebx
add edx, esi
push ecx
push edx
call dword [0x5ec744]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
lea ebx, [esi + 0x10]
cmp eax, ecx
jge 0x53abe0
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jge 0x53abee
mov dword [esi + 0x14], eax
cmp ebp, dword [esi + 0x18]
jle 0x53abf6
mov dword [esi + 0x18], ebp
cmp edi, dword [esi + 0x1c]
jle 0x53abfe
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 8]
inc ecx
mov eax, ecx
mov dword [esi + 8], ecx
cmp eax, 0x7d0
jne 0x53ac5a
mov eax, dword [esp + 0x2c]
push esi
push eax
push 0
call dword [0x5ec1a0]
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53ac3a
push 2
push edi
push eax
push eax
call dword [0x5ec1a4]
push edi
call dword [0x5ec1d0]
jmp 0x53ac3e
mov dword [esp + 0x18], edi
push 0
push 0
push 0x7fffffff
push 0x7fffffff
push ebx
mov dword [esi + 8], 0
call dword [0x5ec744]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
inc ebp
cmp ebp, edx
jl 0x53ab1f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
sub eax, ecx
mov ecx, dword [esp + 0x48]
inc ebx
mov dword [esp + 0x20], eax
cmp ebx, ecx
mov dword [esp + 0x1c], ebx
jl 0x53ab07
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push esi
add ecx, 2
shl ecx, 4
push ecx
push 0
call dword [0x5ec1a0]
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53acc7
push 2
push esi
push eax
push eax
call dword [0x5ec1a4]
push esi
call dword [0x5ec1d0]
jmp 0x53accb
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x34]
push edx
push ebp
call dword [0x5ec1e8]
push ebp
call dword [0x5ec1a8]
push edi
call dword [0x5ec400]
push edi
call dword [0x5ec3f8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [0x5ec1e8]
push eax
call dword [0x5ec1d0]
mov ebp, dword [esp + 0x30]
push ebp
call dword [0x5ec1a8]
mov eax, dword [esp + 0x18]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x8c
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x8c
ret 8