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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1a4]
cmp eax, dword [ecx + 8]
jbe 0x5b3b27
sub esp, 0x224
mov ecx, dword [esp + 0x228]
movzx edx, byte [ecx + 0x295]
test dl, dl
je 0x5b37b3
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00461314
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x605ea0]
cmp edx, ebx
jne 0x5b3b10
lea edi, [esp + 0x11c]
call fcn.00461608
mov eax, dword [esp + 0x154]
jmp 0x5b37e6
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00461318
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x606220]
cmp edx, ebx
jne 0x5b3afa
lea edi, [esp + 0x3c]
call fcn.00461630
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x5efca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x230]
add edx, ecx
mov dword [esp + 0x28], edx
jmp 0x5b3851
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x5b3ac5
mov dword [esp + 0x2c], ecx
lea eax, [0x5efca0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x20c], eax
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
lea edx, [0x5d6a20]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5b3ab0
mov eax, dword [esp + 0x20c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x5b3a8f
mov ebx, dword [eax + 4]
cmp edx, ebx
jb 0x5b3a6e
mov eax, dword [esp + 0x228]
mov dword [esp], eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + edx]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
sub ebx, edx
mov dword [esp + 0xc], ebx
call fcn.005b34e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x5b3a59
lea edi, [esp + 0x210]
xor eax, eax
call fcn.0046134b
mov ecx, dword [esp + 0x20c]
mov edx, dword [ecx]
mov eax, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], ecx
mov dword [esp + 0x218], ebx
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x220], esi
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x104]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x100]
mov esi, ecx
mov ecx, dword [ecx + 0x108]
cmp ecx, ebx
jae 0x5b3a00
lea eax, [0x5f0360]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x108], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5b39e8
mov dword [ebx + 0x100], eax
jmp 0x5b39f3
lea edi, [ebx + 0x100]
call fcn.004610d0
mov esi, ebx
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x20c]
lea ecx, [edx + 1]
mov dword [esi + 0x104], ecx
mov ecx, dword [0x7e1c20]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*4]
test ecx, ecx
jne 0x5b3a28
lea esi, [esp + 0x210]
call fcn.0046182e
jmp 0x5b3a4c
lea eax, [0x5f0360]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x210]
mov dword [esp + 8], eax
call fcn.004100e0
mov eax, dword [esp + 0x20c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5b3842
jmp 0x5b3ac5
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [0x7bb100]
mov ecx, dword [0x7bb104]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov eax, dword [0x7bb0f8]
mov ecx, dword [0x7bb0fc]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [esp + 0x228]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x5b3add
mov byte [eax + 0x2a0], 1
mov dword [esp + 0x234], 0
mov dword [esp + 0x238], 0
add esp, 0x224
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
nop
call fcn.0045fcc0
jmp fcn.005b3740