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

Disassembly:
sub esp, 0xc0
push ebp
mov ebp, ecx
push esi
mov esi, dword [ebp + 0x30]
call fcn.004cf280
cmp esi, dword [eax + 0x30]
jne 0x52bd2f
mov eax, dword [ebp + 0x60]
push ebx
mov ebx, dword [ebp + 0x5c]
push edi
push 0
mov edi, eax
push edi
push ebx
mov ecx, ebx
push 2
push 0x2191e8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
call fcn.0053eff0
push 0
lea edx, [edi + 0x5e]
push edx
lea eax, [ebx + 0xed]
push eax
push 0
push 0x9c40
call fcn.0053eff0
mov eax, dword [ebp + 0x94]
add esp, 0x28
cmp eax, 6
push 0
jne 0x52b869
mov eax, dword [ebp + 0x118]
cmp eax, 6
jne 0x52b84a
lea eax, [edi + 0x28]
push eax
lea ecx, [ebx + 0x87]
push ecx
push 0x1c
jmp 0x52b875
cmp eax, 5
lea eax, [edi + 0x28]
push eax
jne 0x52b85e
lea edx, [ebx + 0x87]
push edx
push 0x1b
jmp 0x52b875
lea eax, [ebx + 0x87]
push eax
push 6
jmp 0x52b875
lea ecx, [edi + 0x28]
push ecx
lea ecx, [ebx + 0x87]
push ecx
push eax
push 0xe30d1
call fcn.0053eff0
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov eax, 0x82
mov ecx, 0x55
mov dword [esp + 0x80], edx
mov edx, 0x3f
mov dword [esp + 0xac], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x7f4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov esi, 0x53
mov dword [esp + 0xbc], ecx
mov edx, 0x67
mov dword [esp + 0xd4], ecx
mov ecx, 0x7b
add esp, 0x14
cmp eax, 0x31999
mov dword [esp + 0x50], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xcc], ecx
jae 0x52b9a8
cmp eax, 0x2ffff
jbe 0x52b9a3
lea eax, [ebp + 0x2d8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
nop
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x50], ecx
inc eax
add edx, 8
cmp eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x52b960
jmp 0x52badf
cmp eax, 0x31999
jbe 0x52b9b5
cmp eax, 0x34000
jb 0x52bae3
mov eax, dword [ebp + 0x5a0]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5a8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x78], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5b0]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x7c], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5b8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x80], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5c0]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x84], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5c8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x88], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5d0]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x8c], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [ebp + 0x5d8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x90], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ecx
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0xe
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], 0x12
mov dword [esp + 0x38], 0x16
mov dword [esp + 0x3c], 0xa
xor esi, esi
jmp 0x52bb30
mov ebx, dword [esp + 0x18]
jmp 0x52bb30
mov edx, dword [esp + esi*8 + 0x90]
mov ecx, dword [esp + esi*8 + 0x94]
add ebx, edx
lea eax, [ebx - 0x14]
mov dword [esp + 0x14], eax
lea eax, [ecx + edi]
mov dword [esp + 0x40], eax
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
mov eax, dword [esp + esi*4 + 0x50]
cdq
xor eax, edx
sub eax, edx
push eax
lea edx, [esp + 0x74]
push str._02d
push edx
call fcn.0055e68c
mov ecx, dword [esp + 0x4c]
push 7
push 2
lea eax, [esp + 0x84]
push eax
push 0x1f
push 0x32
push ecx
push ebx
call fcn.0053f0b0
add esp, 0x28
test esi, esi
push 0
jne 0x52bbb6
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x52bba8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push 9
jmp 0x52bbce
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 8
jmp 0x52bbce
mov eax, dword [esp + esi*4 + 0x54]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + esi*4 + 0x24]
test eax, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
jl 0x52bbcd
inc edx
push edx
push 0xe30d1
call fcn.0053eff0
add esp, 0x14
inc esi
cmp esi, 8
jl 0x52bb27
mov eax, dword [ebp + 0x118]
cmp eax, 5
push 0
lea ebx, [ebp + 0x98]
lea esi, [edi + 0x28]
push ebx
push esi
jne 0x52bc1e
mov eax, dword [esp + 0x24]
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0053ef40
mov eax, dword [esp + 0x20]
push 0xd73f
push ebx
push esi
push eax
jmp 0x52bc5f
cmp eax, 6
mov eax, dword [esp + 0x24]
jne 0x52bc44
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0053ef40
mov ecx, dword [esp + 0x20]
push 0xfe1c
push ebx
push esi
push ecx
jmp 0x52bc5f
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0053ef40
mov edx, dword [esp + 0x20]
push 0xffff
push ebx
push esi
push edx
call fcn.0053ee90
mov esi, dword [esp + 0x38]
add esp, 0x20
push 0x62e8
lea ebx, [ebp + 0x11c]
lea eax, [edi + 0x95]
push ebx
push eax
add esi, 0x71
push esi
call fcn.0053ef40
push 0xffff
push ebx
lea eax, [edi + 0x95]
push eax
push esi
call fcn.0053ee90
mov ecx, dword [ebp + 0x1c0]
mov eax, dword [esp + 0x38]
add esp, 0x20
push 0x62e8
add ecx, 0x7a148
push ecx
add eax, 0x70
push 0x897640
lea ebx, [edi + 0xa9]
mov dword [esp + 0x20], eax
call fcn.0044dea0
mov edx, dword [esp + 0x18]
push eax
push ebx
push edx
call fcn.0053ef40
mov eax, dword [ebp + 0x1c0]
add esp, 0x10
push 0xffff
add eax, 0x7a148
push eax
push 0x897640
call fcn.0044dea0
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
call fcn.0053ee90
add esp, 0x10
add edi, 0xbe
add ebp, 0x15c
mov ebx, 3
push 0x62e8
push ebp
push edi
push esi
call fcn.0053ee90
add esp, 0x10
add ebp, 0x20
add edi, 0xd
dec ebx
jne 0x52bd14
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc0
ret