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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x188]
cmp eax, dword [ecx + 8]
jbe 0x5ea002
sub esp, 0x208
mov edx, dword [esp + 0x20c]
mov eax, dword [edx + 0x3c]
mov ebx, dword [edx + 0x2ac]
add ebx, 0xfffffffc
cmp eax, ebx
jbe 0x5e9984
mov ecx, dword [0x1108558]
xor ebx, ebx
jmp 0x5e99bb
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov ebp, dword [edx + 0x290]
cmp ecx, eax
jb 0x5e9ffc
sub ecx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ecx, 3
jbe 0x5e9ff2
mov ebx, dword [ebx + ebp]
xor ecx, ecx
test ecx, ecx
jne 0x5e9fbe
mov ecx, ebx
and ebx, 0xffff
cmp ebx, 0x454e
je 0x5e9f9d
cmp ebx, 0x454c
je 0x5e9f7c
cmp ebx, 0x584c
je 0x5e9f5b
cmp ebx, 0x5a56
je 0x5e9f3a
cmp ecx, 0x4550
jne 0x5e9f19
mov dword [esp + 0x24], eax
mov dword [edx + 0x60], 0x4550
lea eax, [0x69d600]
mov dword [esp], eax
lea ecx, [edx + 0x64]
mov dword [esp + 0x1fc], ecx
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x69d600]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c26e0
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20c]
mov dword [esp], ecx
lea edx, [0x666e20]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1fc]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
lea ebx, [edx + 4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e0ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5e9f04
lea eax, [0x6a9340]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x204], eax
lea ecx, [0x6a8c40]
mov dword [esp], ecx
call fcn.0040b7f0
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax]
lea eax, [ecx + eax + 4]
mov ecx, dword [esp + 0x20c]
mov ebx, dword [ecx + 0x2ac]
add ebx, 0xfffffffe
cmp eax, ebx
jbe 0x5e9af1
mov edx, dword [0x1108558]
mov ebx, dword [0x110855c]
xor ebp, ebp
jmp 0x5e9b2f
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov edi, ebp
mov ebp, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5e9feb
sub ebp, edx
sub ebx, edx
lea edx, [ebp - 4]
neg edx
sar edx, 0x1f
and edx, eax
add ebx, 0xfffffffc
cmp ebx, 1
jbe 0x5e9fdf
movzx ebp, word [edi + edx]
xor edx, edx
xor ebx, ebx
test edx, edx
jne 0x5e9eef
mov dword [esp + 0x200], esi
mov dword [esp + 0x20], eax
cmp bp, 0x10b
je 0x5e9c77
cmp bp, 0x20b
jne 0x5e9c56
lea edi, [esp + 0x10c]
call fcn.004633a8
lea eax, [0x6a8c40]
mov dword [esp], eax
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x6a8c40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c26e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20c]
mov dword [esp], ecx
lea edx, [0x667060]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x200]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e0ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5e9c41
mov eax, dword [esp + 0x20c]
mov byte [eax + 0x295], 1
lea edi, [esp + 0x10c]
mov esi, dword [esp + 0x200]
call fcn.004633a8
lea ecx, [0x6a8c40]
mov dword [esp], ecx
lea edx, [esp + 0x10c]
mov dword [esp + 4], edx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x6a8c40]
mov edx, dword [esp + 0x20c]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x112f780]
test ecx, ecx
jne 0x5e9c34
mov dword [edx + 0x7c], eax
jmp 0x5e9c3c
lea edi, [edx + 0x7c]
call fcn.00462e70
jmp 0x5e9d5a
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], edx
add esp, 0x208
ret
mov eax, dword [0x11084f0]
mov ecx, dword [0x11084f4]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
lea edi, [esp + 0x2c]
mov esi, dword [esp + 0x204]
call fcn.004633d0
lea eax, [0x6a9340]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x6a9340]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c26e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20c]
mov dword [esp], ecx
lea edx, [0x667020]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x204]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e0ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5e9eda
mov eax, dword [esp + 0x20c]
mov byte [eax + 0x294], 1
lea edi, [esp + 0x2c]
mov esi, dword [esp + 0x204]
call fcn.004633d0
lea ecx, [0x6a9340]
mov dword [esp], ecx
lea edx, [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x6a9340]
mov edx, dword [esp + 0x20c]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x112f780]
test ecx, ecx
jne 0x5e9d52
mov dword [edx + 0x7c], eax
jmp 0x5e9d5a
lea edi, [edx + 0x7c]
call fcn.00462e70
movzx ecx, byte [edx + 0x295]
test cl, cl
je 0x5e9d79
mov ebx, dword [esp + 0x200]
mov ebp, dword [ebx + 0x18]
test ebp, 0xffff
jne 0x5e9da1
jmp 0x5e9d80
mov ebx, dword [esp + 0x200]
movzx ebp, byte [edx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e9ddb
mov esi, dword [esp + 0x204]
mov eax, edx
mov edx, dword [esi + 0x1c]
test edx, 0xffff
je 0x5e9dc2
mov eax, dword [0x11084e8]
mov ecx, dword [0x11084ec]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e9dd7
add edx, dword [esi + 0x38]
cmp edx, 0x80000000
jae 0x5e9e0c
test cl, cl
jmp 0x5e9ddf
test cl, cl
jmp 0x5e9ddf
test cl, cl
mov eax, edx
je 0x5e9eb6
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x38]
add ecx, edx
mov ecx, dword [ebx + 0x1c]
adc ecx, 0
cmp ecx, 0xffff0800
sete cl
seta dl
and ecx, 1
or edx, ecx
test dl, dl
je 0x5e9eb6
mov ecx, dword [eax + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [eax + 0x270]
mov ebp, dword [eax + 0x278]
cmp ebp, edx
jae 0x5e9e7f
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 + 0x20c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x112f780]
test edx, edx
jne 0x5e9e6e
mov dword [ebx + 0x270], eax
jmp 0x5e9e79
lea edi, [ebx + 0x270]
call fcn.00462e70
mov edx, eax
mov eax, ebx
mov ebx, edx
lea edx, [ecx + 1]
mov dword [eax + 0x274], edx
mov edx, dword [0x1102308]
mov ebp, dword [0x110230c]
lea esi, [ebx + ecx*8 + 4]
mov dword [esi], ebp
mov ebp, dword [0x112f780]
lea edi, [ebx + ecx*8]
test ebp, ebp
jne 0x5e9eab
mov dword [edi], edx
jmp 0x5e9eb6
mov ecx, eax
mov eax, edx
call fcn.00462e70
mov eax, ecx
mov byte [eax + 0x299], 1
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
add esp, 0x208
ret
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], edx
add esp, 0x208
ret
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], ebx
add esp, 0x208
ret
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], edx
add esp, 0x208
ret
mov eax, dword [0x11084f8]
mov ecx, dword [0x11084fc]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, dword [0x1108510]
mov ecx, dword [0x1108514]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, dword [0x1108518]
mov ecx, dword [0x110851c]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, dword [0x1108500]
mov ecx, dword [0x1108504]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, dword [0x1108508]
mov ecx, dword [0x110850c]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, dword [0x1108538]
mov ecx, dword [0x110853c]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
add esp, 0x208
ret
mov eax, 1
mov ecx, ebx
call fcn.00462ef0
mov ecx, ebx
call fcn.00462f60
mov eax, 3
call fcn.00462ef0
call fcn.00462f60
nop
call fcn.00461a60
jmp fcn.005e9940