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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x38c
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x10], ecx
cmp edi, 3
ja 0x5234f0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
test eax, eax
jne 0x5232d8
or dword [esi + 0x18], 3
add esp, 0x38c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x54], eax
mov ecx, 0xc0
xor eax, eax
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x80]
mov dword [esp + 0x5c], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
mov edx, dword [esi]
lea ecx, [esp + 0x68]
mov dword [esp], eax
lea ebp, [esi + 0x18]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], 0
mov byte [esp + 0x64], 0
call fcn.005245d0
sub esp, 4
cmp byte [esp + 0x70], 0
je 0x523544
mov eax, dword [esp + 0x68]
cmp byte [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
movzx eax, byte [esp + 0x70]
mov byte [esp + 0x88], al
je 0x5235b3
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x7c]
mov byte [esp + 0x94], al
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.00524430
sub esp, 4
movzx eax, byte [esp + 0x44]
test al, al
je 0x523768
lea ebx, [esp + 0x98]
mov esi, ebp
lea esi, [esi]
mov edx, dword [esp + 0x3c]
mov byte [ebx + 8], al
lea eax, [esp + 0x54]
lea ecx, [esp + 0x48]
add ebx, 0xc
mov dword [ebx - 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [ebx - 8], edx
mov dword [esp], eax
call fcn.00524430
sub esp, 4
mov edx, dword [esp + 0x48]
movzx eax, byte [esp + 0x50]
lea ecx, [esp + 0x380]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x44], al
mov dword [esp + 0x40], edx
test al, al
je 0x523570
cmp ebx, ecx
jne 0x5233a8
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x18]
mov edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, 0x40
and edx, 0xfffffffc
mov dword [edi + 0x18], edx
cmp edx, 3
jbe 0x52341d
mov ecx, dword [edx]
add ecx, 0x40
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
mov byte [esp + 0x20], al
call fcn.00523dd0
sub esp, 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
lea ebp, [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x60]
add eax, eax
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
shl edx, 5
mov dword [esp + 0x18], eax
lea ebx, [ecx + edx + 8]
lea esi, [esi]
nop
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 4]
lea ecx, [ebx + 8]
mov dword [ebx], ecx
mov edx, dword [ebp]
lea esi, [eax + edi]
mov edi, dword [esp + 0x18]
sub esi, edi
movzx edi, byte [ebp + 8]
sar esi, 1
test eax, eax
jne 0x523492
test edx, edx
jne 0x5237b0
lea edx, [eax + edx*2]
mov dword [esp], eax
mov ecx, ebx
add ebp, 0xc
mov dword [esp + 4], edx
add ebx, 0x20
call fcn.00572dd0
mov eax, edi
mov dword [ebx - 4], esi
sub esp, 8
movzx edi, al
mov eax, dword [esp + 0x10]
mov dword [ebx - 8], edi
mov eax, dword [eax + 0x18]
add dword [eax], 1
lea eax, [esp + 0x380]
cmp ebp, eax
jne 0x523468
movzx eax, byte [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x80]
test al, al
jne 0x5233a8
jmp 0x5232c9
and edi, 0xfffffffc
mov esi, dword [edi]
lea ebx, [edi + 8]
test esi, esi
jle 0x523539
lea esi, [esi]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x523515
mov dword [esp], eax
lea ecx, [ebx + 0x18]
call fcn.004c1f90
sub esp, 4
mov eax, dword [ebx]
lea edx, [ebx + 8]
cmp eax, edx
je 0x523531
mov edx, dword [ebx + 8]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.005a0430
add ebx, 0x20
sub esi, 1
jne 0x523500
mov dword [edi], 0
jmp 0x5232ba
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call fcn.00524430
sub esp, 4
movzx eax, byte [esp + 0x44]
lea ebx, [esp + 0x80]
test al, al
jne 0x5233a2
jmp 0x5232c9
cmp ebx, ecx
je 0x5233fb
lea eax, [esp + 0x80]
mov ebp, esi
cmp ebx, eax
je 0x5232c9
mov esi, dword [esp + 0x10]
sub ebx, eax
mov eax, dword [esi + 0x18]
cmp ebx, 0xc
je 0x5235e1
mov edx, ebx
and eax, 0xfffffffc
sar edx, 2
mov dword [esi + 0x18], eax
imul edx, edx, 0xaaaaaaab
cmp eax, 3
ja 0x52360c
mov dword [esp + 0x1c], edx
jmp 0x523612
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call fcn.00524430
sub esp, 4
movzx eax, byte [esp + 0x44]
lea ebx, [esp + 0x8c]
test al, al
jne 0x5233a2
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov edx, eax
and edx, 0xfffffffc
cmp eax, 3
jbe 0x523752
mov esi, dword [edx]
mov eax, edx
test esi, esi
je 0x523752
mov esi, dword [esp + 0x10]
mov ebx, 0xc
mov dword [esi + 0x18], edx
mov edx, 1
mov dword [esp + 0x1c], edx
add edx, dword [eax]
mov dword [esp], edx
mov ecx, ebp
mov dword [esp + 4], 1
call fcn.00523dd0
sub esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx]
shl eax, 5
lea ecx, [edx + eax + 8]
test ebx, ebx
jle 0x5232c9
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], 0
lea edi, [esp + 0x80]
add eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jmp 0x5236c7
test edx, edx
je 0x523686
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [esp + 0x48]
xor ebx, ebx
add dword [esp + 0x14], 1
add ecx, 0x20
add edi, 0xc
mov dword [ecx - 0x1c], edx
mov word [eax + edx*2], bx
mov eax, esi
movzx esi, al
mov eax, dword [esp + 0x18]
mov dword [ecx - 8], esi
mov esi, dword [esp + 0x1c]
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
add dword [eax], 1
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x5232c9
mov ebp, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebx, dword [edi]
add eax, ebp
sub eax, esi
movzx esi, byte [edi + 8]
sar eax, 1
mov dword [esp + 0x18], eax
lea eax, [ecx + 8]
mov dword [ecx], eax
test ebp, ebp
jne 0x5236f3
test ebx, ebx
jne 0x5237b0
add ebx, ebx
mov edx, ebx
sar edx, 1
mov dword [esp + 0x48], edx
cmp ebx, 0xe
ja 0x523720
cmp edx, 1
jne 0x523668
movzx edx, word [ebp]
mov word [eax], dx
jmp 0x523686
lea eax, [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
call fcn.005751b0
sub esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [ecx], eax
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x2c]
jmp 0x523702
movzx eax, byte [esp + 0x88]
mov esi, dword [esp + 0x10]
or eax, edx
mov dword [esi + 0x18], eax
jmp 0x5232c9
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], eax
and eax, 0xfffffffc
mov dword [esi + 0x18], eax
cmp eax, 3
ja 0x5237bc
mov dword [esp + 4], 1
mov ecx, ebp
mov dword [esp], 2
call fcn.00523dd0
mov edx, dword [esi + 0x18]
sub esp, 8
mov eax, dword [edx]
mov dword [esp + 0x1c], 2
shl eax, 5
lea ecx, [edx + eax + 8]
jmp 0x52363f
mov dword [esp], 0x5c30c0
call fcn.005a2590
mov edx, 2
mov ebx, 0x18
jmp 0x52360c