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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001a7a3
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10020040]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x10020040]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 0
mov dword [esp + 0x20], edi
add edi, 0x20
push esi
push 0
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.10001aa0
mov dword [esp + 0x18], eax
test eax, eax
je 0x100061f6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
je 0x100061e2
cmp word [esi], 0x5c
jne 0x100061ec
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 3
jne 0x10006219
mov eax, 0x80004005
jmp 0x10006680
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10
push esi
push 0
push ebx
push 0
mov ecx, edi
call fcn.10001580
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0xe8], ebx
cmp ebx, edi
je 0x1000622e
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov dword [esp + 0x118], edi
xor eax, eax
mov word [esp + 0xf0], ax
mov eax, esi
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10006256
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0xf0]
call fcn.10002fe0
mov edi, dword [esp + 0x1c]
add edi, 0x30
lea ebx, [esp + 0xe8]
mov dword [esp + 0x118], 1
call fcn.100080c0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x4c], esi
je 0x100062bd
test esi, esi
je 0x100062ab
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x100062ba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x4c], esi
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x11c], 2
mov eax, dword [esi]
mov edx, dword [eax]
push 0x1001cd8c
push esi
call edx
mov esi, eax
cmp esi, edi
je 0x10006376
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1000631b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x104], 8
jb 0x10006340
mov eax, dword [esp + 0xf0]
push eax
call fcn.1000e9ac
add esp, 4
mov eax, dword [esp + 0xe8]
xor ecx, ecx
mov dword [esp + 0x100], edi
cmp eax, edi
mov word [esp + 0xf0], cx
mov dword [esp + 0x104], 7
je 0x1000636f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
jmp 0x10006680
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
cmp esi, edi
je 0x100063b8
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x100063a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xe8]
call fcn.10008ab0
mov eax, esi
jmp 0x10006680
xor esi, esi
cmp dword [esp + 0x28], edi
jbe 0x1000655b
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x8c]
push edx
push 3
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
push 9
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x9c]
push edx
push 6
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push 7
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 0xa
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp word [esp + 0x3c], 0
jne 0x1000644c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push 0xb
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp word [esp + 0x5c], 0
jne 0x10006478
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0xc
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp word [esp + 0x4c], 0
jne 0x100064a4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
cmp word [esp + 0x6c], 0x13
mov ebx, dword [esp + 0x74]
jne 0x100064ba
mov dword [esp + 0x30], 0
jmp 0x100064c2
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
push dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x4c]
push ecx
mov ecx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xb0]
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push esi
push edx
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.10001580
mov eax, dword [esp + 0x1c]
add dword [eax + 0x28], ebx
mov edx, dword [esp + 0x30]
adc dword [eax + 0x2c], edx
lea eax, [esp + 0x8c]
push eax
call edi
lea ecx, [esp + 0x7c]
push ecx
call edi
lea edx, [esp + 0x9c]
push edx
call edi
lea eax, [esp + 0x6c]
push eax
call edi
lea ecx, [esp + 0x3c]
push ecx
call edi
lea edx, [esp + 0x5c]
push edx
call edi
lea eax, [esp + 0x4c]
push eax
call edi
inc esi
cmp esi, dword [esp + 0x28]
jb 0x100063ca
mov edi, dword [esp + 0x1c]
cmp dword [edi + 8], 3
jne 0x1000660e
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push ecx
push edx
lea esi, [esp + 0xc4]
call fcn.10003f70
mov ebx, dword [esp + 0x34]
push ebx
mov ecx, esi
mov byte [esp + 0x11c], 3
call fcn.10005130
mov esi, eax
test esi, esi
je 0x100065fb
lea eax, [esp + 0xbc]
call fcn.10004000
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100065bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x104], 8
jb 0x100065e0
mov eax, dword [esp + 0xf0]
push eax
call fcn.1000e9ac
add esp, 4
mov eax, dword [esp + 0xe8]
xor ecx, ecx
mov dword [esp + 0x100], 0
test eax, eax
jmp 0x10006352
push ebx
push edi
call fcn.10007d70
lea eax, [esp + 0xbc]
call fcn.10004000
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10006626
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x104], 8
jb 0x1000664b
mov eax, dword [esp + 0xf0]
push eax
call fcn.1000e9ac
add esp, 4
mov eax, dword [esp + 0xe8]
xor ecx, ecx
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], cx
test eax, eax
je 0x1000667e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.1000e9b7
mov esp, ebp
pop ebp
ret 0xc