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

Disassembly:
push 0xffffffffffffffff
push 0x432348
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fd14]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
push eax
push 0x437aa0
push 0x17
push ebx
push 0x437968
mov byte [esp + 0x78], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4012fa
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4012fa
xor ebp, ebp
cmp eax, ebx
jle 0x4012fa
mov dword [esp + 0x18], ebx
mov ecx, ebp
mov word [esp + 0x44], 3
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x64], 3
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov esi, dword [edx]
lea eax, [esp + 0x18]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov esi, eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x68], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jl 0x4012d8
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x1c], ecx
je 0x401105
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x437ab0
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x401113
mov byte [esp + 0x64], 1
jmp 0x4012e1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x64], 5
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x24]
push edx
push ecx
call eax
cmp eax, ebx
jl 0x4012ae
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x401152
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push str._D_3
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], ebx
jne 0x401162
mov byte [esp + 0x64], 4
jmp 0x4012b7
lea ecx, [esp + 0x38]
call fcn.00402510
push 0x437a20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 7
call fcn.00402490
mov dword [esp + 0x30], ebx
mov byte [esp + 0x64], 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
lea ecx, [esp + 0x28]
call fcn.00402510
mov byte [esp + 0x64], 9
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004023f0
mov esi, dword [esp + 0x38]
mov eax, dword [esi - 0xc]
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.00401a40
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xa
call fcn.00402280
mov byte [esp + 0x64], 9
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4011fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
mov ecx, esi
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401226
cmp dl, bl
je 0x401222
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401226
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x401206
xor eax, eax
jmp 0x40122b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40124c
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004021f0
mov ecx, dword [esp + 0x30]
call fcn.00401350
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x64], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40126d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esi - 0x10]
mov byte [esp + 0x64], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401299
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 5
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4012ae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x64], 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4012c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4012d8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4012ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add ebp, 1
cmp ebp, dword [esp + 0x34]
jl 0x401081
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40130e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret