Function at 0x537284
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.004d3b30
cmp esi, dword [eax + 0x30]
jne 0x53779f
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.0054b850
push 0
lea edx, [edi + 0x5e]
push edx
lea eax, [ebx + 0xed]
push eax
push 0
push 0x9c40
call fcn.0054b850
mov eax, dword [ebp + 0x94]
add esp, 0x28
cmp eax, 6
push 0
jne 0x5372d9
mov eax, dword [ebp + 0x118]
cmp eax, 6
jne 0x5372ba
lea eax, [edi + 0x28]
push eax
lea ecx, [ebx + 0x87]
push ecx
push 0x1c
jmp 0x5372e5
cmp eax, 5
lea eax, [edi + 0x28]
push eax
jne 0x5372ce
lea edx, [ebx + 0x87]
push edx
push 0x1b
jmp 0x5372e5
lea eax, [ebx + 0x87]
push eax
push 6
jmp 0x5372e5
lea ecx, [edi + 0x28]
push ecx
lea ecx, [ebx + 0x87]
push ecx
push eax
push 0xe30d1
call fcn.0054b850
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 0x537418
cmp eax, 0x2ffff
jbe 0x537413
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.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
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 0x5373d0
jmp 0x53754f
cmp eax, 0x31999
jbe 0x537425
cmp eax, 0x34000
jb 0x537553
mov eax, dword [ebp + 0x5a0]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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.004d3720
mov esi, eax
call fcn.004031f0
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 0x5375a0
mov ebx, dword [esp + 0x18]
jmp 0x5375a0
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.0056aefc
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.0054b910
add esp, 0x28
test esi, esi
push 0
jne 0x537626
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x537618
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push 9
jmp 0x53763e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 8
jmp 0x53763e
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 0x53763d
inc edx
push edx
push 0xe30d1
call fcn.0054b850
add esp, 0x14
inc esi
cmp esi, 8
jl 0x537597
mov eax, dword [ebp + 0x118]
cmp eax, 5
push 0
lea ebx, [ebp + 0x98]
lea esi, [edi + 0x28]
push ebx
push esi
jne 0x53768e
mov eax, dword [esp + 0x24]
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0054b7f0
mov eax, dword [esp + 0x20]
push 0xd73f
push ebx
push esi
push eax
jmp 0x5376cf
cmp eax, 6
mov eax, dword [esp + 0x24]
jne 0x5376b4
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0054b7f0
mov ecx, dword [esp + 0x20]
push 0xfe1c
push ebx
push esi
push ecx
jmp 0x5376cf
add eax, 0x9e
push eax
mov dword [esp + 0x20], eax
call fcn.0054b7f0
mov edx, dword [esp + 0x20]
push 0xffff
push ebx
push esi
push edx
call fcn.0054b790
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.0054b7f0
push 0xffff
push ebx
lea eax, [edi + 0x95]
push eax
push esi
call fcn.0054b790
mov ecx, dword [ebp + 0x1c0]
mov eax, dword [esp + 0x38]
add esp, 0x20
push 0x62e8
add ecx, 0x7a148
push ecx
add eax, 0x70
push 0x8a3708
lea ebx, [edi + 0xa9]
mov dword [esp + 0x20], eax
call fcn.0044ee40
mov edx, dword [esp + 0x18]
push eax
push ebx
push edx
call fcn.0054b7f0
mov eax, dword [ebp + 0x1c0]
add esp, 0x10
push 0xffff
add eax, 0x7a148
push eax
push 0x8a3708
call fcn.0044ee40
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
call fcn.0054b790
add esp, 0x10
add edi, 0xbe
add ebp, 0x15c
mov ebx, 3
push 0x62e8
push ebp
push edi
push esi
call fcn.0054b790
add esp, 0x10
add ebp, 0x20
add edi, 0xd
dec ebx
jne 0x537784
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc0
ret