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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
add esp, 0xfffffec8
call fcn.0040e550
mov ecx, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov edx, esp
mov dword [edx], str.OvO7
call fcn.0040e560
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call edx
sub esp, 4
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov ecx, esp
call fcn.0040e570
mov dword [ecx + 4], 0x6d4efa
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [esp + 0xc4], eax
mov dword [esp + 0xbc], 0
cmp dword [esp + 0xc8], 0
je 0x40e41e
cmp dword [esp + 0xc4], 0
je 0x40e41e
pushfd
mov eax, 0xa27aeb0f
xor eax, 0xa27ae987
popfd
mov dword [esp + 0xb4], 0x288
mov dword [esp], 0x288
mov dword [esp + 0x54], eax
call fcn.0044a1eb
mov dword [esp + 0xc0], eax
cmp dword [esp + 0xc0], 0
je 0x40e419
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, esp
lea esi, [esp + 0xb4]
mov dword [edx + 4], esi
mov dword [edx], ecx
call eax
sub esp, 8
mov dword [esp + 0xb8], eax
cmp eax, 0x6f
jne 0x40e032
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.0044a282
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.0044a1eb
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, esp
lea esi, [esp + 0xb4]
call fcn.0040e580
call fcn.0040e590
call eax
sub esp, 8
mov dword [esp + 0xb8], eax
cmp dword [esp + 0xb8], 0
jne 0x40e40a
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xbc], eax
cmp dword [esp + 0xbc], 0
je 0x40e405
mov eax, dword [esp + 0xbc]
cmp dword [eax + 0x1a0], 6
jne 0x40e090
mov eax, dword [esp + 0xbc]
cmp dword [eax + 0x190], 6
je 0x40e095
jmp 0x40e3ed
mov eax, dword [esp + 0xbc]
sub eax, 0xfffffef4
mov ecx, esp
call fcn.0040e5a0
lea ecx, [esp + 0x98]
call fcn.005366c0
sub esp, 4
mov ecx, 0x1f
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx], edx
lea ecx, [esp + 0x98]
mov dword [esp + 0x50], eax
call fcn.005322e0
sub esp, 4
mov eax, esp
lea ecx, [esp + 0x88]
mov dword [eax], ecx
lea ecx, [esp + 0x98]
call fcn.004d24c0
sub esp, 4
mov eax, esp
lea ecx, [esp + 0x80]
call fcn.0040e5b0
lea ecx, [esp + 0x98]
call fcn.005322e0
sub esp, 4
lea eax, [esp + 0x78]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x88]
lea esi, [esp + 0x90]
lea edi, [fcn.00449fa4]
mov dword [esp], eax
call fcn.0040e5c0
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.004120c0
mov eax, 0x447c6c
mov eax, esp
call fcn.0040e5d0
mov dword [eax], 0x6d4f3a
lea ecx, [esp + 0x98]
call fcn.004122c0
sub esp, 8
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x40e1ec
mov eax, 0x447c48
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0x6d4f96
lea ecx, [esp + 0x98]
call fcn.004122c0
sub esp, 8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
jne 0x40e1ec
mov eax, esp
mov dword [eax + 4], 0
call fcn.0040e5e0
lea ecx, [esp + 0x98]
call fcn.004122c0
sub esp, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x40e1f9
mov dword [esp + 0x6c], 4
jmp 0x40e3b1
mov eax, dword [esp + 0xbc]
add eax, 0x194
call fcn.0040e5f0
test eax, eax
setne cl
movzx eax, cl
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 0
je 0x40e255
mov eax, dword [esp + 0xbc]
add eax, 0x194
mov eax, dword [eax]
sub eax, 0xc0565000
setne cl
movzx edx, cl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
cmp eax, 0
jne 0x40e262
mov dword [esp + 0x6c], 4
jmp 0x40e3b1
mov byte [esp + 0x6b], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0xcc]
jae 0x40e2e9
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0xbc]
sub ecx, 0xfffffe6c
imul edx, dword [esp + 0x64], 6
add eax, edx
mov edx, esp
mov dword [edx + 4], ecx
call fcn.0040e600
mov dword [edx + 8], 6
call fcn.0044a2bf
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0
jne 0x40e2d1
mov byte [esp + 0x6b], 1
jmp 0x40e2e9
jmp 0x40e2d6
mov eax, dword [esp + 0x64]
sub eax, 0xffffffff
mov dword [esp + 0x64], eax
jmp 0x40e26f
test byte [esp + 0x6b], 1
jne 0x40e38b
mov eax, dword [esp + 0xcc]
mov ecx, 1
mov ecx, eax
inc ecx
mov dword [esp + 0xcc], ecx
imul eax, eax, 6
mov ecx, dword [esp + 0xbc]
mov dx, word [ecx + 0x198]
mov word [esp + eax + 0xdc], dx
mov ecx, dword [ecx + 0x194]
mov dword [esp + eax + 0xd8], ecx
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0xbc]
sub esi, 0xfffffe6c
mov edi, esp
mov dword [edi + 0xc], ecx
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.0040e610
mov dword [edi + 0x10], 0
mov dword [edi + 4], 6
call fcn.004ad290
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd4], ecx
cmp dword [esp + 0xcc], 0x10
jne 0x40e3a9
mov dword [esp + 0x6c], 2
jmp 0x40e3b1
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x98]
call fcn.00506f10
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x40e3e8
mov eax, dword [esp + 0x28]
cmp eax, 4
jl 0x40e405
jmp 0x40e3ed
jmp 0x40e3ed
mov eax, dword [esp + 0xbc]
call fcn.0040e620
mov dword [esp + 0xbc], eax
jmp 0x40e051
jmp 0x40e40a
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.0044a282
jmp 0x40e41e
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, esp
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
lea eax, [esp + 0xcc]
mov dword [edx], eax
call fcn.0040e630
call fcn.0040e640
call fcn.0040e650
call fcn.004ad290
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0x60], 0
cmp dword [0x6daa5c], 0
je 0x40e4bc
mov eax, dword [0x6da120]
mov ecx, esp
lea edx, [esp + 0x60]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x1c], 0
call fcn.0040e660
call fcn.0040e670
mov dword [ecx + 0x10], 0
call fcn.0040e680
mov dword [ecx + 4], 0
call fcn.0040e690
call eax
sub esp, 0x20
mov dword [esp + 0x24], eax
jmp 0x40e4ca
mov eax, 0
mov dword [esp + 0x24], eax
jmp 0x40e4ca
mov eax, dword [esp + 0x24]
cmp eax, 0
je 0x40e51b
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, esp
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
lea eax, [esp + 0x60]
mov dword [edx], eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0
call fcn.0040e6a0
call fcn.004ad290
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, esp
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [edx], eax
mov dword [edx + 4], 0x6d50da
call fcn.004b1870
mov eax, dword [esp + 0x58]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret