Function at 0x1019c7a
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1023d58
call fcn.01014f68
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
cmp eax, ebx
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov esi, 0x8000ffff
je 0x101aa6b
cmp word [eax], bx
je 0x101aa6b
cmp dword [ebp + 0x10], ebx
jne 0x1019cbb
cmp dword [edi + 0x38], ebx
je 0x101aa6b
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x12]
push eax
call fcn.010056e5
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 0x20], esi
jne 0x1019ce8
mov esi, 0x8007000e
jmp 0x1019eea
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1004978
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov ecx, edi
call fcn.01018a84
mov esi, eax
cmp esi, ebx
jl 0x1019eea
mov eax, dword [edi + 0x4c]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push 2
push 0x1004974
push eax
mov esi, 0x80004005
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1019eea
xor esi, esi
mov dword [ebp - 0x34], 0x1004804
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0101c2fe
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c397
push 0x1004920
lea ecx, [ebp - 0x34]
call fcn.0101c397
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c397
push 0x1004900
lea ecx, [ebp - 0x34]
call fcn.0101c397
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.0101c397
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c397
push 0x10048ec
lea ecx, [ebp - 0x34]
call fcn.0101c397
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c397
push 0x1004860
lea ecx, [ebp - 0x34]
call fcn.0101c397
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c397
lea ecx, [ebp - 0x34]
call fcn.0101c343
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0101c4b7
push dword [0x1030bc4]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [0x1030bb8]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [0x1030bbc]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push 0x1004858
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [0x1030bcc]
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0x44]
jae 0x1019e80
push dword [edi + eax*4 + 0x3c]
mov ecx, edi
call fcn.010197d1
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x1019e76
push eax
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
push dword [ebp - 0x2c]
call fcn.010056f5
pop ecx
jmp 0x1019e7b
mov esi, 0x8007000e
inc dword [ebp - 0x24]
jmp 0x1019e48
push ebx
lea ecx, [ebp - 0x34]
call fcn.0101c4b7
jmp 0x1019e9e
test esi, esi
mov dword [ebp - 4], 1
jl 0x1019ec5
push dword [ebp - 0x30]
mov ecx, edi
call fcn.01018a11
mov esi, eax
test esi, esi
jl 0x1019ec5
push dword [ebp + 0xc]
mov ecx, edi
call fcn.01019906
mov esi, eax
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0x1004804
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1019eea
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
inc ebx
test esi, esi
jl 0x101a0fe
xor eax, eax
cmp dword [edi + 0x44], 2
jne 0x101a04e
push 0x1004830
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a047
push dword [edi + 0x3c]
mov ecx, edi
push dword [0x1030bdc]
call fcn.01019894
test eax, eax
mov dword [ebp - 0x24], eax
je 0x101a037
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push ebx
push dword [0x1030bd4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push 0xcc
push dword [ebp - 0x2c]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x1019fb7
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x1019fac
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x1019fbc
mov esi, 0x8007000e
test esi, esi
jl 0x101a03c
push ebx
push dword [ebp - 0x24]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push ebx
push dword [0x1030bd8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a03c
push 0xcf
push dword [ebp - 0x2c]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x101a037
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a02c
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x101a03c
mov esi, 0x8007000e
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x101a04c
mov esi, 0x80004005
mov eax, ebx
test esi, esi
jl 0x101a0fe
push dword [edi + eax*4 + 0x3c]
mov ecx, edi
push dword [0x1030bdc]
call fcn.01019894
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a0e5
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a0da
push ebx
push dword [0x1030be8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a0da
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a0da
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a0da
push ebx
push dword [0x1030bf4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a0da
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x2c]
call fcn.010056f5
pop ecx
jmp 0x101a0ea
mov esi, 0x8007000e
test esi, esi
jl 0x101a0fe
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
xor eax, eax
cmp esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
jl 0x101aa4b
cmp dword [ebp + 0x10], 0xffffffff
je 0x101a328
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x38]
jae 0x101a328
test esi, esi
jl 0x101aa4b
imul eax, eax, 0x1c
add eax, edi
cmp dword [eax + 0x18], 0
je 0x101a319
mov eax, dword [eax + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 4], 5
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x1c
cmp ebx, dword [eax + edi + 0x10]
je 0x101a319
test esi, esi
jl 0x101a319
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x44]
jae 0x101a2bf
test esi, esi
jl 0x101a2d4
mov eax, dword [ebx + 0x10]
push dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.01018803
mov esi, eax
test esi, esi
je 0x101a2b2
mov eax, dword [ebp - 0x14]
push dword [edi + eax*4 + 0x3c]
mov ecx, edi
push esi
call fcn.01019894
push esi
mov dword [ebp - 0x24], eax
call fcn.010056f5
cmp dword [ebp - 0x24], 0
pop ecx
je 0x101a2b2
push 1
push dword [ebp - 0x24]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bd4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
push 1
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [ebp - 0x24]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bd8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push 1
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a2a7
push 1
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x24]
call fcn.010056f5
pop ecx
jmp 0x101a2b7
mov esi, 0x8007000e
inc dword [ebp - 0x14]
jmp 0x101a169
test esi, esi
jl 0x101a2d4
push 1
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
cmp dword [ebp + 0xc], 0
je 0x101a2f3
test esi, esi
jl 0x101a2f3
push 0xbb8
push 0xa
push 0x64
push 0x3e8
push 3
call sub.wbemcomn.dll_long_int___stdcall_Throttle_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
lea ecx, [ebp - 0x2c]
call fcn.0101638f
inc dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
jmp 0x101a14d
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
jmp 0x101a11b
test esi, esi
jl 0x101aa4b
xor eax, eax
cmp dword [edi + 0x44], 2
jne 0x101a5d6
push 0x1004830
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x101a5cf
push dword [edi + 0x3c]
mov ecx, edi
push dword [0x1030be0]
call fcn.01019894
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a47e
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bd4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push 0xcd
push dword [ebp - 0x18]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x101a3ee
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a3e3
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x101a3f3
mov esi, 0x8007000e
test esi, esi
jl 0x101a5c4
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bd8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push 0xd0
push dword [ebp - 0x18]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x101a47e
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a473
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x101a483
mov esi, 0x8007000e
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push dword [edi + 0x3c]
mov ecx, edi
push dword [0x1030be4]
call fcn.01019894
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a5bf
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bd4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push 0xce
push dword [ebp - 0x18]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x101a53f
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a534
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x101a544
mov esi, 0x8007000e
test esi, esi
jl 0x101a5c4
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bd8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5c4
push 0xd1
push dword [ebp - 0x18]
call fcn.01019713
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x101a5bf
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a5b4
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x1c]
call fcn.010056f5
pop ecx
jmp 0x101a5c4
mov esi, 0x8007000e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x101a5d4
mov esi, 0x80004005
mov eax, ebx
test esi, esi
jl 0x101aa4b
lea eax, [edi + eax*4 + 0x3c]
push dword [eax]
mov ecx, edi
push dword [0x1030be0]
mov dword [ebp - 0x24], eax
call fcn.01019894
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a65e
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a653
push ebx
push dword [0x1030bec]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a653
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a653
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a653
push ebx
push dword [0x1030bf8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x2c]
call fcn.010056f5
pop ecx
jmp 0x101a663
mov esi, 0x8007000e
test esi, esi
jl 0x101aa4b
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101aa4b
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, edi
push dword [0x1030be4]
call fcn.01019894
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x101a715
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a70a
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a70a
push ebx
push dword [0x1030bf0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a70a
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a70a
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a70a
push ebx
push dword [0x1030bfc]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x2c]
call fcn.010056f5
pop ecx
jmp 0x101a71a
mov esi, 0x8007000e
test esi, esi
jl 0x101aa4b
cmp dword [ebp + 0x10], 0xffffffff
je 0x101a9b8
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
and dword [ebp - 0x24], 0
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0x38]
jae 0x101a9b8
test esi, esi
jl 0x101aa4b
imul eax, eax, 0x1c
lea ebx, [eax + edi]
cmp dword [ebx + 0x18], 0
je 0x101a9a9
push 1
push dword [0x1030bac]
mov ecx, edi
mov dword [ebp - 4], 7
call fcn.01018e94
mov ebx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0x1c
cmp ecx, dword [eax + edi + 0x10]
je 0x101a9a9
test esi, esi
jl 0x101a9a9
and dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x1c]
jae 0x101a967
test esi, esi
jl 0x101a967
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x10], 0
je 0x101a95f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x44]
jae 0x101a94a
test esi, esi
jl 0x101a95f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4]
push dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.01018803
mov esi, eax
test esi, esi
je 0x101a93d
mov eax, dword [ebp - 0x14]
push dword [edi + eax*4 + 0x3c]
mov ecx, edi
push esi
call fcn.01019894
push esi
mov dword [ebp - 0x2c], eax
call fcn.010056f5
cmp dword [ebp - 0x2c], 0
pop ecx
je 0x101a93d
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bd4]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bd8]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bc0]
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push ebx
push eax
mov ecx, edi
call fcn.01018e94
mov esi, eax
test esi, esi
jl 0x101a932
push ebx
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
push dword [ebp - 0x2c]
call fcn.010056f5
pop ecx
jmp 0x101a942
mov esi, 0x8007000e
inc dword [ebp - 0x14]
jmp 0x101a7d7
test esi, esi
jl 0x101a95f
push 1
push dword [0x1030bac]
mov ecx, edi
call fcn.01018e94
mov esi, eax
inc dword [ebp + 0x10]
jmp 0x101a7a9
cmp dword [ebp + 0xc], 0
je 0x101a986
test esi, esi
jl 0x101a986
push 0xbb8
push 0xa
push 0x64
push 0x3e8
push 3
call sub.wbemcomn.dll_long_int___stdcall_Throttle_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
lea ecx, [ebp - 0x1c]
call fcn.0101638f
inc dword [ebp - 0x18]
jmp 0x101a78a
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x24]
xor ebx, ebx
inc ebx
jmp 0x101a746
test esi, esi
jl 0x101aa4b
push ebx
mov ecx, edi
call fcn.01018e36
mov esi, eax
test esi, esi
jl 0x101aa4b
push dword [ebp + 8]
and dword [ebp + 0x10], 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0xa]
push eax
call fcn.010056e5
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp + 0x10], ebx
jne 0x101a9fd
mov esi, 0x8007000e
jmp 0x101aa38
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100484c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push dword [ebp - 0x20]
mov ecx, edi
call fcn.01018cae
mov esi, eax
jmp 0x101aa38
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x101aa47
push ebx
call fcn.010056f5
pop ecx
test esi, esi
jge 0x101aa5c
mov ecx, edi
call fcn.0101888c
push dword [ebp - 0x20]
mov ecx, edi
call fcn.01018bc8
cmp dword [ebp - 0x20], 0
je 0x101aa6b
push dword [ebp - 0x20]
call fcn.010056f5
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc