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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x100c59f0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
push 0
call fcn.10058541
push eax
call fcn.100577d1
add esp, 8
call fcn.100577b0
cdq
mov ecx, 0x1f40
idiv ecx
cmp edx, 0x3e8
jg 0x1001f5a4
add edx, 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1017b7b4]
cmp dword [ecx + 0x18], 0
je 0x1001fb24
mov eax, dword [0x1017a2dc]
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [eax + 0x11f4], edi
je 0x1001f5d6
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
jmp 0x1001f5dc
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
test esi, esi
je 0x1001fb24
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001fb24
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], edi
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov eax, dword [esi]
push 0x100d3b54
push esi
call dword [eax]
test eax, eax
js 0x1001faff
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x1001fae4
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x40]
push edx
push 0x100d3bd4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x1001fae4
mov edx, dword [esp + 0x40]
test edx, edx
je 0x1001fae4
mov esi, dword [0x1017a2dc]
lea eax, [esi + 0x190]
mov ecx, eax
mov dword [esp + 0x78], eax
lea eax, [ecx + 2]
mov dword [esp + 0x44], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f680
sub ecx, dword [esp + 0x44]
sar ecx, 1
je 0x1001f6e8
mov eax, dword [edx]
lea ecx, [esp + 0x38]
push ecx
push dword [esp + 0x7c]
push edx
call dword [eax + 0xb8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1001fada
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
push ecx
call dword [eax + 0x40]
test eax, eax
js 0x1001fada
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001fada
mov eax, dword [ecx]
push str.none
push ecx
call dword [eax + 0x20c]
mov edi, 1
jmp 0x1001fada
lea ecx, [esi + 0x258]
lea eax, [ecx + 2]
mov dword [esp + 0x44], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f6f5
sub ecx, dword [esp + 0x44]
sar ecx, 1
je 0x1001f8da
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x5c], edi
push 0x100d3bb4
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x1001fada
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x1001fada
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
push ecx
call dword [eax + 0x20]
test eax, eax
js 0x1001fada
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1001fada
mov dword [esp + 0x7c], edi
lea edx, [esp + 0x7c]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
test eax, eax
js 0x1001fada
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x1001fada
xor edi, edi
test eax, eax
jle 0x1001fad8
lea esi, [edi + 0x16]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov word [esp + 0x14], si
mov dword [esp + 0x1c], edi
mov dword [esp + 0x90], 0
mov word [esp + 0x24], si
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x5c]
mov byte [esp + 0x90], 1
movdqu xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esp + 0x48]
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
mov esi, eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x1001f8c1
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x1001f8c1
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
push 0x100d3b84
push ecx
call dword [eax]
test eax, eax
js 0x1001f8c1
cmp dword [esp + 0x38], 0
je 0x1001f8c1
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x64]
push edx
push 0
push str.name
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x1001f8b7
cmp word [esp + 0x64], 8
jne 0x1001f8b7
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x1001f8b7
mov eax, dword [0x1017a2dc]
add eax, 0x258
push eax
push ecx
call fcn.10056d04
add esp, 8
test eax, eax
jne 0x1001f8b7
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x1001f8b7
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001f8b7
mov eax, dword [ecx]
push str.none
push ecx
call dword [eax + 0x20c]
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc edi
mov esi, 0x16
cmp edi, dword [esp + 0x7c]
jl 0x1001f786
mov edi, dword [esp + 0x10]
jmp 0x1001fada
lea ecx, [esi + 0x320]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f8e3
sub ecx, esi
sar ecx, 1
je 0x1001fade
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x58], edi
push 0x100d3bb4
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x1001fada
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x1001fada
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
push ecx
call dword [eax + 0x20]
test eax, eax
js 0x1001facc
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x1001facc
mov dword [esp + 0x78], edi
lea edx, [esp + 0x78]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
test eax, eax
js 0x1001facc
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x1001facc
xor edi, edi
test eax, eax
jle 0x1001faca
lea esi, [edi + 0x16]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x44], 0
mov word [esp + 0x14], si
mov dword [esp + 0x1c], edi
mov dword [esp + 0x90], 2
mov word [esp + 0x64], si
mov dword [esp + 0x6c], edi
lea eax, [esp + 0x44]
mov byte [esp + 0x90], 3
movdqu xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0x54]
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esp + 0x88]
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
mov esi, eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x1001faaa
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1001faaa
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
push 0x100d3b84
push ecx
call dword [eax]
test eax, eax
js 0x1001faaa
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1001faaa
mov eax, dword [ecx]
lea edx, [esp + 0x50]
push edx
push ecx
call dword [eax + 0x2c]
test eax, eax
js 0x1001faa0
mov esi, dword [esp + 0x50]
test esi, esi
je 0x1001faa0
mov eax, dword [0x1017a2dc]
add eax, 0x320
push esi
push eax
mov dword [esp + 0x64], eax
call fcn.10056d04
add esp, 8
test eax, eax
je 0x1001fa6f
push dword [esp + 0x5c]
mov ecx, esi
call fcn.10011960
test eax, eax
je 0x1001faa0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x1001faa0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001faa0
mov eax, dword [ecx]
push str.none
push ecx
call dword [eax + 0x20c]
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc edi
mov esi, 0x16
cmp edi, dword [esp + 0x78]
jl 0x1001f972
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1001fada
xor edi, edi
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1001fada
xor edi, edi
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x1001faff
mov eax, dword [0x1017a2dc]
mov eax, dword [eax + 0x11f0]
jmp 0x1001fb0a
mov eax, dword [0x1017a2dc]
mov eax, dword [eax + 0x11ec]
test eax, eax
je 0x1001fb1f
mov ecx, 5
mov dword [0x1017a2dc], eax
call fcn.10020370
jmp 0x1001fb24
call fcn.1001f2d0
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.10056351
mov esp, ebp
pop ebp
ret