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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4765e2
add esp, 0xfffffff0
call fcn.004040b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425d84
mov eax, dword [0x4987d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4769e4
mov eax, dword [0x4987f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4769f0
mov eax, ebx
call fcn.004769fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x74], 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, 0x471930
push eax
push 0
push 0
mov eax, dword [0x498a5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42a438]
call fcn.0042c214
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x42a438]
call fcn.0042c214
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x42a438]
call fcn.0042c214
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x42a438]
call fcn.0042c214
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.00476ef4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476dcc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476dcc
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476dcc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476dcc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476735
call fcn.00404110
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476b6c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476d19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476cfa
mov dl, 1
mov eax, dword [0x41c47c]
call fcn.00421150
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.004056d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476ce9
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.0046678c
test al, al
je 0x476cdc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x476d28
lea eax, [ebp - 0x394]
call fcn.0040c534
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x476cdc
xor eax, eax
push ebp
push 0x476cd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x476d98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x476cbe
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004058c0
mov edx, dword [ebp - 0x3a0]
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 0x476cbe
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004058c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476cdc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476bdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00420f3c
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 0x476d20
lea eax, [ebp - 0x3a0]
call fcn.004056c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x49e1a8]
cmp byte [eax + 0xa9], 0
jne 0x47777a
cmp dword [0x49e1c0], 0
jne 0x47773a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x496244]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x49e1c0], eax
cmp dword [0x49e1bc], 0
jne 0x477755
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x49e1bc], eax
cmp dword [0x49e1c4], 0
jne 0x47777a
push esp
push 0
push 0
mov eax, dword [0x496240]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49e1c4], eax
pop edx
ret
Function at 0x477990
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4779a7
add esp, 0xfffffff0
call fcn.004040b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425d84
mov eax, dword [0x49864c]
cmp byte [eax], 0
jne 0x4779d4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x498a34]
cmp word [eax + 2], 0
jne 0x4779ee
mov eax, dword [0x498a34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00479934
mov eax, dword [0x498b68]
cmp word [eax + 2], 0
jne 0x477a08
mov eax, dword [0x498b68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00479b44
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42a438]
call fcn.0042c214
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x479fd8
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42afec]
call fcn.00433554
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x477be4
mov eax, dword [0x4988a4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00433958
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47a288
mov dl, 1
mov eax, dword [0x41bd98]
call fcn.00403c38
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4988a4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040c380
test eax, eax
je 0x477b16
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040c180
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040c368
test eax, eax
je 0x477b2e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004058c0
push ebx
push 0x47931c
call fcn.0046e0f8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x49864c]
cmp byte [eax], 0
jne 0x477b7f
mov eax, ebx
call fcn.00477d58
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0047a4b0
mov eax, ebx
call fcn.0047b074
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x477bdc
call fcn.00404110
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47802c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4780ce
cmp dword [ebx + 0x90], 0
jne 0x4780c8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477f78
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x4780c8
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_GetWindowLongW
test al, 8
je 0x47808e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4780c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041e648
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47809d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4782ec
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49e1a8]
cmp dword [eax + 0x170], 0
je 0x478451
test bl, bl
jne 0x47839f
cmp dword [esi + 0x98], 0
jne 0x478394
mov eax, esi
call fcn.0047aec4
push eax
push 0x4781f8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x478365
mov eax, dword [0x49e1a8]
cmp byte [eax + 0xcf], 0
je 0x478365
mov eax, dword [esi + 0xd4]
call fcn.00406ce8
mov edi, eax
cmp edi, 0
jl 0x478365
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47834e
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x478394
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041e648
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x478374
inc dword [esi + 0x98]
jmp 0x478451
cmp dword [esi + 0x98], 0
jle 0x478451
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x478451
cmp dword [esi + 0x40], 0
je 0x4783fc
mov eax, dword [0x49e1a8]
cmp byte [eax + 0xcf], 0
je 0x4783fc
mov eax, dword [esi + 0xd4]
call fcn.00406ce8
mov edi, eax
cmp edi, 0
jl 0x4783fc
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4783e5
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47842b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041e648
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47840b
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x46db00]
call fcn.00406ea8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47900c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x479077
cmp byte [ebx + 0xcf], 0
jne 0x479077
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405814
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x479064
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479084
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004056d8
jmp 0x479084
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004056d8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x47a684
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x47a6f2
mov eax, esi
call fcn.00461044
test al, al
je 0x47a6f2
mov eax, dword [ebx + 0x80]
call fcn.00460c98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47a6f2
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47a6e6
push 0
mov eax, dword [ebx + 0x80]
call fcn.00460c98
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.004582f4
jmp 0x47a6f2
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0047a4d0
pop esi
pop ebx
ret

Function at 0x483868
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48391e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405764
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x483908
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405a3c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405764
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x483908
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x483930
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x483908
cmp dword [ebp - 0xc], 0x34
jne 0x483908
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483925
lea eax, [ebp - 4]
call fcn.004056c8
ret
Function at 0x484e1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48501c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00483e24
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x14]
mov dword [0x497b20], eax
mov eax, dword [ebp - 0xc]
mov dword [0x497b24], eax
mov eax, dword [ebp - 0x24]
mov dword [0x497b28], eax
mov eax, dword [0x498dbc]
cmp dword [eax], 2
sete byte [0x4972d0]
push 0x485028
call sub.kernel32.dll_GetModuleHandleW_2
lea edx, [ebp - 4]
call fcn.00483654
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4972d0], 0
jne 0x484eab
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00483868
test al, al
je 0x484eab
mov eax, dword [ebp - 0x4c]
mov dword [0x49e76c], eax
jmp 0x484eb2
xor eax, eax
mov dword [0x49e76c], eax
call fcn.00484af8
and eax, 0x7f
cmp eax, 0x14
ja case.0x484ec3.0
jmp dword [eax*4 + 0x484eca]
mov byte [0x4972bc], 1
jmp case.0x484ec3.0
mov byte [0x4972c0], 1
jmp case.0x484ec3.0
mov byte [0x4972c4], 1
jmp case.0x484ec3.0
mov byte [0x4972c8], 1
jmp case.0x484ec3.0
mov byte [0x4972cc], 1
jmp case.0x484ec3.0
mov byte [0x4972d4], 1
mov byte [0x4972d8], 1
jmp case.0x484ec3.0
mov byte [0x4972d4], 1
mov byte [0x4972dc], 1
jmp case.0x484ec3.0
mov byte [0x4972d4], 1
mov byte [0x4972dc], 1
mov byte [0x4972e0], 1
jmp case.0x484ec3.0
mov byte [0x4972e4], 1
jmp case.0x484ec3.0
mov byte [0x4972e8], 1
jmp case.0x484ec3.0
mov byte [0x4972ec], 1
jmp case.0x484ec3.0
mov byte [0x4972f0], 1
jmp case.0x484ec3.0
mov byte [0x4972f4], 1
jmp case.0x484ec3.0
mov byte [0x4972f8], 1
jmp case.0x484ec3.0
mov byte [0x4972fc], 1
jmp case.0x484ec3.0
mov byte [0x497300], 1
jmp case.0x484ec3.0
mov byte [0x497304], 1
jmp case.0x484ec3.0
mov byte [0x497308], 1
jmp case.0x484ec3.0
mov byte [0x49730c], 1
jmp case.0x484ec3.0
mov byte [0x497310], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485023
lea eax, [ebp - 4]
call fcn.004056c8
ret

Function at 0x4885e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x488648
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.004058c0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040b858
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48864f
lea eax, [ebp - 0x14]
call fcn.004056c8
ret
Function at 0x489464
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x489479
add esp, 0xfffffff0
call fcn.004040b8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403c38
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004056d8
mov eax, esi
call fcn.00405764
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexW
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4894cd
mov ecx, dword [0x498c64]
mov dl, 1
mov eax, dword [0x489178]
call fcn.0047e7a4
call fcn.0040465c
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4894f4
call fcn.00404110
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x401066
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 1
jne 0x401081
mov dword [ebp + 0x14], 3
push 0
push pe_nt_image_headers32
push 2
push 0
push dword [ebp + 0x14]
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
je 0x4010bf
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
popal
mov eax, dword [ebp - 8]
leave
ret 0x10

Function at 0x4011ca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x10], 1
pushal
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x10]
push 0
push 0x44
push esi
call fcn.00401160
push 0
push 0x10
push edi
call fcn.00401160
mov dword [ebp - 0x54], 0x44
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x401249
push dword [ebp + 8]
lea edx, [ebp - 0x25c]
push edx
call fcn.004011b4
lea edx, [ebp - 0x25c]
push edx
call fcn.00401175
lea ecx, [ebp - 0x25c]
mov dword [eax + ecx], 0x20
push dword [ebp + 0xc]
lea edx, [ebp - 0x25c]
push edx
call fcn.00401195
lea eax, [ebp - 0x25c]
push edi
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
popal
leave
ret 8
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1ce5720e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5bd2c1a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x981370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x98138e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x9aa074
push ecx
mov edi, eax
call fcn.00995198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9813cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0099502e
push esi
call fcn.00994fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x984850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9848ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x9af720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9848ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009951e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9848ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9af720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x98492a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00996082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x984957
mov word [eax], si
add eax, 2
push eax
call fcn.00996030
add esp, 4
jmp 0x984959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9848ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9848b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x984ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret