joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458924
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458936
add esp, 0xfffffff0
call fcn.00403bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a530
mov eax, dword [0x50a65c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458cc8
mov eax, dword [0x50a668]
mov dword [eax + 4], ebx
mov dword [eax], 0x458cd4
mov eax, ebx
call fcn.00458ce0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x454778
push eax
push 0
push 0
mov eax, dword [0x50a7d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e1d0]
call fcn.0041fa24
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e1d0]
call fcn.0041fa24
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e1d0]
call fcn.0041fa24
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459110
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458fe0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458fe0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458fe0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458a73
call fcn.00403c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458dc4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458f6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458f50
mov dl, 1
mov eax, dword [0x412578]
call fcn.0040387c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458f3f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b8a4
test al, al
je 0x458f32
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x458f80
lea eax, [ebp - 0x254]
call fcn.004093fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458f32
xor eax, eax
push ebp
push 0x458f2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x458fb8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458f14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404948
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x458f14
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458f32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458e35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004162f8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458f76
lea eax, [ebp - 0x260]
call fcn.004046d8
ret

Function at 0x4598e8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x50e584]
cmp byte [eax + 0xad], 0
jne 0x459959
cmp dword [0x50e59c], 0
jne 0x45991a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4598a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x50e59c], eax
cmp dword [0x50e598], 0
jne 0x459935
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x50e598], eax
cmp dword [0x50e5a0], 0
jne 0x459959
push esp
push 0
push 0
push 0x459848
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x50e5a0], eax
pop edx
ret
Function at 0x459b2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459b43
add esp, 0xfffffff0
call fcn.00403bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a530
mov eax, dword [0x50a7b8]
cmp word [eax + 2], 0
jne 0x459b6b
mov eax, dword [0x50a7b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b5dc
mov eax, dword [0x50a86c]
cmp word [eax + 2], 0
jne 0x459b85
mov eax, dword [0x50a86c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b7e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412154]
call fcn.0040387c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ece0]
call fcn.00426b10
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x459d3c
mov eax, dword [0x50a6c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426ee4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bea8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50a6c8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc44
test eax, eax
je 0x459c8c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408da0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc78
test eax, eax
je 0x459ca0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404948
mov byte [ebx + 0xd4], 0
push ebx
push 0x45b13c
call fcn.0041b6ac
mov dword [ebx + 0xc8], eax
mov eax, dword [0x50a598]
cmp byte [eax], 0
jne 0x459cf1
mov eax, ebx
call fcn.00459e80
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045c084
mov eax, ebx
call fcn.0045cbe4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459d31
call fcn.00403c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a100
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50e584]
cmp dword [eax + 0x30], 0
je 0x45a1aa
cmp dword [ebx + 0x94], 0
jne 0x45a1a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a090
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a1a4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a16a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a1a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414588
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a179
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45aec4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45aef9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047c8
jmp 0x45af06
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040472c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c268
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c2d6
mov eax, esi
call fcn.0044653c
test al, al
je 0x45c2d6
mov eax, dword [ebx + 0x84]
call fcn.0044619c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c2d6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c2ca
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044619c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043e5c8
jmp 0x45c2d6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c0a4
pop esi
pop ebx
ret

Function at 0x45fc94
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b9c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x46318c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4631ba
mov eax, ebx
call fcn.00463c40
cmp dword [ebx + 0x40], 0
je 0x4631b3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46322b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46321d
cmp dword [ebx + 8], 0
je 0x4631dc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4631ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46321d
cmp dword [ebx + 8], 0
je 0x4631cf
cmp eax, 3
je 0x463201
dec eax
jne 0x4631cf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4631cf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4631cf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x463249
cmp dword [ebx + 0x14], 0xcc
je 0x463249
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00463254
pop ebx
ret
Function at 0x4031f1
Capabilities:
Accept command line arguments
Check os version
Get file system object information

Disassembly:
sub esp, 0x184
push ebx
push esi
push edi
xor ebx, ebx
push 0x8001
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov dword [esp + 0x20], ebx
mov byte [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xbfffffff
cmp ax, 6
mov dword [0x42f40c], eax
je 0x403243
push ebx
call fcn.004062fd
cmp eax, ebx
je 0x403243
push 0xc00
call eax
mov esi, str.UXTHEME
push esi
call fcn.0040628f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x403248
push 0xa
call fcn.004062fd
push 8
call fcn.004062fd
push 6
mov dword [0x42f404], eax
call fcn.004062fd
cmp eax, ebx
je 0x40328a
push 0x1e
call eax
test eax, eax
je 0x40328a
or byte [0x42f40f], 0x40
push ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [0x42f4d8], eax
push ebx
lea eax, [esp + 0x38]
push 0x160
push eax
push ebx
push 0x429830
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push str.NSIS_Error
push 0x42ec00
call fcn.00405f65
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebp, 0x435000
push eax
push ebp
call fcn.00405f65
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x435000], 0x22
mov dword [0x42f400], eax
mov eax, ebp
jne 0x4032f6
mov byte [esp + 0x14], 0x22
mov eax, 0x435001
push dword [esp + 0x14]
push eax
call 0x6b32d328
add byte [edi + 0x69], bl
lds esp, [0x3b85b7ab]
cli
imul eax, ebp, 0x85b7ab25
cmp edi, edx
jo 0x40330f
test bl, 0x8a
sbb ch, ch
test eax, ebx
xchg dl, bl
add edi, 0xfb257
cmp ebp, 0x6467
jne 0x40332a
xor ecx, edi
or eax, 0xcf065ce5
sub edi, 0xfb256
and ch, 0xcf
test edx, 0xdd9967d2
js 0x40333f
test esi, edi
test ah, bh
movsx eax, ah
or al, 0x14
movzx ecx, cx
cmp edi, 0xad4
jl 0x403302
test eax, esi
push eax
push edx
lea ebx, [0x2c1d57fd]
mov bh, bh
push esi
inc bl
mov ebp, 0xc2af5ceb
jmp 0x403371
inc ebp
xor edx, 0x1051
sbb eax, 0xf955b7e6
dec ebx
test ebp, 0x9017c825
mov edi, eax
mov ah, ch
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x54c31bf6
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x31476581
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x50755400
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3ce241e3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6cd33dce
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x258d5588
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10155cc7
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov dword [0x102a157c], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x102a157c]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x102a157c], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10155d3d
xor eax, eax
mov dword [0x102a157c], 0x264f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
je 0x10155dff
jmp 0x10155e51
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x10155d71
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x104
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ecx
jl 0x10155d3d
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x102a157c], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x10155e51
xor eax, eax
mov dword [0x102a157c], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x10155e51
mov dword [0x102a157c], 0x2505
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x10155e51
xor eax, eax
mov dword [0x102a1580], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
je 0x10155d16
jmp 0x10155e51
xor eax, eax
mov dword [0x102a157c], 0x1f9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x24], eax
jne 0x10155e51
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x31], dl
xor eax, eax
mov cl, byte [ebp - 0x31]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x10155e3f
jmp 0x10155e51
mov eax, 1
mov dword [0x102a157c], 0x536
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x101560e3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102a1588], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x102a158c], 0
mov dword [0x102a1580], 0x247e
mov dword [0x102a1584], 0
mov dword [ebp - 0x1c], eax
jmp 0x1015613b
mov dword [0x102a1584], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10156163
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102a1584]
add eax, 1
mov dword [0x102a1584], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1015613b
jmp 0x1015612a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102a1590], 0
mov edx, dword [0x102a157c]
mov esi, edx
add esi, 0xffffd965
mov dword [0x102a1580], esi
mov esi, dword [0x102a1588]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102a1590], ebx
mov dword [0x102a1580], 0x162a
mov eax, ebx
cdq
idiv ecx
mov dword [0x102a1588], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x26f4
mov dword [0x102a157c], ecx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x102a158c], cl
mov dword [0x102a157c], 0x8fc
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x102a157c], 0x721
mov cl, byte [0x102a158c]
mov ebx, dword [0x102a1588]
mov byte [edi + ebx], cl
mov dword [0x102a1580], 0x15d4
mov ebx, dword [0x102a1584]
add ebx, 1
mov dword [0x102a1584], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x10156163
mov dword [0x102a157c], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015624f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1015970f]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x102a157c]
add ebx, 0x1e99
mov dword [0x102a157c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.10156024
mov eax, dword [0x102a157c]
add eax, 0xfffffc44
mov dword [0x102a1580], eax
mov dword [0x102a157c], 0x6c2
call fcn.1015683a
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10155e9a
xor ecx, ecx
mov dword [0x102a157c], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x101563a5
mov eax, dword [ebp - 0x40]
mov dword [0x102a157c], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102a157c]
add ecx, 0x194b
mov dword [0x102a1580], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10156730
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov ecx, dword [ebp - 0x4c]
mov word [ecx], 0x5a4d
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x3c], 0xd0
mov dword [edx + 0xd0], 0x4550
add edx, 0xffc00000
mov esi, dword [ebp - 0x34]
mov dword [esi + 0x14], edx
mov dword [0x102a157c], 0x341
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x30], edx
cmp edx, 0
mov dword [ebp - 0x44], eax
je 0x101563a5
mov dword [0x102a1580], 0x1ddf
mov eax, dword [ebp - 0x48]
add eax, 0x15d7
mov dword [0x102a157c], 0xffffefc9
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret