joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4584d4
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 0x45867f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458660
mov dl, 1
mov eax, dword [0x418bb8]
call fcn.00403374
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404194
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45864f
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.00446508
test al, al
je 0x458642
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, 0x458690
lea eax, [ebp - 0x254]
call fcn.00409734
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458642
xor eax, eax
push ebp
push 0x45863b
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 0x4586c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458624
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
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 0x458624
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458642
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458545
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d41c
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 0x458686
lea eax, [ebp - 0x260]
call fcn.00404194
ret

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

Disassembly:
push ecx
mov eax, dword [0x483be4]
cmp byte [eax + 0xa5], 0
jne 0x459025
cmp dword [0x483bfc], 0
jne 0x458fe6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458f70
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483bfc], eax
cmp dword [0x483bf8], 0
jne 0x459001
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483bf8], eax
cmp dword [0x483c00], 0
jne 0x459025
push esp
push 0
push 0
push 0x458f14
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x483c00], eax
pop edx
ret
Function at 0x45911c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459133
add esp, 0xfffffff0
call fcn.004036c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421964
mov eax, dword [0x481d10]
cmp word [eax + 2], 0
jne 0x45915b
mov eax, dword [0x481d10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a7f4
mov eax, dword [0x481e6c]
cmp word [eax + 2], 0
jne 0x459175
mov eax, dword [0x481e6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a9ec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418554]
call fcn.00403374
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418554]
call fcn.00403374
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424520]
call fcn.0042b898
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4592fc
mov eax, dword [0x481b7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bc68
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45af8c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x481b7c]
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.0040d108
test eax, eax
je 0x45926a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d130
test eax, eax
je 0x45927e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404404
mov eax, dword [0x481928]
cmp byte [eax], 0
jne 0x4592b2
mov eax, ebx
call fcn.00459424
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045b168
mov eax, ebx
call fcn.0045bb2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4592f2
call fcn.00403720
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4596a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483be4]
cmp dword [eax + 0x30], 0
je 0x45974e
cmp dword [ebx + 0x94], 0
jne 0x459748
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459634
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459748
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 0x45970e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459748
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.0041ad48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45971d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a2b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45a2e5
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.00404284
jmp 0x45a2f2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b385
mov eax, esi
call fcn.00441bc8
test al, al
je 0x45b385
mov eax, dword [ebx + 0x84]
call fcn.004418f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b385
push 0
mov eax, dword [ebx + 0x84]
call fcn.004418f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a8c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46a8c8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46aaba
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46aad0
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041e8
lea ecx, [ebp - 0x10]
mov edx, 0x46aae4
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041e8
lea ecx, [ebp - 0x14]
mov edx, 0x46aafc
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041e8
lea ecx, [ebp - 0x18]
mov edx, 0x46ab18
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041e8
lea ecx, [ebp - 0x1c]
mov edx, 0x46ab34
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041e8
lea ecx, [ebp - 0x24]
mov edx, 0x46ab4c
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004085e4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004089c4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46ab64
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x28]
call fcn.00467768
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46ab74
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x2c]
call fcn.00467768
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46ab8c
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004089c4
inc eax
je 0x46aa5d
lea ecx, [ebp - 0x34]
mov edx, 0x46ab8c
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x34]
call fcn.00408988
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a0c0
fstp qword [ebp - 0x3c]
wait
call fcn.0040a424
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46aa78
lea ecx, [ebp - 0x40]
mov edx, 0x46ab8c
mov eax, esi
call fcn.00468650
mov eax, dword [ebp - 0x40]
call fcn.00467768
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46ab9c
mov eax, esi
call fcn.00468650
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aac1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041b8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041b8
ret
Function at 0x476d58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x476db2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00476d48
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004663d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00465fd4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476db9
lea eax, [ebp - 4]
call fcn.00404194
ret

Function at 0x47cab4
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x47cb32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404654
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x47cafd
mov eax, dword [ebx + 4]
call fcn.00404654
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb39
lea eax, [ebp - 4]
call fcn.00404194
ret
Function at 0x47db04
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47dca1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402ae4
cmp word [ebx + 0xa2], 0
je 0x47db4d
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x47db61
lea esi, [ebp - 8]
jmp 0x47db63
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x47db70
xor edi, edi
jmp 0x47db7d
mov eax, dword [ebx + 0x80]
call fcn.00404654
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404654
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0047d26c
mov eax, dword [ebp - 0x14]
call fcn.00404654
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404654
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404654
push eax
mov eax, ebx
call fcn.0047d3a0
push eax
mov eax, ebx
call fcn.0047d374
push eax
mov eax, ebx
call fcn.0047d328
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0047d138
mov eax, dword [ebp - 0x18]
call fcn.00404654
push eax
mov eax, dword [ebx + 8]
call fcn.00404654
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x47dc06
call fcn.0040d994
xor edx, edx
push ebp
push 0x47dc7f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47dc44
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x47dc3a
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47dc68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc86
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x47dcb0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x47dcdc
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404654
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47dd01
call fcn.0040d994
xor eax, eax
push ebp
push 0x47dd38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x47dd21
call fcn.0040d994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dd3f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x47e54c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x47e67d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004085e4
cmp dword [ebp - 0x18], 0
je 0x47e65f
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x47e65f
xor eax, eax
push ebp
push 0x47e658
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
setne byte [ebp - 9]
cmp dword [ebp - 0x14], 0
je 0x47e641
xor eax, eax
push ebp
push 0x47e63a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47e623
call sub.kernel32.dll_GetLastError
cmp eax, 0x420
jne 0x47e623
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e641
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e65f
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e684
lea eax, [ebp - 0x18]
call fcn.00404194
lea eax, [ebp - 4]
call fcn.00404194
ret
Function at 0x47e734
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x47e8a2
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0047bb8c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0047bbac
jmp 0x47e86e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404404
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408f60
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408394
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408394
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004045a0
je 0x47e84e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404404
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408394
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408394
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004045a0
jne 0x47e865
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0047bbcc
test eax, eax
jne 0x47e7af
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e8a9
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004041b8
lea eax, [ebp - 4]
call fcn.00404194
ret

Function at 0x47e94c
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x47e984
mov eax, dword [esp]
call fcn.0047e8b4
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x40618e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061b2
xor eax, eax
test eax, eax
je 0x4061c4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061c4
xor ecx, ecx
jmp 0x4061c7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406271
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43e2c4], 0
push esi
jne 0x4062a8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406282
mov dword [ecx*4 + 0x43e2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40627d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4062d9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43e2c0]
xor eax, esi
inc ecx
dec edx
jne 0x4062bb
pop edi
not eax
pop esi
ret 0xc

Function at 0x401a2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401a3c
push esp
mov dword [ebp - 0x24], 0x401778
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401adb
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401abc
pop ebp
ret 0x10
Function at 0x401270
Capabilities:
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43781b
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x4487e8]
xor eax, esp
mov dword [esp + 0x8a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4487e8]
xor eax, esp
push eax
lea eax, [esp + 0x8b8]
mov dword fs:[0], eax
push 0x401140
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00407bfc
push 0
call fcn.00408e61
add esp, 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6ae]
push edx
mov word [esp + 0x6b0], cx
call fcn.00425160
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4a6]
push ecx
mov word [esp + 0x4a8], ax
call fcn.00425160
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x29e]
push eax
mov word [esp + 0x2a0], dx
call fcn.00425160
add esp, 0xc
lea ecx, [esp + 0x6a4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x6a4]
push edx
lea eax, [esp + 0x4a0]
push 0x104
push eax
call fcn.00423922
add esp, 0xc
lea ecx, [esp + 0x6a4]
push ecx
lea edx, [esp + 0x298]
push 0x104
push edx
call fcn.00423922
add esp, 0xc
push 0x43dd40
lea eax, [esp + 0x4a0]
push 0x104
push eax
call fcn.00423991
add esp, 0xc
push str.Zt59696.exe
lea ecx, [esp + 0x298]
push 0x104
push ecx
call fcn.00423991
lea edx, [esp + 0x4a8]
add esp, 0xc
test edx, edx
je 0x4014f5
mov eax, edx
call fcn.00401520
test eax, eax
je 0x4014f5
lea eax, [esp + 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
mov edi, eax
test esi, esi
jne 0x401431
cmp edi, 2
je 0x401431
lea ecx, [esp + 0x294]
push ecx
call fcn.004015b0
add esp, 4
lea edx, [esp + 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401431
call ebx
mov edi, eax
cmp edi, 5
je 0x401494
mov eax, dword [0x44c5c0]
mov edx, dword [eax + 0xc]
mov ecx, 0x44c5c0
call edx
add eax, 0x10
mov dword [esp + 0x28c], eax
mov eax, dword [0x44c5c0]
mov edx, dword [eax + 0xc]
mov ecx, 0x44c5c0
call edx
add eax, 0x10
mov dword [esp + 0x290], eax
lea eax, [esp + 0x49c]
push eax
lea edx, [esp + 0x298]
lea ecx, [esp + 0x58]
mov dword [esp + 0x8c4], 0
call fcn.00401b00
lea esi, [esp + 0x54]
call fcn.00401ab0
push 0x38
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x24], 0x3c
call fcn.00425160
add esp, 0xc
lea eax, [esp + 0x18]
lea edx, [esp + 0x294]
push eax
mov dword [esp + 0x28], str.open
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
lea ecx, [esp + 0x29c]
push ecx
call esi
push 4
push 0
lea edx, [esp + 0x4a4]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0x8b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.004238c2
mov esp, ebp
pop ebp
ret