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

Disassembly:
push 0xffffffffffffffff
push 0x40d028
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x412060]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, 0x40feac
mov byte [esp + 0x68], 1
call fcn.00401a60
lea ecx, [esp + 0x2c]
push ecx
push 0x40fe9c
push 0x17
push ebp
push 0x40fe8c
mov byte [esp + 0x78], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x401258
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4016b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 9
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
jge 0x401281
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4016a3
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
jge 0x4012ab
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4016a3
xor edi, edi
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x40], edi
jbe 0x401540
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x64], 4
mov eax, dword [0x413094]
mov edx, dword [eax + 0xc]
mov ecx, 0x413094
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov byte [esp + 0x64], 5
mov eax, dword [0x413094]
mov edx, dword [eax + 0xc]
mov ecx, 0x413094
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x64], 6
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jge 0x401346
lea eax, [ebx - 0x10]
mov byte [esp + 0x64], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 4
lea eax, [esi - 0x10]
jmp 0x4014e8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebp
jl 0x401318
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x28]
call fcn.00401b70
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jge 0x4013a3
lea eax, [ebx - 0x10]
mov byte [esp + 0x64], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4014d0
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x40fb9c
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebp
jl 0x4014b0
cmp word [esp + 0x44], 0x13
jne 0x4014b0
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x6c]
jne 0x4013f6
lea eax, [esp + 0x28]
lea edi, [esp + 0x20]
call fcn.00401b10
push 0x1c
call fcn.004032aa
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x40144a
mov edx, dword [0x413094]
mov eax, dword [edx + 0xc]
mov ecx, 0x413094
call eax
add eax, 0x10
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea esi, [edi + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], edi
call fcn.00401b10
mov ecx, edi
call fcn.00401710
test eax, eax
jne 0x401461
lea eax, [esp + 0x34]
call fcn.00401d40
lea eax, [esp + 0x28]
call fcn.00401d40
jmp 0x401501
mov edi, dword [0x412fe0]
cmp edi, ebp
je 0x4014a6
jmp 0x401470
xor eax, eax
test edi, edi
setne al
mov ebp, edi
test eax, eax
je 0x40158c
mov eax, edi
mov eax, dword [eax + 8]
test eax, eax
mov edi, dword [edi]
je 0x4014a0
push esi
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
je 0x401576
test edi, edi
jne 0x401470
xor ebp, ebp
lea eax, [esp + 0x3c]
push eax
call fcn.004021a0
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [ebx - 0x10]
mov byte [esp + 0x64], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4014dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 3
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x401516
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40152b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x40]
add edi, 1
cmp edi, dword [esp + 0x38]
mov dword [esp + 0x40], edi
jb 0x4012bb
mov ebx, dword [esp + 0x20]
mov ecx, 0x40feac
mov eax, ebx
jmp 0x401550
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401596
cmp dx, bp
je 0x401572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401596
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x401550
xor eax, eax
jmp 0x40159b
lea ebx, [esp + 0x3c]
mov esi, ebp
call fcn.00402200
mov ebx, dword [esp + 0x34]
xor ebp, ebp
jmp 0x4014b0
push 0x80004005
call fcn.004025a0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
setne al
test al, al
je 0x40169b
mov edi, dword [0x412fe0]
cmp edi, ebp
je 0x401627
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x40158c
mov eax, edi
mov ecx, dword [eax + 8]
test ecx, ecx
mov edi, dword [edi]
je 0x401621
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x40158c
mov eax, dword [ecx]
mov edx, ebx
lea ecx, [ecx]
mov si, word [eax]
cmp si, word [edx]
jne 0x401606
test si, si
je 0x401602
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x401606
add eax, 4
add edx, 4
test si, si
jne 0x4015e0
xor eax, eax
jmp 0x40160b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x401621
call fcn.004018c0
push 2
call ebp
mov ebx, dword [esp + 0x20]
test edi, edi
jne 0x4015b8
xor ebp, ebp
lea ecx, [esp + 0x20]
call fcn.004018c0
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40166a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x401682
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov byte [esp + 0x64], 1
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4016bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4016d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x4016e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, 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