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

Disassembly:
sub esp, 0x114
mov ecx, dword [esp + 0x11c]
push ebx
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
lea eax, [esp + 0x58]
push eax
push ebp
push ecx
call fcn.00543c70
mov edx, eax
or eax, 0xffffffff
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], eax
xor eax, eax
mov ecx, 0x15
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp + 0x64]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0xb8], ecx
mov ecx, dword [ebp + 0x70]
xor ebx, ebx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [ebp + 0x78]
add esp, 0xc
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], ebx
jle 0x53b4f1
mov dword [esp + 0x50], edx
mov esi, dword [edx]
cmp esi, dword [ebp + 0xa4]
mov eax, dword [esi + 0x14]
jne 0x53b21e
test byte [ebp + 0x164], 4
jne 0x53b21e
mov eax, dword [ebp + 0xac]
cmp eax, ebx
je 0x53b4d5
cmp eax, ebx
je 0x53b236
mov edx, dword [esp + 0x14]
cmp dword [esi + 8], edx
jle 0x53b236
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x53b26a
mov ecx, dword [0x5debe0]
push eax
call dword [ecx + 0x558]
mov cl, byte [eax]
add esp, 4
cmp cl, bl
je 0x53b26a
mov edx, dword [esp + 0x68]
cmp dword [esi + 8], edx
jle 0x53b26a
mov eax, dword [esi + 0x18]
mov dword [esp + 0x78], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x20], ebx
je 0x53b293
mov edx, dword [esp + 0x1c]
cmp dword [esi + 8], edx
jle 0x53b293
cmp dword [esp + 0x74], ebx
jne 0x53b285
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x7c], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x53b2b1
mov ecx, dword [esp + 0x4c]
cmp dword [esi + 8], ecx
jle 0x53b2b1
mov dword [esp + 0x80], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x53b2cf
mov ecx, dword [esp + 0x24]
cmp dword [esi + 8], ecx
jle 0x53b2cf
mov dword [esp + 0x84], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x53b2ed
mov ecx, dword [esp + 0x64]
cmp dword [esi + 8], ecx
jle 0x53b2ed
mov dword [esp + 0x88], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x64], edx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x53b30b
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 8], ecx
jle 0x53b30b
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x38], ebx
je 0x53b32a
mov eax, dword [esp + 0x54]
cmp dword [esi + 8], eax
jle 0x53b32a
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x90], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x54], edx
cmp dword [esi + 0x40], ebx
je 0x53b349
mov eax, dword [esp + 0x34]
cmp dword [esi + 8], eax
jle 0x53b349
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x94], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x34], edx
cmp dword [esi + 0x48], ebx
je 0x53b368
mov eax, dword [esp + 0x60]
cmp dword [esi + 8], eax
jle 0x53b368
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x98], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x60], edx
cmp dword [esi + 0x50], ebx
je 0x53b387
mov eax, dword [esp + 0x3c]
cmp dword [esi + 8], eax
jle 0x53b387
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x9c], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x3c], edx
cmp dword [esi + 0x58], ebx
je 0x53b3a6
mov eax, dword [esp + 0x5c]
cmp dword [esi + 8], eax
jle 0x53b3a6
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xa0], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x60], ebx
je 0x53b3c5
mov eax, dword [esp + 0x44]
cmp dword [esi + 8], eax
jle 0x53b3c5
mov ecx, dword [esi + 0x64]
mov dword [esp + 0xa4], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x68], ebx
je 0x53b3e4
mov eax, dword [esp + 0x10]
cmp dword [esi + 8], eax
jle 0x53b3e4
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xa8], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
cmp dword [esi + 0x70], ebx
je 0x53b403
mov eax, dword [esp + 0x18]
cmp dword [esi + 8], eax
jle 0x53b403
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xac], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x18], edx
cmp dword [esi + 0x78], ebx
je 0x53b422
mov eax, dword [esp + 0x20]
cmp dword [esi + 8], eax
jle 0x53b422
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0xb0], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
cmp dword [esi + 0x80], ebx
je 0x53b447
mov eax, dword [esp + 0x28]
cmp dword [esi + 8], eax
jle 0x53b447
mov ecx, dword [esi + 0x84]
mov dword [esp + 0xb4], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x88]
cmp eax, 2
je 0x53b469
mov ecx, dword [esp + 0x30]
cmp dword [esi + 8], ecx
jle 0x53b469
mov dword [esp + 0xb8], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x8c], ebx
je 0x53b48e
mov eax, dword [esp + 0x38]
cmp dword [esi + 8], eax
jle 0x53b48e
mov ecx, dword [esi + 0x90]
mov dword [esp + 0xbc], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x38], edx
cmp dword [esi + 0x98], ebx
je 0x53b4b3
mov eax, dword [esp + 0x40]
cmp dword [esi + 8], eax
jle 0x53b4b3
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0xc0], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x94]
cmp eax, 3
je 0x53b4d5
mov ecx, dword [esp + 0x48]
cmp dword [esi + 8], ecx
jle 0x53b4d5
mov dword [esp + 0xc4], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
inc edi
add edx, 4
cmp edi, eax
mov dword [esp + 0x50], edx
jl 0x53b1fa
mov edx, dword [esp + 0x6c]
cmp edx, ebx
je 0x53b501
mov eax, dword [0x5debe0]
push edx
call dword [eax + 0x18]
add esp, 4
mov eax, dword [ebp + 0xa0]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
call dword [eax + 0x30]
mov edi, eax
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, ebx
jne 0x53b535
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x114
ret
mov eax, dword [0x5debe0]
push 0x14
call dword [eax + 0x14]
mov esi, eax
mov dword [esi], 1
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, ebx
je 0x53b5a5
push eax
call fcn.00530bb0
mov ecx, dword [eax]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x84]
add esp, 4
cmp ecx, ebx
mov eax, 4
je 0x53b58b
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xe8], 2
mov eax, 0x904
lea edx, [esp + 0xc8]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0052b1a0
add esp, 0xc
mov dword [esi + 4], eax
jmp 0x53b5a8
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0050ed80
mov edx, dword [esp + 0x88]
mov dword [esp + 0x108], eax
mov ecx, dword [edx]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x90]
add esp, 4
cmp ecx, ebx
mov eax, 0x4004
je 0x53b5f6
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xe8], 2
mov eax, 0x4904
lea edx, [esp + 0xc8]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0052b1a0
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ecx + 0x28]
add esp, 0xc
cmp eax, 1
je 0x53b624
cmp eax, 0xffffffff
lea eax, [edi + 0x10]
jne 0x53b627
mov eax, dword [edi + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [edi + 0xc], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret