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

Disassembly:
push esi
sub esp, 0x104
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
lea edx, [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040db40
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bd70
xor eax, eax
mov ecx, 1
cmp dword [esp + 0x48], 2
cmove eax, ecx
cmp eax, 0
jne 0x40e0a3
lea ecx, [esp + 0x64]
lea eax, [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esp + 0x28]
lea eax, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.0040dec0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x98], eax
mov esi, dword [esp + 0x98]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], esi
lea eax, [0x504a1c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040adf0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x28]
add eax, 0xc
mov dword [esp], eax
call fcn.0040d9f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x88]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
movzx eax, word [eax + 2]
mov dword [esp + 0xc], eax
call fcn.0040e2f0
lea ecx, [esp + 0x78]
lea eax, [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040be00
mov edx, dword [esp + 0x78]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x40e0d0
jmp 0x40e1b2
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x3c]
mov byte [esp + 0xf7], cl
lea eax, [0x504a3c]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040b090
jmp 0x40e1da
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0xd8]
lea eax, [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esp + 0xac]
lea eax, [esp + 0xd8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0xc4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2c
call sub.VCRUNTIME140.dll_memcpy
jmp 0x40e1da
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x7c]
mov byte [esp + 0xf6], cl
lea eax, [0x504a2c]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040b090
mov eax, dword [esp + 0x1c]
add esp, 0x104
pop esi
ret