Function at 0x1002b760
Capabilities:
Create process on windows
Get session information
Get session user name
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a11d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x5e0
push esi
mov esi, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
push edi
test esi, esi
je 0x1002c7a1
movzx eax, word [esi]
test ax, ax
je 0x1002c7a1
mov edi, eax
cmp di, 0x3a
je 0x1002b7c1
cmp di, 0x20
jne 0x1002b7ca
movzx edi, word [esi + 2]
add esi, 2
jmp 0x1002b7b5
push 0x208
lea eax, [ebp - 0x5f0]
push 0
push eax
call fcn.1007cff0
push 0x208
lea eax, [ebp - 0x3e8]
push 0
push eax
call fcn.1007cff0
add esp, 0x18
cmp di, 0x22
jne 0x1002b7fc
add esi, 2
xor eax, eax
cmp di, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push esi
call fcn.1007c926
mov edi, eax
add esp, 8
test edi, edi
jne 0x1002b826
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [esi + eax*2]
mov eax, edi
sub eax, esi
sar eax, 1
mov dword [ebp - 0x60], eax
test esi, esi
je 0x1002b8e3
cmp eax, 0x7ffffffe
ja 0x1002b8e3
add eax, 0xfffffefc
lea ecx, [ebp - 0x5f0]
mov dword [ebp - 0x24], eax
mov edx, 0x104
mov eax, esi
mov dword [ebp - 0x20], ecx
sub eax, ecx
mov dword [ebp - 0x68], eax
nop
mov eax, dword [ebp - 0x24]
add eax, edx
je 0x1002b887
mov eax, dword [ebp - 0x68]
movzx eax, word [ecx + eax]
test ax, ax
je 0x1002b880
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1002b860
jmp 0x1002b884
test edx, edx
jne 0x1002b887
sub ecx, 2
xor eax, eax
mov edx, 0x104
mov word [ecx], ax
lea ecx, [ebp - 0x3e8]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffefc
mov dword [ebp - 0x20], eax
mov eax, ecx
sub esi, eax
mov eax, dword [ebp - 0x20]
lea esp, [esp]
add eax, edx
je 0x1002b8dc
movzx eax, word [ecx + esi]
test ax, ax
je 0x1002b8d5
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x20]
sub edx, 1
jne 0x1002b8b0
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x1002b8ec
test edx, edx
jne 0x1002b8dc
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x1002b8ec
xor eax, eax
mov word [ebp - 0x3e8], ax
lea eax, [ebp - 0x3e8]
push 0x5c
push eax
call fcn.1007ccce
mov esi, eax
lea eax, [ebp - 0x3e8]
push 0x2f
push eax
call fcn.1007ccce
add esp, 0x10
test esi, esi
jne 0x1002b91e
test eax, eax
jne 0x1002b922
mov word [ebp - 0x3e8], ax
jmp 0x1002b929
cmp esi, eax
ja 0x1002b924
mov esi, eax
xor eax, eax
mov word [esi], ax
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
jne 0x1002b93a
movzx ecx, word [edi + 2]
add edi, 2
movzx eax, cx
cmp cx, 0x20
jne 0x1002b94f
movzx eax, word [edi + 2]
add edi, 2
cmp eax, 0x20
je 0x1002b943
movzx esi, ax
lea eax, [ebp - 0x24]
neg esi
mov dword [ebp - 0x24], 0
push eax
sbb esi, esi
and esi, edi
mov edi, 0x80004005
push 8
mov dword [ebp - 0x70], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002ba8e
lea eax, [ebp - 0x60]
mov dword [ebp - 0x20], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], 0
push eax
push 0x14
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1002b9b6
xor eax, eax
cmp dword [ebp - 0x20], eax
sete al
mov dword [ebp - 0x68], eax
mov edi, eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 1
jne 0x1002ba8e
cmp word [ebp - 0x3e8], 0
lea eax, [ebp - 0x5f0]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x17c], 0x3c
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x160], edi
je 0x1002ba6e
lea eax, [ebp - 0x3e8]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x104]
mov dword [ebp - 0x104], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1002c7a1
xor eax, eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 7
push 0xffffffffffffffff
push 0
call edi
mov esi, dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test eax, eax
je 0x1002bb44
mov eax, dword [ebp - 0x24]
cmp word [eax], 0
je 0x1002bb44
push eax
lea ecx, [ebp - 0x100]
call fcn.10003ae0
push 0x100b0dec
lea ecx, [ebp - 0x100]
call fcn.10026240
push dword [ebp - 0x24]
call esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0
push eax
push 5
push 0xffffffffffffffff
push 0
call edi
test eax, eax
je 0x1002c72a
push dword [ebp - 0x24]
lea ecx, [ebp - 0x100]
call fcn.10026240
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0xf0], 0
je 0x1002c72a
push str.DOpusRT_RunStd_
lea ecx, [ebp - 0x130]
call fcn.100053e0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x1002c717
push 0x60
lea eax, [ebp - 0x1e0]
push 0
push eax
call fcn.1007cff0
add esp, 0xc
lea eax, [ebp - 0x1e0]
push 0x30
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x1002c717
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x130]
call fcn.10026240
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x54]
push eax
push 0x100a4b48
push 1
push 0
push 0x100a4b58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1002c6f3
mov eax, dword [ebp - 0x54]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x88]
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xe0]
push eax
call esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x118]
push eax
call esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x110]
mov esi, dword [ebp - 0x118]
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantClear]
call eax
mov byte [ebp - 4], 8
sub esp, 0x10
mov ecx, dword [ebp - 0x60]
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], ecx
mov eax, esp
mov ecx, dword [ebp - 0xd0]
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0xc], ecx
mov eax, esp
mov ecx, dword [ebp - 0xb8]
sub esp, 0x10
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
mov ecx, esp
mov eax, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x9c]
push dword [ebp - 0x54]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0xc], eax
call dword [ebp - 0x14]
shr eax, 0x1f
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
cmp word [ebp - 0xa0], 0x40
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x1002bda2
lea eax, [ebp - 0xa0]
push eax
call esi
xor eax, eax
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 6
cmp word [ebp - 0x118], 0x40
je 0x1002bdc2
lea eax, [ebp - 0x118]
push eax
call esi
xor eax, eax
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 5
cmp word [ebp - 0xe0], 0x40
je 0x1002bde2
lea eax, [ebp - 0xe0]
push eax
call esi
xor eax, eax
mov word [ebp - 0xe0], ax
mov byte [ebp - 4], 3
cmp word [ebp - 0x88], 0x40
je 0x1002be02
lea eax, [ebp - 0x88]
push eax
call esi
xor eax, eax
mov word [ebp - 0x88], ax
cmp byte [ebp - 0x14], al
jne 0x1002c6f3
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x54]
push 0x100b0dec
mov eax, dword [eax]
mov edi, dword [eax + 0x1c]
call fcn.1002c8c0
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
test eax, eax
je 0x1002be3e
mov eax, dword [eax]
jmp 0x1002be40
xor eax, eax
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x54]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
je 0x1002be69
xor esi, esi
jmp 0x1002c6e0
cmp dword [ebp - 0x11c], 7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
lea eax, [ebp - 0x130]
jbe 0x1002be86
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002c8c0
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x1002be9d
mov eax, dword [eax]
jmp 0x1002be9f
xor eax, eax
push 0
push eax
push dword [ebp - 0x4c]
call edi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.1002c840
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x54]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x1002bed8
xor esi, esi
jmp 0x1002c6cf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x1002c6b9
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
push str.DOpusRT_RunStd
mov eax, dword [eax]
mov edi, dword [eax + 0x28]
call fcn.1002c8c0
mov byte [ebp - 4], 0x1b
mov eax, dword [eax]
test eax, eax
je 0x1002bf24
mov eax, dword [eax]
jmp 0x1002bf26
xor eax, eax
push eax
push dword [ebp - 0x8c]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
jne 0x1002c6b9
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x1002c6a4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
push str.DOpusStdUser_Principal
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
call fcn.1002c8c0
mov byte [ebp - 4], 0x27
mov eax, dword [eax]
test eax, eax
je 0x1002bf8e
mov eax, dword [eax]
jmp 0x1002bf90
xor eax, eax
push eax
push dword [ebp - 0x48]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
jne 0x1002c6a4
mov eax, dword [ebp - 0x48]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
js 0x1002c6a4
mov eax, dword [ebp - 0x48]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x1002c6a4
cmp dword [ebp - 0xec], 7
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edi, dword [eax + 0x30]
lea eax, [ebp - 0x100]
jbe 0x1002bff5
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002c8c0
mov byte [ebp - 4], 0x37
mov eax, dword [eax]
test eax, eax
je 0x1002c00c
mov eax, dword [eax]
jmp 0x1002c00e
xor eax, eax
push eax
push dword [ebp - 0x48]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
jne 0x1002c6a4
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x3e
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x1002c68f
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
push str.PT0S
mov eax, dword [eax]
mov edi, dword [eax + 0x70]
call fcn.1002c8c0
mov byte [ebp - 4], 0x69
mov eax, dword [eax]
test eax, eax
je 0x1002c0e8
mov eax, dword [eax]
jmp 0x1002c0ea
xor eax, eax
push eax
push dword [ebp - 0x38]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
jne 0x1002c68f
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0x71
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jns 0x1002c135
xor esi, esi
jmp 0x1002c679
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 0x7a
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jns 0x1002c163
xor esi, esi
jmp 0x1002c665
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0x84
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0xc4]
push edx
push str.MbLk
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x1002c652
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov edi, dword [eax + 0x2c]
lea eax, [ebp - 0x5f0]
push eax
call fcn.1002c8c0
mov byte [ebp - 4], 0x8e
mov eax, dword [eax]
test eax, eax
je 0x1002c1af
mov eax, dword [eax]
jmp 0x1002c1b1
xor eax, eax
push eax
push dword [ebp - 0x44]
call edi
shr eax, 0x1f
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x84
lea ecx, [ebp - 0x14]
call fcn.1002c840
cmp byte [ebp - 0x30], 0
jne 0x1002c652
cmp word [ebp - 0x3e8], 0
je 0x1002c21d
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
lea eax, [ebp - 0x3e8]
push eax
call fcn.1002c8c0
mov byte [ebp - 4], 0x98
mov ecx, 1
mov dword [ebp - 0xbc], ecx
mov eax, dword [eax]
test eax, eax
je 0x1002c20d
mov eax, dword [eax]
jmp 0x1002c20f
xor eax, eax
push eax
push dword [ebp - 0x44]
call edi
mov byte [ebp - 0x31], 1
test eax, eax
js 0x1002c221
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0x84
mov eax, dword [ebp - 0xbc]
test al, 1
je 0x1002c243
and eax, 0xfffffffe
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xbc], eax
call fcn.1002c840
cmp byte [ebp - 0x31], 0
jne 0x1002c652
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x1002c297
mov eax, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x70]
mov eax, dword [eax]
mov edi, dword [eax + 0x34]
call fcn.1002c8c0
mov byte [ebp - 4], 0xa2
mov eax, dword [eax]
test eax, eax
je 0x1002c273
mov eax, dword [eax]
jmp 0x1002c275
xor eax, eax
push eax
push dword [ebp - 0x44]
call edi
shr eax, 0x1f
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x84
lea ecx, [ebp - 0x70]
call fcn.1002c840
cmp byte [ebp - 0x14], 0
jne 0x1002c652
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0xad
mov eax, dword [ebp - 0x4c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xa0]
push eax
call edi
mov byte [ebp - 4], 0xae
mov eax, 8
push 0x100ab578
mov word [ebp - 0xa0], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xaf
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xe0]
push eax
call edi
mov byte [ebp - 4], 0xb0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x88]
push eax
call edi
mov byte [ebp - 4], 0xb1
cmp dword [ebp - 0x11c], 7
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x130]
jbe 0x1002c38b
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002c8c0
mov byte [ebp - 4], 0xb2
mov eax, dword [eax]
test eax, eax
je 0x1002c3a2
mov ecx, dword [eax]
jmp 0x1002c3a4
xor ecx, ecx
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xc0]
push eax
sub esp, 0x10
mov eax, esp
push 3
mov dword [eax], edx
sub esp, 0x10
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 0xc], edx
mov eax, esp
mov edx, dword [ebp - 0xb0]
sub esp, 0x10
mov dword [eax], edx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xe8]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xd0]
mov dword [eax + 0xc], edx
mov eax, esp
mov edx, dword [ebp - 0x60]
push 6
push dword [ebp - 0x24]
mov dword [eax], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x68]
push ecx
push dword [ebp - 0x4c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
call dword [ebp - 0x74]
shr eax, 0x1f
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xb1
lea ecx, [ebp - 0x3c]
call fcn.1002c840
mov byte [ebp - 4], 0xb0
cmp word [ebp - 0x88], 0x40
je 0x1002c442
lea eax, [ebp - 0x88]
push eax
call esi
xor eax, eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xaf
cmp word [ebp - 0xe0], 0x40
je 0x1002c462
lea eax, [ebp - 0xe0]
push eax
call esi
xor eax, eax
mov word [ebp - 0xe0], ax
mov byte [ebp - 4], 0xad
cmp word [ebp - 0xa0], 0x40
je 0x1002c482
lea eax, [ebp - 0xa0]
push eax
call esi
xor eax, eax
mov word [ebp - 0xa0], ax
cmp byte [ebp - 0x74], al
je 0x1002c497
xor esi, esi
jmp 0x1002c63c
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xbe
cmp dword [ebp - 0xec], 7
mov esi, dword [ebp - 0xc0]
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x100]
jbe 0x1002c4c1
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x74]
call fcn.1002c8c0
mov byte [ebp - 4], 0xbf
mov eax, dword [eax]
test eax, eax
je 0x1002c4db
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
jmp 0x1002c4e2
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0x104]
lea eax, [ebp - 0x88]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantClear]
call eax
mov byte [ebp - 4], 0xc0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x88]
push edi
push 6
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 0xc], eax
call dword [ebp - 0x3c]
shr eax, 0x1f
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xbf
cmp word [ebp - 0x88], 0x40
je 0x1002c54b
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xbe
lea ecx, [ebp - 0x74]
call fcn.1002c840
cmp byte [ebp - 0x3c], 0
jne 0x1002c629
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1002c629
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ecx, [ecx]
test esi, esi
je 0x1002c58e
push 0x1f4
call edi
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x1002c5b6
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x1002c5b6
mov eax, dword [ebp - 0x3c]
cmp eax, 2
je 0x1002c5b6
cmp eax, 3
jne 0x1002c5c4
inc esi
cmp esi, 0xf0
jge 0x1002c5c4
mov eax, dword [ebp - 0x40]
jmp 0x1002c580
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1002c5d8
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x11c], 7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
lea eax, [ebp - 0x130]
jbe 0x1002c5f5
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002c8c0
mov byte [ebp - 4], 0xd7
mov eax, dword [eax]
test eax, eax
je 0x1002c60c
mov eax, dword [eax]
jmp 0x1002c60e
xor eax, eax
push 0
push eax
push dword [ebp - 0x4c]
call esi
mov byte [ebp - 4], 0xbe
lea ecx, [ebp - 0x3c]
call fcn.1002c840
mov esi, 1
jmp 0x1002c62b
xor esi, esi
mov byte [ebp - 4], 0xad
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1002c63c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x84
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002c654
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c654
xor esi, esi
mov byte [ebp - 4], 0x7a
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1002c665
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x71
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x1002c679
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x1002c691
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c691
xor esi, esi
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1002c6a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c6a6
xor esi, esi
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1002c6bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c6bb
xor esi, esi
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x1002c6cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1002c6e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1002c6f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c6f5
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1002c719
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.10004df0
jmp 0x1002c72c
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.10004df0
jmp 0x1002c72c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xec]
cmp ecx, 7
jbe 0x1002c76f
mov edx, dword [ebp - 0x100]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c765
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c7b6
push ecx
push edx
call fcn.10079cf9
add esp, 8
xor eax, eax
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
mov eax, esi
mov dword [ebp - 0xec], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100807af
int3