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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x56329b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5c0020]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x5c0020]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov esi, dword [ebp + 8]
call fcn.00407e70
test eax, eax
je 0x408600
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
movdqa xmmword [esp + 0x48], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x90], 0
mov eax, dword [edi + 8]
lea edx, [esp + 0x64]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
js 0x4085b0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
mov ecx, dword [ecx + 8]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4082e9
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
push 0x59a570
push ecx
call dword [eax]
mov edi, eax
test edi, edi
js 0x40857b
cmp edi, 1
je 0x40857b
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x60]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x48]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, 1
je 0x408573
test edi, edi
js 0x40857b
push 9
push 0
lea eax, [esp + 0x4c]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x40857b
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push edx
push 0x59a560
push eax
call dword [ecx]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
js 0x40857b
push 0x48
call fcn.004140a7
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 1
test eax, eax
je 0x40838a
mov ecx, eax
call fcn.00402930
jmp 0x40838c
xor eax, eax
mov byte [esp + 0x90], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x5c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x58]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x44], 1
mov dword [ecx + 0x34], 0
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 0x1c]
cmp word [edx], 0
mov dword [esp + 0x14], eax
jne 0x40841c
xor ecx, ecx
jmp 0x40843a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408425
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
add eax, 4
cmp word [edx], 0
mov dword [esp + 0x1c], eax
jne 0x40845c
xor ecx, ecx
jmp 0x40847a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408465
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.004017f0
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
cmp word [edx], ax
je 0x4084c1
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4084b0
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.004017f0
push 3
push 0x599b10
mov byte [esp + 0x98], 2
push dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x78]
call fcn.00406040
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
cmp edx, eax
jae 0x40853a
mov edx, dword [esi]
lea eax, [esp + 0x34]
cmp edx, eax
mov eax, dword [esi + 4]
ja 0x40853a
lea edi, [esp + 0x34]
sub edi, edx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x408526
push ecx
mov ecx, esi
call fcn.00408630
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x408534
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
jmp 0x408554
cmp eax, dword [esi + 8]
jne 0x40854b
push ecx
mov ecx, esi
call fcn.00408630
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
je 0x408554
mov dword [eax], ecx
add dword [esi + 4], 4
mov byte [esp + 0x90], 0
cmp dword [esp + 0x7c], 8
jb 0x408573
push dword [esp + 0x68]
call fcn.004140d4
add esp, 4
test edi, edi
jns 0x4082f1
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x408589
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x40859a
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4085a5
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4085b0
push eax
call esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4085c8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4085dc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4085f0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 4], 0
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0053786f
mov esp, ebp
pop ebp
ret 4