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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x5b8529
sub esp, 0x10c
mov eax, dword [esp + 0x110]
mov dword [esp], eax
call fcn.005b73e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5b7d39
mov dword [esp + 0xa4], eax
test eax, eax
je 0x5b7ccd
mov ecx, dword [eax]
jmp 0x5b7ccf
xor ecx, ecx
mov dword [esp + 0x58], ecx
lea eax, [0x5f0240]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00461344
lea ecx, [0x5e6560]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 8], ecx
call fcn.0040cfb0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x58]
xor edx, edx
jmp 0x5b7d8e
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
add esp, 0x10c
ret
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebp
lea eax, [esp + 0xdc]
mov dword [esp], eax
call fcn.0040d1e0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x54], edx
mov dword [esp + 0xa0], eax
mov ebx, dword [esp + 0xdc]
test ebx, ebx
je 0x5b7ef2
mov dword [esp + 0x58], ecx
mov ebp, dword [esp + 0xe0]
mov ebp, dword [ebp]
mov dword [esp + 0x8c], ebp
mov esi, dword [ebx]
mov dword [esp + 0xa8], esi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x5c], ebx
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0046134a
lea ecx, [0x60d185]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 8
lea ecx, [0x6110f6]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 0x11
lea ecx, [0x60d5aa]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 9
xor edi, edi
jmp 0x5b84d3
mov eax, dword [esp + 0x7c]
cmp eax, 3
mov eax, 0
lea ecx, [0x60d5aa]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x8c]
jge 0x5b7ede
lea ebx, [edx + 1]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
mov edi, dword [esp + 0x58]
cmp edi, ebx
jae 0x5b7eb7
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], esi
lea eax, [0x5f0240]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
lea ecx, [0x60d5aa]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [esp + 0xa0], eax
mov edi, edx
xor eax, eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov ebx, dword [esp + 0xa0]
lea edi, [ebx + edx*8]
mov dword [edi], esi
lea esi, [ebx + edx*8 + 4]
mov dword [esi], ebp
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
jmp 0x5b7d61
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0xa0]
jmp 0x5b7d61
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004091d0
mov eax, dword [esp + 0xc]
lea ecx, [0x668a84]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00487cf0
lea eax, [0x5d79e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x54]
xor ebp, ebp
jmp 0x5b7f57
mov eax, esi
mov esi, dword [esp + 0x7c]
inc esi
mov edx, edi
mov ebx, dword [esp + 0x48]
mov ebp, ecx
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x54]
cmp ecx, esi
jge 0x5b8053
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx*8]
mov ebx, dword [edx]
mov dword [esp + 0x78], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x74], edx
lea ebp, [0x5f0180]
mov dword [esp], ebp
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
jb 0x5b7fc8
mov esi, dword [esp + 0x9c]
jmp 0x5b8016
mov dword [esp + 0xbc], eax
lea eax, [0x5d79e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc ecx
mov edx, dword [esp + 0x44]
mov esi, eax
mov ebp, ebx
mov eax, dword [esp + 0xbc]
mov ebx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], ebp
mov edi, ebx
mov ebx, dword [0x7e1c20]
lea ebp, [esi + edx*4]
mov dword [esp + 0xb8], ebp
mov ebp, dword [esp + 0x74]
add ecx, ebp
test ebx, ebx
jne 0x5b803e
mov dword [esi + edx*4], eax
jmp 0x5b7f46
mov edx, edi
mov edi, dword [esp + 0xb8]
call fcn.004610d0
mov edi, edx
jmp 0x5b7f46
lea eax, [0x5f0180]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 0x2ac]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
jb 0x5b8093
mov ebp, dword [esp + 0x9c]
jmp 0x5b80de
mov dword [esp + 0xbc], eax
lea eax, [0x5d79e0]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x44]
mov ebp, eax
mov eax, dword [esp + 0xbc]
mov esi, dword [0x7e1c20]
lea edi, [ebp + edx*4]
test esi, esi
jne 0x5b80f2
mov dword [ebp + edx*4], eax
jmp 0x5b80f7
call fcn.004610d0
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x44], ebx
mov eax, dword [ecx + 0x2b8]
test eax, eax
je 0x5b8117
lea ecx, [0x6683b0]
jmp 0x5b81a1
mov eax, dword [ecx + 0x288]
mov dword [esp + 0xb0], eax
mov edx, dword [ecx + 0x28c]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 0x290]
mov dword [esp + 0x68], ecx
lea ebx, [0x5f4d20]
mov dword [esp], ebx
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 8], eax
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x5b816d
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
jmp 0x5b8179
mov eax, dword [esp + 0xb0]
call fcn.004610d0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x9c]
mov eax, edi
lea ecx, [0x6681bc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x118]
mov esi, dword [esp + 0x114]
xor edi, edi
jmp 0x5b81ca
inc edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
cmp edi, ebx
jge 0x5b81f6
mov dword [esp + 0x7c], edi
mov eax, dword [ebp + edi*4]
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
jmp 0x5b83f6
xor eax, eax
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
jmp 0x5b821d
mov eax, edi
mov edi, dword [esp + 0x7c]
inc edi
mov edx, dword [esp + 0x118]
mov ecx, ebp
mov ebx, esi
mov ebp, eax
mov esi, dword [esp + 0x114]
mov eax, edi
cmp edx, eax
jle 0x5b830e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x30], ecx
lea ecx, [esi + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x34]
cmp esi, ebp
jb 0x5b8284
mov edi, dword [esp + 0x94]
jmp 0x5b82de
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0xb4], eax
lea eax, [0x5dd940]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov edi, ebp
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x30]
lea ebx, [ebx + ebx*2]
mov dword [edi + ebx*4 + 4], ecx
mov dword [edi + ebx*4 + 8], edx
mov ecx, dword [0x7e1c20]
lea edx, [edi + ebx*4]
test ecx, ecx
jne 0x5b82fe
mov dword [edi + ebx*4], eax
jmp 0x5b8200
mov ecx, edi
mov edi, edx
call fcn.004610d0
mov edi, ecx
jmp 0x5b8200
mov dword [esp + 0x120], ebp
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ebx
add esp, 0x10c
ret
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1c], ecx
lea ecx, [0x5eb460]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
call fcn.00409250
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
lea eax, [0x668310]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0048a890
nop
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x70]
inc eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x118]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x70]
cmp edx, ecx
jle 0x5b81be
mov ebp, dword [eax]
mov dword [esp + 0x4c], ebp
mov ebx, dword [eax + 4]
mov dword [esp + 0x78], ebx
sub ebx, ebp
mov edi, 0xffffffff
sub edi, ebx
mov eax, dword [esp + 0x78]
sub eax, ebp
mov eax, 0
sbb eax, 0
mov dword [esp + 0x50], eax
mov edx, 0xffffffff
sub edx, ebx
mov edx, 0x7fffffff
sbb edx, eax
test edx, edx
setg dl
sete al
cmp edi, ebp
xchg edi, ebx
setae bl
xchg edi, ebx
lea esi, [esi + ecx*8]
mov ecx, dword [esi]
mov dword [esp + 0x60], ecx
mov esi, dword [esi + 4]
mov dword [esp + 0xac], esi
and eax, edi
or edx, eax
test dl, dl
je 0x5b846f
add ebx, ebp
mov eax, dword [esp + 0x50]
adc eax, 0
jmp 0x5b8479
mov eax, 0x7fffffff
mov ebx, 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
lea ecx, [0x5f9080]
mov dword [esp], ecx
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5b84b2
mov edx, dword [esp + 0x98]
mov dword [eax + 4], edx
jmp 0x5b832a
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x98]
call fcn.004610d0
mov eax, edx
jmp 0x5b832a
inc edi
xor eax, eax
lea ecx, [0x60d5aa]
cmp edi, 3
jge 0x5b7e47
lea ecx, [esp + edi*8 + 0xc4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
cmp eax, ebx
jne 0x5b84ca
mov dword [esp + 0x7c], edi
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b7e2a
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x7c]
jmp 0x5b84ca
call fcn.0045fcc0
jmp fcn.005b7c80