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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
xor eax, eax
cmp ebx, dword [esp + 0x84]
sete al
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x524b73
xor ebp, ebp
cmp ebp, dword [esp + 0x78]
jge 0x524b65
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], 0
sub eax, dword [esp + 0x60]
dec edx
lea ecx, [ecx*4 + 4]
shl edi, 2
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
xor edi, edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
add eax, edi
mov dword [edx + ebp*4], eax
mov eax, dword [esp + 0x68]
add eax, edi
mov dword [ecx + ebp*4], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [edx + ebp*4]
mov dword [esp], eax
call fcn.0051d078
add ebx, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0xffffffff
je 0x524b59
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx + ebp*4]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x3c]
inc eax
nop
mov dword [edx], 0
add edx, 4
dec eax
jne 0x524518
cmp ebp, dword [esp + 0x34]
je 0x524b4b
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00522f08
mov edx, dword [esp + 0x54]
test edx, edx
je 0x524aab
add dword [esp + 0x2c], esi
add dword [esp + 0x28], esi
inc ebp
add edi, dword [esp + 0x44]
cmp ebp, dword [esp + 0x78]
jl 0x5244c4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x524a5c
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], eax
lea eax, [esi + esi]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
lea eax, [ecx + edx*4]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00523308
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x74]
cmove eax, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp], edi
xor ebp, ebp
mov dword [esp + 4], eax
call fcn.00523a78
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [esp], edi
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
lea eax, [esi + esi]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00523f28
cmp ebp, dword [esp + 0x78]
jl 0x524a1b
cmp dword [esp + 0x64], 0xffffffff
je 0x524644
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
inc eax
lea esi, [esi]
mov dword [edx], 0
add edx, 4
dec eax
jne 0x524638
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
imul eax, dword [esp + 0x34]
lea eax, [ecx + eax + 1]
test eax, eax
mov dword [esp + 0x50], eax
je 0x524674
mov edx, dword [esp + 0x68]
lea esi, [esi]
mov dword [edx], 0
add edx, 4
dec eax
jne 0x524668
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x64]
imul eax, ebp
add edi, eax
mov dword [esp + 0x48], eax
test ebp, ebp
mov dword [esp + 0x4c], edi
js 0x524825
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x30], eax
mov esi, esi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
sub eax, ebp
lea esi, [ecx + edx*4]
mov ecx, dword [esp + 0x30]
cdq
idiv dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov eax, dword [edi + edx*4]
mov dword [esp + 0x38], edx
mov dword [esp], esi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.0051eb2e
test eax, eax
je 0x524732
mov eax, dword [esp + 0x64]
lea edx, [esi + eax*4]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x64]
mov ecx, dword [edx + 4]
lea ebx, [edx + 4]
inc ecx
dec eax
mov dword [edx + 4], ecx
cmp ecx, 1
jae 0x524a14
mov edi, 1
mov edx, 1
cmp edi, eax
jge 0x52472e
mov ecx, dword [ebx + edx*4]
inc ecx
mov dword [ebx + edx*4], ecx
inc edx
test ecx, ecx
jne 0x524a14
cmp edx, eax
jl 0x52471a
add dword [esp + 0x54], edi
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
lea eax, [ebp + 1]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [ecx + edx*8], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
test edx, edx
mov ebx, dword [eax + edi*4]
js 0x524770
mov edi, dword [esp + 0x58]
mov eax, dword [ebx + edx*4]
mov ecx, dword [edi + edx*4]
cmp eax, ecx
jne 0x5249ff
dec edx
jns 0x52475b
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x524812
mov edx, dword [esi]
mov ebx, dword [esp + 0x50]
sub ebx, dword [esp + 0x48]
lea eax, [edx - 1]
cmp edx, 1
mov dword [esi], eax
jae 0x5249f8
mov edi, 1
mov ecx, 1
cmp edi, ebx
jge 0x5247be
lea esi, [esi]
mov edx, dword [esi + ecx*4]
lea eax, [edx - 1]
mov dword [esi + ecx*4], eax
inc ecx
test edx, edx
jne 0x5249f8
cmp ecx, ebx
jl 0x5247a8
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x50]
sub dword [esp + 0x54], edi
lea ebx, [ecx + edx*4]
sub esi, edx
mov edx, dword [ebx]
lea eax, [edx - 1]
cmp edx, 1
mov dword [ebx], eax
jae 0x5249f1
mov edi, 1
mov ecx, 1
cmp edi, esi
jge 0x52480e
lea esi, [esi]
mov edx, dword [ebx + ecx*4]
lea eax, [edx - 1]
mov dword [ebx + ecx*4], eax
inc ecx
test edx, edx
jne 0x5249f1
cmp ecx, esi
jl 0x5247f8
sub dword [esp + 0x54], edi
mov edi, dword [esp + 0x60]
sub dword [esp + 0x48], edi
sub dword [esp + 0x4c], edi
dec ebp
jns 0x5246a8
cmp dword [esp + 0x54], 0xffffffff
je 0x52493b
cmp dword [esp + 0x54], 1
je 0x524878
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], edx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.005241c8
mov edx, dword [esp + 0x80]
add edx, edx
cmp dword [esp + 0x50], edx
jl 0x5248dd
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x68]
mov esi, edx
mov eax, dword [esp + 0x80]
lea ebx, [edi + ecx*4]
shl eax, 3
sub ebx, eax
mov edx, dword [esp + 0x54]
add edx, dword [ebx]
cmp edx, dword [esp + 0x54]
mov dword [ebx], edx
jae 0x5248d9
mov eax, 1
mov ecx, 1
cmp eax, esi
jge 0x5248cc
mov edx, dword [ebx + ecx*4]
inc edx
mov dword [ebx + ecx*4], edx
inc ecx
test edx, edx
jne 0x5248d9
cmp ecx, esi
jl 0x5248bc
test eax, eax
mov dword [esp + 0x54], eax
jne 0x5248a0
jmp 0x524837
xor eax, eax
jmp 0x5248cc
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
lea ebx, [edx + eax*4]
mov eax, dword [esp + 0x80]
shl eax, 2
sub ebx, eax
mov edx, dword [ebx]
mov eax, edx
sub eax, dword [esp + 0x54]
cmp edx, dword [esp + 0x54]
mov dword [ebx], eax
jae 0x524837
cmp dword [esp + 0x80], 1
mov ecx, 1
jle 0x524837
mov edx, dword [ebx + ecx*4]
lea eax, [edx - 1]
mov dword [ebx + ecx*4], eax
inc ecx
test edx, edx
jne 0x524837
cmp ecx, dword [esp + 0x80]
jl 0x52491b
jmp 0x524837
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x80]
shl eax, 2
sub ecx, eax
mov eax, dword [ecx]
inc eax
cmp eax, 1
mov dword [ecx], eax
jae 0x5249ed
mov ebx, 1
mov edx, 1
cmp ebx, dword [esp + 0x80]
jge 0x524988
mov eax, dword [ecx + edx*4]
inc eax
mov dword [ecx + edx*4], eax
inc edx
test eax, eax
jne 0x5249ed
cmp edx, dword [esp + 0x80]
jl 0x524973
test ebx, ebx
je 0x524837
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x80]
lea edx, [edi + ecx*4]
shl eax, 2
inc esi
sub edx, eax
mov ecx, dword [edx - 4]
lea ebx, [edx - 4]
lea eax, [ecx - 1]
cmp ecx, 1
mov dword [edx - 4], eax
jae 0x5249dc
cmp esi, 1
mov edx, 1
jle 0x5249dc
mov ecx, dword [ebx + edx*4]
lea eax, [ecx - 1]
mov dword [ebx + edx*4], eax
inc edx
test ecx, ecx
jne 0x5249dc
cmp edx, esi
jl 0x5249ca
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
dec dword [edx + eax*4 - 4]
jmp 0x524837
xor ebx, ebx
jmp 0x524988
xor edi, edi
jmp 0x52480e
xor edi, edi
jmp 0x5247be
cmp eax, ecx
seta al
movzx eax, al
lea eax, [eax + eax - 1]
mov dword [esp + 0x20], eax
jmp 0x524770
xor edi, edi
jmp 0x52472e
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x78]
sub eax, ebp
cdq
idiv dword [esp + 0x78]
imul edx, esi
add edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov eax, dword [edx + ebp*4]
inc ebp
mov dword [esp], eax
call fcn.00524168
cmp ebp, dword [esp + 0x78]
jl 0x524a1b
jmp 0x524621
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x7c]
lea eax, [esi + esi]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x78]
lea eax, [edx + edi*4]
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00523588
jmp 0x5245bf
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [edx + ebp*4]
mov dword [esp], eax
call fcn.0051d078
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x60]
shl edx, 2
add dword [esp + 0x84], edx
mov dword [esp + 0x24], ecx
inc ecx
je 0x524b42
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + ebp*4]
mov eax, dword [esp + 0x24]
lea edx, [edx + ecx]
inc eax
mov dword [edx], 0
add edx, 4
dec eax
jne 0x524af9
cmp ebp, dword [esp + 0x34]
je 0x524b30
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00522f08
jmp 0x52455a
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [ecx + edx*4], eax
jmp 0x524b0b
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + ebp*4]
jmp 0x524b05
mov eax, dword [ebx]
mov edx, dword [esp + 0x60]
mov dword [ecx + edx*4], eax
jmp 0x52452e
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + ebp*4]
jmp 0x524524
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x34], ecx
jmp 0x524571
mov edx, dword [esp + 0x78]
dec edx
mov dword [esp + 0x34], edx
jmp 0x524571