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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ea8a
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov esi, edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
cmp dword [ebx + 0x8c], edi
je 0x40d07b
cmp esi, edi
je 0x40d07b
push 0xc
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebp + 8]
add esp, 4
push 0x1c
mov dword [esp + 0x60], eax
mov dword [eax], 0x416670
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x208], edi
cmp ebx, edi
je 0x40cbb6
push ebx
call fcn.00409c70
mov dword [esp + 0x24], ebx
jmp 0x40cbba
mov dword [esp + 0x24], edi
mov dword [esp + 0x208], 0xffffffff
mov edx, dword [esi]
mov ecx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
push esi
call ecx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x50]
push edx
push esi
mov dword [esp + 0x58], edi
call eax
mov dword [esp + 0x4c], edi
cmp dword [esp + 0x50], edi
jbe 0x40d05e
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40cc10
lea ecx, [esp + 0x6c]
push ecx
call fcn.0040d0b0
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20c], 1
mov edx, dword [eax]
mov edx, dword [edx + 8]
push ecx
push eax
mov dword [esp + 0x1c], edi
call edx
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x40cc61
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x20c], 0xffffffff
call fcn.0040d1c0
jmp 0x40d04b
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x54]
push ecx
push eax
call edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x80]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x208], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x18], edi
mov byte [esp + 0x208], 3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0xa0]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x14], edi
mov byte [esp + 0x208], 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea edx, [esp + 0xbc]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x2c], edi
mov byte [esp + 0x208], 5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0xd8]
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x44], edi
mov byte [esp + 0x208], 6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0xf4]
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x34], edi
mov byte [esp + 0x208], 7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x110]
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x3c], edi
mov byte [esp + 0x208], 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x3c]
push ecx
call esi
lea edx, [esp + 0x12c]
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x48], edi
mov byte [esp + 0x208], 9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x48]
push ecx
call esi
lea edx, [esp + 0x148]
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x28], edi
mov byte [esp + 0x208], 0xa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call esi
lea edx, [esp + 0x164]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x40], edi
mov byte [esp + 0x208], 0xb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x40]
push ecx
call esi
lea edx, [esp + 0x180]
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x20], edi
mov byte [esp + 0x208], 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call esi
lea edx, [esp + 0x19c]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x38], edi
mov byte [esp + 0x208], 0xd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x38]
push ecx
call esi
lea edx, [esp + 0x1b8]
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.0043c531
add esp, 0xc
mov dword [esp + 0x30], edi
mov byte [esp + 0x208], 0xe
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x30]
push ecx
call esi
lea edx, [esp + 0x1d4]
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.0043c531
mov edi, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
call fcn.0040def0
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x38]
push eax
call ebx
mov ecx, dword [esp + 0x20]
push ecx
call ebx
mov edx, dword [esp + 0x40]
push edx
call ebx
mov eax, dword [esp + 0x28]
push eax
call ebx
mov ecx, dword [esp + 0x48]
push ecx
call ebx
mov edx, dword [esp + 0x3c]
push edx
call ebx
mov eax, dword [esp + 0x34]
push eax
call ebx
mov ecx, dword [esp + 0x44]
push ecx
call ebx
mov edx, dword [esp + 0x2c]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov edx, dword [esp + 0x1c]
push edx
call ebx
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x20c], 0xffffffff
call fcn.0040d1c0
xor edi, edi
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x50]
jb 0x40cc10
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [eax + 0x8c]
push 0x40d8d0
push edx
call ecx
jmp 0x40d07e
or eax, 0xffffffff
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.00436772
mov esp, ebp
pop ebp
ret 4