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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5f0970
sub esp, 0x334
lea eax, [0x6903a0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00409120
mov eax, dword [esp + 8]
lea ecx, [0x6903a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c26e0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004630eb
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
lea edx, [0x667fa0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x33c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
call fcn.005e0ce0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5effdf
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x340]
cmp esi, ebp
jb 0x5effbe
mov esi, dword [esp + 0x33c]
mov eax, esi
add esi, ebp
mov ecx, ebx
mov ebx, dword [esp + 0x338]
cmp dword [ebx + 0x2ac], esi
jb 0x5eff9d
test ebp, ebp
je 0x5eff7c
mov byte [ebx + 0x29f], 1
mov ebp, dword [ecx]
movzx esi, word [ecx + 4]
mov edx, esi
movzx esi, word [ecx + 6]
mov dword [ebx + 0x18c], ebp
mov word [ebx + 0x190], dx
mov word [ebx + 0x192], si
mov edx, dword [ebx + 0x290]
mov ebp, dword [ebx + 0x288]
mov esi, dword [esp + 0x48]
add esi, eax
mov edi, ebp
mov ebp, dword [ecx]
lea ecx, [ebp + eax]
cmp edx, ecx
jb 0x5f096a
cmp ecx, esi
jb 0x5f0963
sub ecx, esi
mov dword [ebx + 0x198], ecx
sub edx, esi
mov dword [ebx + 0x19c], edx
mov ebp, dword [0x112f780]
mov eax, edx
neg edx
sar edx, 0x1f
and esi, edx
lea edx, [edi + esi]
test ebp, ebp
jne 0x5eff66
mov dword [ebx + 0x194], edx
jmp 0x5f000d
lea edi, [ebx + 0x194]
mov ebp, eax
mov eax, edx
call fcn.00462e70
mov eax, ebp
jmp 0x5f000d
mov eax, dword [0x1108560]
mov ecx, dword [0x1108564]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x1108558]
mov ecx, dword [0x110855c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x1108558]
mov ecx, dword [0x110855c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x1108558]
mov ecx, dword [0x110855c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov ebx, dword [esp + 0x68]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005cad40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x5f0849
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x28], 1
je 0x5f0043
xor ecx, ecx
jmp 0x5f00a6
lea edi, [esp + 0x284]
xor eax, eax
call fcn.004630c4
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x24]
test edx, edx
jbe 0x5f095a
lea edi, [esp + 0x284]
call fcn.00463448
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
lea esi, [esp + 0x288]
call fcn.0046359c
call fcn.005cd270
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x5f080d
mov dword [esp + 0x54], ecx
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.004630de
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x5c]
mov dword [esp], edx
call fcn.00527790
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x58], edx
lea ebx, [0x678460]
mov dword [esp], ebx
shl ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b6a0
mov ecx, dword [esp + 0xc]
nop
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
xor eax, eax
xor esi, esi
jmp 0x5f086e
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044f270
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xec], ecx
lea esi, [eax + 0x16c]
lea edi, [esp + 0xcc]
call fcn.004635ce
lea esi, [eax + 0x158]
lea edi, [esp + 0xb8]
call fcn.004635ce
lea esi, [eax + 0x60]
lea edi, [esp + 0x16c]
call fcn.004634ca
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5f0199
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
jmp 0x5f019d
xor edx, edx
xor ecx, ecx
mov ebx, dword [esp + 0x19c]
mov ebp, dword [esp + 0x1a0]
test ebp, ebp
je 0x5f01ee
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x6b11b4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044f060
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x190]
mov ebp, dword [esp + 0x194]
test ebp, ebp
je 0x5f023f
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x6b11b4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044f060
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x5f028c
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x6b11b4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044f060
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c8]
mov ebx, dword [esp + 0x1cc]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x6b11b4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044f060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x54]
lea esi, [eax + 0xdc]
lea edi, [esp + 0xf0]
call fcn.004634ca
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
test ecx, ecx
je 0x5f030d
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x5f0311
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
test ebx, ebx
je 0x5f035e
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6b11b4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044f060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x118]
test ebx, ebx
je 0x5f03ab
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6b11b4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044f060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x5f03f8
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6b11b4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044f060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x150]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6b11b4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.0044f060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x338]
mov byte [eax + 0x2ab], 1
mov ecx, dword [eax + 0x2bc]
movzx ecx, byte [ecx + 0xc]
test cl, cl
je 0x5f046a
xor ecx, ecx
jmp 0x5f049c
call fcn.005f0980
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5f047e
xor eax, eax
jmp 0x5f049a
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005cb500
mov eax, dword [esp + 8]
test eax, eax
setne al
xor eax, 1
mov ecx, eax
mov byte [esp + 0x3b], cl
lea edi, [esp + 0x94]
xor eax, eax
call fcn.004630eb
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005f13e0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea edi, [esp + 0x94]
lea esi, [esp + 0xc]
call fcn.004635ce
lea edi, [esp + 0x80]
lea esi, [esp + 0x94]
call fcn.004635ce
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5f0571
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test edx, edx
je 0x5f051c
mov edx, dword [edx + 4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x338]
mov ecx, dword [eax + 0x2c0]
mov dword [esp], ecx
lea ecx, [0x6c3efc]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x28
lea edx, [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00521770
mov ecx, dword [esp + 0x338]
xor eax, eax
jmp 0x5f0628
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2bc]
movzx edx, byte [edx + 0xd]
test dl, dl
je 0x5f058d
xor eax, eax
jmp 0x5f0628
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004c5bf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005ef520
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jbe 0x5f093f
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x8c], ecx
je 0x5f060c
xor eax, eax
jmp 0x5f0621
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00402990
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xe8], edx
lea edi, [esp + 0x1e8]
mov edx, eax
xor eax, eax
call fcn.004630c9
lea edi, [esp + 0x1e8]
mov esi, dword [esp + 0x5c]
call fcn.00463574
lea edi, [esp + 0x220]
lea esi, [esp + 0x80]
call fcn.004635ce
mov byte [esp + 0x234], dl
lea edi, [esp + 0x238]
lea esi, [esp + 0xa8]
call fcn.0046354c
movzx ecx, byte [esp + 0x3b]
mov byte [esp + 0x280], cl
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x1a4]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x1a0]
mov esi, ecx
mov ecx, dword [ecx + 0x1a8]
cmp ecx, ebx
jae 0x5f070d
lea eax, [0x6973e0]
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.0044b8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x338]
mov dword [ebx + 0x1a8], edx
mov edx, dword [0x112f780]
test edx, edx
jne 0x5f06fa
mov dword [ebx + 0x1a0], eax
jmp 0x5f0705
lea edi, [ebx + 0x1a0]
call fcn.00462e70
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x1a4], ecx
mov ecx, dword [0x112f780]
imul edx, edx, 0x9c
lea edi, [ebp + edx]
test ecx, ecx
jne 0x5f0738
lea esi, [esp + 0x1e8]
call fcn.0046347a
jmp 0x5f0755
lea eax, [0x6973e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x1e8]
mov dword [esp + 8], eax
call fcn.00410b70
lea eax, [0x6970e0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
lea ecx, [0x672420]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax], 1
mov dword [eax + 4], 3
mov dword [eax + 8], 6
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 0x137
mov dword [eax + 0x1c], 2
mov dword [eax + 0x20], 4
mov dword [eax + 0x24], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0xa
lea eax, [0x665520]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
call fcn.005cbf40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x5f0000
jmp 0x5f08ba
lea eax, [0x6828e0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6c1497]
mov dword [eax], ecx
lea ecx, [0x72a21c]
mov dword [esp + 0x344], ecx
mov dword [esp + 0x348], eax
add esp, 0x334
ret
mov dword [esp + 0x344], edx
mov dword [esp + 0x348], ebx
add esp, 0x334
ret
mov byte [esi + ecx + 1], dl
inc eax
add esi, 2
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
cmp eax, edx
jge 0x5f0115
movzx edi, byte [eax + ebp]
xchg edi, eax
mov byte [esp + 0x3a], al
xchg edi, eax
xchg edi, eax
shr al, 4
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
lea ebp, [0x6b73d6]
movzx edi, byte [ebp + edi]
cmp esi, ebx
jae 0x5f0951
xchg edi, eax
mov byte [ecx + esi], al
xchg edi, eax
lea edi, [esi + 1]
movzx edx, byte [esp + 0x3a]
and edx, 0xf
movzx edx, byte [edx + ebp]
cmp ebx, edi
ja 0x5f085e
jmp 0x5f0948
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
lea eax, [0x68a5e0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax], 0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
lea ebx, [0x67e8e0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0046a970
movzx eax, byte [esp + 0x10]
test al, al
je 0x5f0922
mov dword [esp + 0x344], 0
mov dword [esp + 0x348], 0
add esp, 0x334
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x344], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x348], eax
add esp, 0x334
ret
xor eax, eax
mov ecx, eax
call fcn.00462ef0
mov eax, edi
mov ecx, ebx
call fcn.00462ef0
mov eax, esi
mov ecx, ebx
call fcn.00462ef0
xor eax, eax
mov ecx, eax
call fcn.00462ef0
mov eax, esi
call fcn.00462f60
call fcn.00462f40
nop
call fcn.00461a60
jmp fcn.005efde0