joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101595a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x10159682
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x101595f1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x101595f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10170335
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x1015961d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.101743d0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x10159646
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x10159679
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.10158e70
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x1015963d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x101596dd
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x101596aa
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x10159712
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call fcn.101743d0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x10159712
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x10159706
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x10159712
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10159d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x10159e52
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x10159dc4
xor eax, eax
jmp 0x10159ec2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x88]
sub eax, dword [edx + 0x8c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jbe 0x10159de7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x8c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.101743d0
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.10158c10
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x10159ec2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7c], 0
je 0x10159eb6
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10159e83
xor eax, eax
jmp 0x10159ec2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.10158c10
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0xc]
jmp 0x10159ec2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1015b7f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4668
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.10005e60
test eax, eax
je 0x1015b84e
push 0x24
push 0x101e2160
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.100043a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1015b84e
mov eax, 0xfffffe6f
jmp 0x1015b8a8
push 5
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.10004390
push eax
push 0
push str.clearhist.exe
push 0x101e2188
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
call edx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10005e00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1015d2d0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
call fcn.1015d230
test eax, eax
jne 0x1015d300
mov eax, 1
jmp 0x1015d453
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 5
lea eax, [ebp - 0x24]
push eax
push 0
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1015d365
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x1015d35e
lea ecx, [ebp - 0x24]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1015d35c
xor eax, eax
jmp 0x1015d453
jmp 0x1015d365
xor eax, eax
jmp 0x1015d453
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1015d384
xor eax, eax
jmp 0x1015d453
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1015d396
xor eax, eax
jmp 0x1015d453
mov eax, dword [ebp - 0xc]
call fcn.10174740
mov dword [ebp - 0x2c], esp
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1015d3b4
xor eax, eax
jmp 0x1015d453
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1015d3d4
xor eax, eax
jmp 0x1015d453
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1015d3ff
xor eax, eax
jmp 0x1015d453
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x1015d418
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jae 0x1015d446
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*8 + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1015d444
mov dword [ebp - 0x20], 1
jmp 0x1015d446
jmp 0x1015d40f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x1015edd0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], ecx
push 0x24
push 0x101e3af4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
call fcn.100043a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1015ee03
mov eax, 0xfffffe6f
jmp 0x1015ef74
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x7a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1015eee8
cmp dword [ebp - 0x30], 0x7a
je 0x1015ee4e
cmp dword [ebp - 0x30], 0x103
je 0x1015eedf
jmp 0x1015ef39
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.10170335
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], 0
jne 0x1015eeaa
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xc], eax
xor ecx, ecx
cmp dword [ebp - 0xc], 0
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x1015eebf
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1015eece
mov dword [ebp - 0x14], 0
jmp 0x1015eedd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x1015ef40
mov dword [ebp - 0x18], 1
jmp 0x1015ef40
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x100000
jne 0x1015ef03
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x1015ef28
mov dword [ebp - 0x14], 0
jmp 0x1015ef37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x1015ef40
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x1015ef68
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.10170335
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1015ef68
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
cmp dword [ebp - 0x18], 0
je 0x1015ee26
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x101620f0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x28
call fcn.10005e60
test eax, eax
je 0x10162132
push 0x24
push 0x101e5260
mov ecx, dword [ebp - 0x30]
add ecx, 0x28
call fcn.100043a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x10162132
mov eax, 0xfffffe6f
jmp 0x101622b1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x7a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10162225
cmp dword [ebp - 0x34], 0x7a
je 0x10162184
cmp dword [ebp - 0x34], 0x103
je 0x10162215
jmp 0x10162276
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.10170335
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], 0
jne 0x101621e0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xc], eax
xor ecx, ecx
cmp dword [ebp - 0xc], 0
setne cl
mov dword [ebp - 0x20], ecx
jmp 0x101621f5
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10162204
mov dword [ebp - 0x18], 0
jmp 0x10162213
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x1016227d
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 1
jmp 0x1016227d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x100000
je 0x10162240
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x10162265
mov dword [ebp - 0x18], 0
jmp 0x10162274
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x1016227d
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x101622a5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10170335
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x101622a5
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
cmp dword [ebp - 0x1c], 0
je 0x1016215c
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10162750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4c18
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x834], ecx
lea ecx, [ebp - 0x14]
call fcn.10020e50
mov dword [ebp - 4], 0
push 0x2001f
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.100210a0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x1c], 0x3e8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x824]
push ecx
push 0x101e635c
lea ecx, [ebp - 0x14]
call fcn.100b2f80
lea edx, [ebp - 0x824]
push edx
lea ecx, [ebp - 0x18]
call fcn.10003dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10162940
push 0x101e6388
lea ecx, [ebp - 0x18]
call fcn.10098180
movzx eax, al
test eax, eax
je 0x1016280e
push 0x101e6390
lea ecx, [ebp - 0x18]
call fcn.10090a00
jmp 0x1016281b
push 0x101e6398
lea ecx, [ebp - 0x18]
call fcn.10090a00
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.10138710
mov dword [ebp - 0x838], eax
mov ecx, dword [ebp - 0x838]
call fcn.10013030
push eax
push str.Display_Inline_Images
lea ecx, [ebp - 0x14]
call fcn.100217a0
lea ecx, [ebp - 0x82c]
call fcn.100058a0
push 0x101e63cc
lea ecx, [ebp - 0x18]
call fcn.10098180
movzx edx, al
push edx
mov ecx, dword [ebp - 0x834]
add ecx, 0xc
call fcn.100043a0
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x1c]
add ecx, 0xc4
mov edx, dword [edx + 0xc4]
mov eax, dword [edx + 0x7c]
call eax
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x434]
mov ecx, dword [eax + 0x628]
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x434]
mov eax, dword [edx + 0x628]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x30]
call edx
lea ecx, [ebp - 0x14]
call fcn.10020fd0
mov dword [ebp - 0x830], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100058a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10020e80
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 8
Function at 0x1016aab0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x28
call fcn.10005e60
test eax, eax
je 0x1016ab05
push 0x24
push 0x101ed83c
mov ecx, dword [ebp - 0x218]
add ecx, 0x28
call fcn.100043a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1016ab05
mov eax, 0xfffffe6f
jmp 0x1016ab74
mov ax, word [0x101ed848]
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1016f6c0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x214], esp
lea eax, [ebp - 0x210]
push eax
call fcn.10005d80
mov dword [ebp - 0x21c], eax
call fcn.100a70c0
add esp, 0x10
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 8
Function at 0x1016ed7f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1022f8f0], 0
push esi
jne 0x1016eced
call fcn.1016ec01
test eax, eax
je 0x1016ed30
mov eax, dword [0x1022f8f0]
cmp eax, 1
jne 0x1016ed0e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1016ed30
pop esi
ret
push eax
call dword [0x1022f8f8]
test eax, eax
jne 0x1016ed78
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1016ed34
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1022f8f0]
call dword [0x1022f8f8]
mov edi, eax
test edi, edi
je 0x1016ed59
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1016ed75
mov edi, esi
add esi, 0xff0
push edi
push dword [0x1022f8f0]
call dword [0x1022f8f4]
add edi, 0x10
cmp edi, esi
jb 0x1016ed61
mov eax, edi
pop edi
pop esi
ret
jmp 0x1016ecda

Function at 0x1016f6a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1022c684]
jne 0x1016f6ac
repz ret
jmp fcn.10179b0c
Function at 0x10192c75
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10179441
and dword [ebp - 4], 0
cmp dword [0x1023041c], 0
mov ebx, eax
jne 0x10192d26
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10192dd7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10192dd7
push eax
call fcn.101793cf
mov dword [esp], 0x101f8e58
push edi
mov dword [0x1023041c], eax
call esi
push eax
call fcn.101793cf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10230420], eax
call esi
push eax
call fcn.101793cf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10230424], eax
call esi
push eax
call fcn.101793cf
pop ecx
mov dword [0x1023042c], eax
test eax, eax
je 0x10192d26
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101793cf
pop ecx
mov dword [0x10230428], eax
mov eax, dword [0x10230428]
cmp eax, ebx
je 0x10192d7e
cmp dword [0x1023042c], ebx
je 0x10192d7e
push eax
call fcn.1017944a
push dword [0x1023042c]
mov esi, eax
call fcn.1017944a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10192d7e
test edi, edi
je 0x10192d7e
call esi
test eax, eax
je 0x10192d75
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10192d75
test byte [ebp - 0xc], 1
jne 0x10192d7e
or dword [ebp + 0x10], 0x200000
jmp 0x10192db7
mov eax, dword [0x10230420]
cmp eax, ebx
je 0x10192db7
push eax
call fcn.1017944a
pop ecx
test eax, eax
je 0x10192db7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10192db7
mov eax, dword [0x10230424]
cmp eax, ebx
je 0x10192db7
push eax
call fcn.1017944a
pop ecx
test eax, eax
je 0x10192db7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1023041c]
call fcn.1017944a
pop ecx
test eax, eax
je 0x10192dd7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10192dd9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x44ba10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x65dd9c]
sub esp, 0x10
push esi
push eax
mov esi, 1
call sub.WINSPOOL.DRV_StartPagePrinter
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push str.SoftwareAdobeAdobe_Acrobat11.0Security
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44ba8e
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x65d054
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44ba83
mov eax, dword [esp + 4]
test eax, eax
jne 0x44ba83
xor esi, esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret