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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x110]
cmp eax, dword [ecx + 8]
jbe 0x5e41c3
sub esp, 0x190
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5e38df
mov eax, dword [eax + 8]
cmp eax, 0x9eaa9ae
jne 0x5e38a9
mov eax, dword [esp + 0x198]
lea ecx, [0x666ea0]
cmp eax, ecx
jne 0x5e38d7
mov eax, dword [esp + 0x19c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5e38e5
cmp eax, 0x4b6059d3
jne 0x5e38d7
mov eax, dword [esp + 0x198]
lea ecx, [0x666c20]
cmp eax, ecx
jne 0x5e38d7
mov edx, dword [esp + 0x19c]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5e38e5
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5e38e5
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005e2290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5e3a9d
mov dword [esp + 0x154], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x194]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005e2290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5e3a67
test ebx, ebx
jne 0x5e39cb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5e39d7
mov eax, dword [0x11084e0]
mov ecx, dword [0x11084e4]
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
add esp, 0x190
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5e39e2
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x154]
jmp 0x5e39ec
test ebx, ebx
je 0x5e3a31
mov eax, edx
mov edx, ebp
mov ecx, ebx
mov dword [esp + 0x148], edx
mov dword [esp + 0x158], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x194]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x112f52c]
mov dword [esp + 0x150], edi
xor edi, edi
jmp 0x5e3b0c
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov edi, dword [esp + 0x40]
inc edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x150], ebp
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x194]
cmp ecx, edi
jbe 0x5e3fa1
mov dword [esp + 0x40], edi
lea edi, [esp + 0x168]
xor eax, eax
call fcn.004630e6
mov ecx, dword [esp + 0x40]
mov edi, ebp
lea ebp, [ecx + ecx*2]
mov dword [esp + 0x54], ebp
mov ebx, dword [edx + ebp*4]
test ebx, ebx
seta bl
mov edx, dword [edx + ebp*4 + 4]
test edx, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
sete cl
and ecx, ebx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e3dfd
and edx, 0x80000000
test edx, edx
jbe 0x5e3c4c
mov byte [esp + 0x172], 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x148]
mov ebx, dword [edx + ecx*4]
and ebx, 0xffff
mov dword [esp + 0x174], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jae 0x5e3bcb
mov ebp, dword [esp + 0x154]
mov edx, dword [ebp + ecx*4 + 4]
mov eax, dword [ebp + ecx*4]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], edx
mov eax, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], eax
xor eax, eax
mov edx, dword [esp + 0x148]
mov ebp, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jae 0x5e3bf3
mov ebp, dword [edi + ecx*4 + 4]
mov edx, dword [edi + ecx*4]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ebp
mov ecx, dword [edi + ecx*4 + 8]
mov dword [esp + 0x188], ecx
mov eax, dword [esp + 0x174]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.004a88d0
mov dword [esp], 0
lea eax, [0x6b1175]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044efc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
jmp 0x5e3ded
movzx ecx, byte [esp + 0x27]
test cl, cl
je 0x5e3ca8
mov edx, edi
lea edi, [esp + 0x58]
call fcn.004630b4
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
lea ebp, [0x6a8c40]
cmp ecx, ebp
jne 0x5e41ac
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.004633a8
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x148]
mov ebp, dword [ebx + ecx*4]
mov eax, dword [esp + 0x70]
sub ebp, eax
mov eax, dword [ebx + ecx*4 + 4]
mov esi, edx
mov edx, dword [esp + 0x74]
mov dword [ebx + ecx*4], ebp
sbb eax, edx
mov dword [ebx + ecx*4 + 4], eax
jmp 0x5e3cb5
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x148]
mov esi, edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jae 0x5e3cf1
mov ebp, dword [esp + 0x154]
mov edi, dword [ebp + ecx*4]
mov edx, dword [ebp + ecx*4 + 4]
mov dword [esp + 0x178], edi
and edx, 0x7fffffff
mov dword [esp + 0x17c], edx
mov edx, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], edx
jmp 0x5e3cf8
mov ebp, dword [esp + 0x154]
mov edx, dword [esp + 0x44]
cmp eax, edx
jae 0x5e3d26
mov edi, dword [esi + ecx*4]
mov edx, dword [esi + ecx*4 + 4]
mov dword [esp + 0x180], edi
and edx, 0x7fffffff
mov dword [esp + 0x184], edx
mov edx, dword [esi + ecx*4 + 8]
mov dword [esp + 0x188], edx
mov eax, dword [ebx + ecx*4]
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005dffc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5e41a5
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5e4199
movzx eax, word [ebx + eax]
mov word [esp + 0x170], ax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x148]
mov eax, dword [edx + eax*4]
add eax, 2
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005e0400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005dfa90
movzx eax, byte [esp + 8]
test al, al
jne 0x5e3ded
lea ecx, [0x6b30f2]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], 9
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x174]
test edx, edx
jne 0x5e3e4e
test ecx, ecx
jne 0x5e3e4e
mov ecx, dword [0x1102310]
mov dword [esp + 0x15c], ecx
mov edx, dword [0x1102314]
mov dword [esp + 0x48], edx
mov ebx, dword [esi + 0x274]
mov dword [esp + 0x30], ebx
mov ebp, dword [esi + 0x270]
mov dword [esp + 0x14c], ebp
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
jmp 0x5e4056
mov ecx, dword [esp + 0x168]
cmp dword [esp + 0x16c], 9
jne 0x5e3ecd
mov dword [esp], ecx
lea eax, [0x6b30f2]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e3ebd
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5e3e9b
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5e3e9f
jmp 0x5e3fe2
mov edx, dword [esp + 0x40]
inc ecx
xor eax, eax
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x150]
jmp 0x5e3ad3
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5e3ee5
mov ebp, dword [esp + 0x150]
jmp 0x5e3f31
lea eax, [0x69e640]
mov dword [esp], eax
mov ebp, dword [esp + 0x150]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044b8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ebp, eax
mov ebx, edx
xor eax, eax
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [0x112f780]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*8]
test edx, edx
jne 0x5e3f58
mov edx, edi
mov edi, ecx
lea esi, [esp + 0x168]
call fcn.0046359c
jmp 0x5e3f94
mov dword [esp + 0x164], ebp
mov dword [esp + 0x50], ebx
lea eax, [0x69e640]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x168]
mov dword [esp + 8], eax
call fcn.00410b70
xor eax, eax
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x164]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x5e3ad3
mov eax, dword [esp + 0x150]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
add esp, 0x190
ret
lea eax, [0x6828e0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6c435c]
mov dword [eax], ecx
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
lea ecx, [0x72a21c]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
inc ecx
mov ebp, dword [esp + 0x14c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jge 0x5e40c3
lea ebp, [ebp + ecx*8]
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
cmp ebx, edx
jne 0x5e403f
mov dword [esp], ebp
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5e40a6
xor eax, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jmp 0x5e403f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jl 0x5e3e4e
mov ecx, dword [esi + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [esi + 0x270]
mov ebp, dword [esi + 0x278]
cmp ebp, edx
jae 0x5e4143
lea eax, [0x6781e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x194]
mov dword [ebx + 0x278], edx
mov edx, dword [0x112f780]
test edx, edx
jne 0x5e412b
mov dword [ebx + 0x270], eax
jmp 0x5e4136
lea edi, [ebx + 0x270]
call fcn.00462e70
mov esi, ebx
mov edi, dword [esp + 0x158]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov dword [esi + 0x274], edx
mov edx, dword [0x1102310]
mov dword [esp + 0x160], edx
mov ebp, dword [0x1102314]
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], ebp
mov edx, dword [0x112f780]
lea ecx, [ebx + ecx*8]
test edx, edx
jne 0x5e4180
mov edx, dword [esp + 0x160]
mov dword [ecx], edx
jmp 0x5e3e4e
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x160]
call fcn.00462e70
xor eax, eax
mov edi, edx
jmp 0x5e3e4e
mov eax, 1
mov ecx, edx
call fcn.00462ef0
mov ecx, edx
call fcn.00462f60
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x677aa0]
mov dword [esp + 8], eax
call fcn.00408e20
nop
call fcn.00461a60
jmp fcn.005e3850