joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x414e49
xor ecx, ecx
jne 0x414e49
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x414e6a
mov eax, 0xd
jmp 0x414ec5
xor eax, eax
jne 0x414e51
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 0x414e7b
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 0x415ff0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x416017
push 0
push 0
push 0x415f40
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x41a0c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x41a0d4
xor eax, eax
jmp 0x41a0ef
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00452202
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41a100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x41a114
xor eax, eax
jmp 0x41a12f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00452381
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4247d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x47fa30]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x42480a
mov eax, 1
jmp 0x42480c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450655
mov esp, ebp
pop ebp
ret
Function at 0x42aaa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x80]
call fcn.0042d2b0
test eax, eax
jne 0x42aac0
jmp 0x42abba
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x80]
call fcn.00416ab0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
cmp ecx, 5
jge 0x42ab06
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 4]
cmp ecx, 5
jge 0x42ab06
push 0
push 0x46c560
push 0x46c564
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x88]
call fcn.00435c70
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x80]
call fcn.00416ab0
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2c]
push eax
call fcn.0043be00
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42abab
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x304], 0
jne 0x42ab7a
mov ecx, dword [ebp - 0xc]
add ecx, 0x300
call fcn.0043a170
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.0043bf20
add esp, 8
jmp 0x42aba1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x304], 1
jne 0x42aba1
mov ecx, dword [ebp - 0xc]
add ecx, 0x300
call fcn.0043a170
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c2e0
add esp, 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x42ba00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x47fa30]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x46c580]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x46c584]
mov dword [ebp - 0x34], ecx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], 2
xor eax, eax
mov word [ebp - 0x248], ax
push 0x208
push 0
lea ecx, [ebp - 0x246]
push ecx
call fcn.00450ec0
add esp, 0xc
push 0x46c588
push 0x46c598
push 0x46c5c4
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.00454e6e
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 4]
push edx
push 0x46c5d0
lea eax, [ebp - 0x248]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0x46c5ec
lea ecx, [ebp - 0x248]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp + 0xc], 0
je 0x42badb
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410490
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450655
mov esp, ebp
pop ebp
ret

Function at 0x42c0d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0xfa000
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x42c106
xor eax, eax
jmp 0x42c17c
mov ecx, 1
test ecx, ecx
je 0x42c15f
cmp dword [ebp + 0x10], 0xfa000
jae 0x42c11e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c13e
jmp 0x42c170
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jne 0x42c148
jmp 0x42c15f
mov edx, dword [ebp + 0x10]
sub edx, 0xfa000
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
jmp 0x42c106
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x42c17c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42c7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x47fa30]
xor eax, ebp
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [ebp - 0x228], ax
push 0x206
push 0
lea ecx, [ebp - 0x226]
push ecx
call fcn.00450ec0
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x228]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042ba00
add esp, 8
lea edx, [ebp - 0x14]
push edx
call fcn.0042bb00
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00415ea0
push 0
call fcn.0042c8d0
add esp, 4
push eax
call fcn.00454fcc
add esp, 4
call fcn.00454fde
cdq
mov ecx, 0x64
idiv ecx
add edx, 1
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
push edx
movzx eax, word [ebp - 8]
add eax, dword [ebp - 4]
push eax
movzx ecx, word [ebp - 0xa]
add ecx, dword [ebp - 4]
push ecx
movzx edx, word [ebp - 0xc]
add edx, dword [ebp - 4]
push edx
movzx eax, word [ebp - 0xe]
push eax
movzx ecx, word [ebp - 0x12]
push ecx
movzx edx, word [ebp - 0x14]
push edx
lea eax, [ebp - 0x228]
push eax
push str._s360
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0042e370
add esp, 0x28
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0042e290
lea ecx, [ebp - 0x1c]
call fcn.004107a0
lea ecx, [ebp - 0x18]
call fcn.004107a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00450655
mov esp, ebp
pop ebp
ret

Function at 0x42c9e0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0042e100
test eax, eax
je 0x42ca42
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x80]
call fcn.00416ab0
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.0043be00
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x42ca44
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x433650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x43c2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x47fa30]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
call fcn.00410490
push str..tmp
lea ecx, [ebp - 4]
call fcn.0043c3c0
lea ecx, [ebp - 4]
call fcn.0043a170
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043bf20
add esp, 8
push 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c150
push 1
lea ecx, [ebp - 4]
call fcn.0043a170
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00419820
lea ecx, [ebp - 0x1c8]
call fcn.0041dae0
movzx edx, al
test edx, edx
je 0x43c374
push 0x63
lea ecx, [ebp - 0x1c8]
call fcn.0041d9b0
push 3
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00419350
lea ecx, [ebp - 4]
call fcn.0043a170
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1cc], 1
lea ecx, [ebp - 0x1c8]
call fcn.0041a450
lea ecx, [ebp - 4]
call fcn.004107a0
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00450655
mov esp, ebp
pop ebp
ret

Function at 0x43c580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47fa30]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 0x46ce4c
mov eax, dword [ebp + 8]
push eax
call fcn.00451f21
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43c5cb
jmp 0x43c66f
mov ecx, dword [ebp - 8]
push ecx
push 8
push 1
lea edx, [ebp - 0x1c]
push edx
call fcn.00452202
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00402a10
add esp, 0xc
test eax, eax
je 0x43c5f5
jmp 0x43c66f
push 0
push fcn.00426f70
push 0
push 0x46ce54
call fcn.00401000
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c616
jmp 0x43c66f
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00402ba0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43c62d
jmp 0x43c66f
push 0x43cb50
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00403650
add esp, 0xc
push 8
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004029d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043c7c0
add esp, 0xc
mov dword [ebp - 0x10], eax
xor edx, edx
jne 0x43c5ac
cmp dword [ebp - 0xc], 0
je 0x43c68f
cmp dword [ebp - 4], 0
je 0x43c68f
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004024c0
add esp, 0xc
jmp 0x43c6a5
cmp dword [ebp - 0xc], 0
je 0x43c6a5
push 0
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.004024c0
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x43c6b7
mov eax, dword [ebp - 8]
push eax
call fcn.00451ddf
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450655
mov esp, ebp
pop ebp
ret
Function at 0x43d250
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x43d27f
push esi
call fcn.0043d9d0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x43d278
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x43d2f9
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x43d2e9
mov eax, dword [esi + 8]
test eax, eax
je 0x43d2a4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x43d2e5
cmp eax, 2
je 0x43d2e9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d295
cmp eax, 3
je 0x43d2cc
cmp eax, 1
jne 0x43d295
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x43d295
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x43d295
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0043d0e0
pop esi
ret
cmp eax, 0xcc
je 0x43d31b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0043d0e0
pop esi
ret

Function at 0x4474a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x4474c7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x4474d3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x4475c9
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x44751c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x44753d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.00447310
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x447567
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.00447310
mov ecx, eax
cmp esi, ecx
jg 0x447557
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x447553
cmp dword [esp + 0x10], 0
je 0x4475ac
mov eax, 1
lea ecx, [edi - 1]
jmp 0x447590
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x447590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x447510
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4500bb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4814a4], 0
push esi
jne 0x45002e
call fcn.0044ff54
test eax, eax
je 0x450071
mov eax, dword [0x4814a4]
cmp eax, 1
jne 0x45004f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x450071
pop esi
ret
push eax
call dword [0x4814ac]
test eax, eax
jne 0x4500b9
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 0x450075
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4814a4]
call dword [0x4814ac]
mov edi, eax
test edi, edi
je 0x45009a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4500b6
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4814a4]
call dword [0x4814a8]
add edi, 0x10
cmp edi, esi
jb 0x4500a2
mov eax, edi
pop edi
pop esi
ret
jmp 0x45001b

Function at 0x450655
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47fa30]
jne 0x45065f
repz ret
jmp fcn.004562c6

Function at 0x462fa5
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.00457e49
and dword [ebp - 4], 0
cmp dword [0x481fc0], 0
mov ebx, eax
jne 0x463056
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x463107
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x463107
push eax
call fcn.00457dd7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x481fc0], eax
call esi
push eax
call fcn.00457dd7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x481fc4], eax
call esi
push eax
call fcn.00457dd7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x481fc8], eax
call esi
push eax
call fcn.00457dd7
pop ecx
mov dword [0x481fd0], eax
test eax, eax
je 0x463056
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00457dd7
pop ecx
mov dword [0x481fcc], eax
mov eax, dword [0x481fcc]
cmp eax, ebx
je 0x4630ae
cmp dword [0x481fd0], ebx
je 0x4630ae
push eax
call fcn.00457e52
push dword [0x481fd0]
mov esi, eax
call fcn.00457e52
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4630ae
test edi, edi
je 0x4630ae
call esi
test eax, eax
je 0x4630a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4630a5
test byte [ebp - 0xc], 1
jne 0x4630ae
or dword [ebp + 0x10], 0x200000
jmp 0x4630e7
mov eax, dword [0x481fc4]
cmp eax, ebx
je 0x4630e7
push eax
call fcn.00457e52
pop ecx
test eax, eax
je 0x4630e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4630e7
mov eax, dword [0x481fc8]
cmp eax, ebx
je 0x4630e7
push eax
call fcn.00457e52
pop ecx
test eax, eax
je 0x4630e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x481fc0]
call fcn.00457e52
pop ecx
test eax, eax
je 0x463107
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x463109
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1012e79
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x1012f1e
push edi
call fcn.0104eab7
test eax, eax
jne 0x1012f1e
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
push esi
mov esi, 0x1003a44
push esi
call ebx
push eax
push esi
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x1012ebb
push esi
call ebx
pop ecx
lea edi, [edi + eax*2]
push edi
call fcn.0104df41
test eax, eax
jne 0x1012ecc
mov eax, 0x80070002
jmp 0x1012f1a
call fcn.010080a4
test eax, eax
je 0x1012edf
call fcn.0100809e
mov eax, dword [eax + 4]
jmp 0x1012ee1
xor eax, eax
push 1
xor esi, esi
push esi
push esi
push edi
push esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x1012f18
cmp eax, esi
jle 0x1012f03
and eax, 0xffff
or eax, 0x80070000
push edi
push eax
push 0x4719
call fcn.01008074
mov ecx, eax
call fcn.01008d1b
jmp 0x1012f1a
xor eax, eax
pop esi
pop ebx
jmp 0x1012f23
mov eax, 0x80070057
pop edi
ret 4

Function at 0x1012f27
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1012fe3
push ebx
call fcn.0104eab7
test eax, eax
jne 0x1012fe3
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
mov esi, 0x1003a44
push esi
mov dword [ebp + 8], ebx
call edi
push eax
push esi
push ebx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x1012f77
push esi
call edi
pop ecx
lea ebx, [ebx + eax*2]
jmp 0x1012f7a
mov ebx, dword [ebp + 8]
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0x1003a54
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1012fdc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1012fba
call esi
jmp 0x1012fc6
call esi
and eax, 0xffff
or eax, 0x80070000
push ebx
push eax
push 0x471c
call fcn.01008074
mov ecx, eax
call fcn.01008d1b
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
jmp 0x1012fe8
mov eax, 0x80070057
pop ebx
leave
ret 4
Function at 0x1013616
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x106ed40]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
mov esi, 0x458f
xor ebx, ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
call fcn.01008074
mov ecx, eax
call fcn.010579fc
test eax, eax
je 0x1013671
push ebx
push esi
push 0x1000000
push 4
push ebx
push 0x997
push 0x10039b8
call fcn.01056fa7
push eax
call fcn.01008074
push eax
call fcn.01058315
add esp, 0x18
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, 0xff
push edi
lea eax, [ebp - 0x208]
push eax
push 0x65
push dword [0x107093c]
call esi
push edi
lea eax, [ebp - 0x408]
push eax
push 0x66
push dword [0x107093c]
call esi
call fcn.0100809e
push dword [eax + 0x228]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call fcn.0104eccd
test eax, eax
pop edi
jge 0x1013723
push 1
push ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.0100809e
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x1013723
cmp eax, ebx
jle 0x1013707
and eax, 0xffff
or eax, 0x80070000
lea ecx, [ebp - 0x208]
push ecx
push eax
push 0x471b
call fcn.01008074
mov ecx, eax
call fcn.01008d1b
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
mov eax, dword [ebp - 8]
pop esi
pop ebx
call fcn.0104ab5e
leave
ret 4

Function at 0x101429c
Capabilities:
Create process on windows

Disassembly:
push esi
push 1
xor esi, esi
push esi
push esi
push dword [esp + 0x18]
call fcn.01008080
mov ecx, eax
call fcn.010088ae
push eax
push esi
call fcn.0100809e
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x10142fd
cmp eax, esi
jle 0x10142d6
and eax, 0xffff
or eax, 0x80070000
push dword [esp + 0xc]
mov esi, eax
call fcn.01008080
mov ecx, eax
call fcn.010088ae
push eax
push esi
push 0x471a
call fcn.01008074
mov ecx, eax
call fcn.01008d1b
jmp 0x10142ff
xor eax, eax
pop esi
ret 8

Function at 0x10148f2
Capabilities:
Create process on windows

Disassembly:
push esi
xor esi, esi
call fcn.01008080
push 1
push esi
push esi
push 1
push 0x106
mov ecx, eax
call fcn.01008799
push eax
push esi
call fcn.0100809e
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x1014959
cmp eax, esi
jle 0x101492f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
call fcn.01008080
push 1
push 0x104
mov ecx, eax
call fcn.01008799
push eax
push esi
push 0x471a
call fcn.01008074
mov ecx, eax
call fcn.01008d1b
mov esi, eax
mov eax, esi
pop esi
ret 4