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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1d4]
cmp eax, dword [ecx + 8]
jbe 0x5b9e9d
sub esp, 0x254
lea eax, [0x621600]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
lea ecx, [0x629940]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
mov ecx, dword [esp + 0x258]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5b98ed
nop
movzx ebp, byte [0x825e48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b98b3
mov dword [0x825e4c], edx
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x5b98a2
mov dword [0x825e50], ebx
jmp 0x5b98b3
lea edi, [0x825e50]
mov ebp, eax
mov eax, ebx
call fcn.0045e940
mov eax, ebp
mov dword [esp + 0x24c], edx
mov dword [esp + 0x250], ebx
mov edx, dword [esp + 0x24c]
test edx, edx
je 0x5b98e5
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b98f3
or ebp, 0x80
jmp 0x5b98f3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b98f3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004aff30
cmp dword [esp + 0xc], 0x29
jle 0x5b9b52
mov eax, dword [esp + 0x23c]
mov dword [esp], eax
mov eax, dword [esp + 0x238]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x29
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 0x5b9985
cmp eax, 7
jne 0x5b9969
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b99ab
cmp eax, 8
jne 0x5b9975
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5b99ab
cmp eax, 9
jne 0x5b9e62
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5b99ab
cmp eax, 0xa
jne 0x5b9990
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b99ab
cmp eax, 0xb
jne 0x5b999e
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5b99ab
cmp eax, 0xc
jne 0x5b9e62
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5b9b40
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x258]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5b9a0c
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045eb88
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x635900]
cmp ecx, ebx
jne 0x5b9e4c
lea edi, [esp + 0x68]
call fcn.0045eea0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
sub ecx, eax
jmp 0x5b9a47
lea edi, [esp + 0x148]
xor eax, eax
call fcn.0045eb84
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x6353c0]
cmp ecx, ebx
jne 0x5b9e36
lea edi, [esp + 0x148]
call fcn.0045ee78
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x244]
call fcn.0045f094
lea ecx, [0x629940]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x629940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x5fda60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b9b2e
mov edi, dword [esp + 0x240]
mov esi, dword [esp + 0x244]
call fcn.0045f094
mov eax, dword [esp + 0x244]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5b9b64
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5b9b64
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
xor ebp, ebp
jmp 0x5b9d39
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5b9bde
mov edx, dword [eax + 0x14]
test edx, edx
je 0x5b9bde
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x619d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x5b9c31
mov eax, dword [esp + 0x240]
mov dword [esp + 0x25c], eax
add esp, 0x254
ret
lea esi, [edx + 1]
mov dword [ecx + 0x28], esi
mov esi, dword [esp + 0x248]
mov edi, dword [esi]
mov eax, ebp
lea ebp, [ebp + edx*8]
mov esi, dword [esi + 4]
mov dword [ebp], edi
lea ebp, [eax + edx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + eax]
mov ebp, dword [esp + 0x244]
mov ecx, ebp
mov ebp, dword [ecx + 0x14]
test eax, eax
je 0x5b9d13
mov dword [esp + 0x2c], edx
mov esi, eax
mov eax, ebp
xor edx, edx
div esi
cmp ebx, eax
jae 0x5b9bde
mov dword [esp + 0x38], ebx
lea eax, [0x619d40]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x248], eax
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x5fe0e0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], ebp
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b9bde
mov ecx, dword [esp + 0x240]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x5b9bf3
lea eax, [0x619d40]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b9d00
mov dword [ebx + 0x24], eax
jmp 0x5b9d08
lea edi, [ebx + 0x24]
call fcn.0045e940
mov edx, ecx
mov ebp, eax
mov ecx, ebx
jmp 0x5b9bf3
call fcn.00432a40
mov ebx, esi
inc esi
mov dword [ecx + 0x1c], esi
mov dword [edx + ebx*4], edi
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
add eax, 4
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
mov esi, dword [edx + 0xc]
shr esi, 2
cmp ebp, esi
jae 0x5b9e1c
mov esi, dword [ebx + 0x2ac]
add esi, 0xfffffffc
cmp eax, esi
jbe 0x5b9d5e
mov esi, dword [0x8256f8]
xor edi, edi
jmp 0x5b9d9a
mov esi, dword [ebx + 0x28c]
mov edi, dword [ebx + 0x288]
mov ebx, dword [ebx + 0x290]
cmp eax, esi
ja 0x5b9e2f
sub esi, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp esi, 3
jbe 0x5b9e23
mov ebx, dword [edi + ebx]
xor esi, esi
mov edi, ebx
mov ebx, dword [esp + 0x258]
test esi, esi
jne 0x5b9e1c
mov dword [esp + 0x3c], ebp
mov esi, dword [ecx + 0x1c]
lea ebx, [esi + 1]
mov edx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x20]
cmp ebp, ebx
jae 0x5b9d18
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
lea eax, [0x60c940]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x20], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b9e01
mov dword [ebx + 0x18], eax
jmp 0x5b9e09
lea edi, [ebx + 0x18]
call fcn.0045e940
mov edi, dword [esp + 0x28]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
jmp 0x5b9d18
mov eax, edx
jmp 0x5b9b64
mov eax, 3
mov ecx, esi
call fcn.0045e9c0
mov ecx, esi
call fcn.0045ea30
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], ebx
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.005b9810