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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2ac]
cmp eax, dword [ecx + 8]
jbe 0x5b97f8
sub esp, 0x32c
lea eax, [0x619560]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x318], eax
mov ecx, dword [esp + 0x330]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5b9094
nop
movzx ebp, byte [0x825e48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b905a
mov dword [0x825e4c], edx
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x5b9049
mov dword [0x825e50], ebx
jmp 0x5b905a
lea edi, [0x825e50]
mov ebp, eax
mov eax, ebx
call fcn.0045e940
mov eax, ebp
mov dword [esp + 0x324], edx
mov dword [esp + 0x328], ebx
mov edx, dword [esp + 0x324]
test edx, edx
je 0x5b908c
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b909a
or ebp, 0x80
jmp 0x5b909a
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b909a
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x28
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x44], eax
cmp eax, 9
ja 0x5b90ed
cmp eax, 7
jne 0x5b90d1
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b9111
cmp eax, 8
jne 0x5b90dd
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b9111
cmp eax, 9
jne 0x5b97bd
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b9111
cmp eax, 0xa
jne 0x5b90f8
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b9111
cmp eax, 0xb
jne 0x5b9104
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b9111
cmp eax, 0xc
jne 0x5b97bd
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
sete dl
test ecx, ecx
sete cl
and ecx, edx
test cl, cl
jne 0x5b95c2
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x330]
movzx edx, byte [ecx + 0x294]
test dl, dl
je 0x5b9286
lea eax, [0x630e20]
mov dword [esp], eax
call fcn.0040b380
mov esi, dword [esp + 4]
mov dword [esp + 0x310], esi
lea edi, [esp + 0x48]
call fcn.0045f012
lea eax, [0x630e20]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630e20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x134]
xor eax, eax
call fcn.0045eb88
mov eax, dword [esp + 0x330]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x635900]
cmp ecx, edx
jne 0x5b97a7
lea edi, [esp + 0x134]
call fcn.0045eea0
mov ecx, dword [esp + 0x150]
mov dword [esp], eax
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp + 4], edx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5fd420]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x310]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b9274
lea edi, [esp + 0x48]
mov esi, dword [esp + 0x310]
call fcn.0045f012
lea eax, [0x630e20]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630e20]
mov edx, dword [esp + 0x318]
mov dword [edx], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5b9267
mov dword [edx + 4], eax
jmp 0x5b926f
lea edi, [edx + 4]
call fcn.0045e940
jmp 0x5b93c6
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
lea eax, [0x630f00]
mov dword [esp], eax
call fcn.0040b380
mov esi, dword [esp + 4]
mov dword [esp + 0x30c], esi
lea edi, [esp + 0xe4]
call fcn.0045f008
lea eax, [0x630f00]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630f00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x214]
xor eax, eax
call fcn.0045eb84
mov eax, dword [esp + 0x330]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x6353c0]
cmp ecx, edx
jne 0x5b9791
lea edi, [esp + 0x214]
call fcn.0045ee78
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5fd460]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b95b0
lea edi, [esp + 0xe4]
mov esi, dword [esp + 0x30c]
call fcn.0045f008
lea eax, [0x630f00]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630f00]
mov edx, dword [esp + 0x318]
mov dword [edx], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5b93be
mov dword [edx + 4], eax
jmp 0x5b93c6
lea edi, [edx + 4]
call fcn.0045e940
mov ecx, dword [edx]
mov eax, dword [edx + 4]
test ecx, ecx
je 0x5b9438
nop
movzx ebx, byte [0x825e48]
test bl, bl
je 0x5b93fe
mov dword [0x825e4c], ecx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x5b93f3
mov dword [0x825e50], eax
jmp 0x5b93fe
lea edi, [0x825e50]
call fcn.0045e940
mov dword [esp + 0x31c], ecx
mov dword [esp + 0x320], eax
mov ecx, dword [esp + 0x31c]
test ecx, ecx
je 0x5b9430
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b943e
or ebx, 0x80
jmp 0x5b943e
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5b943e
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x308], eax
mov dword [esp + 0x304], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
lea edx, [0x640d39]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xa
call fcn.004aef80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004af2d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x60c940]
cmp ecx, edx
jne 0x5b977b
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x304]
mov dword [esp], ecx
mov edx, dword [esp + 0x308]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
lea ebp, [0x644950]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
call fcn.004aef80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004af2d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x60c940]
cmp ecx, edx
jne 0x5b9765
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x304]
mov dword [esp], ecx
mov ecx, dword [esp + 0x308]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
lea ecx, [0x6447d9]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0xf
call fcn.004aef80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004af2d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x60c940]
cmp ecx, edx
jne 0x5b974f
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.005b0530
mov eax, dword [esp + 8]
xor ecx, ecx
jmp 0x5b95f7
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
lea ecx, [ebx + 1]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + ebx*4]
shl ecx, 4
add ecx, eax
mov eax, edi
mov edi, ecx
mov esi, dword [esp + 0x314]
call fcn.0045f008
mov ecx, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x5b973a
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea eax, [0x62b7e0]
mov dword [esp], eax
call fcn.0040b380
mov esi, dword [esp + 4]
mov dword [esp + 0x314], esi
lea edi, [esp + 0x94]
call fcn.0045f008
lea eax, [0x62b7e0]
mov dword [esp], eax
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x62b7e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5fd4a0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x314]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b9728
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov edx, dword [esp + 0x318]
mov ebx, dword [edx + 0xc]
lea ebp, [ebx + 1]
mov esi, eax
mov eax, dword [edx + 8]
mov edi, ecx
mov ecx, dword [edx + 0x10]
cmp ecx, ebp
jae 0x5b95d4
mov dword [esp + 0x3c], edi
lea edx, [0x62b7e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x318]
mov dword [ebx + 0x10], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b970f
mov dword [ebx + 8], eax
jmp 0x5b9717
lea edi, [ebx + 8]
call fcn.0045e940
mov edx, ebx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
jmp 0x5b95d4
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
mov eax, dword [esp + 0x318]
mov dword [esp + 0x334], eax
add esp, 0x32c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
lea eax, [0x61ad60]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x646e69]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
nop
call fcn.0045d530
jmp fcn.005b8fd0