joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427c08
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x427c1f
add esp, 0xfffffff0
call fcn.00402d28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f8d4
mov dl, 1
mov eax, dword [0x40a314]
call fcn.00402b34
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40a314]
call fcn.00402b34
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x410e48]
call fcn.0041787c
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x427d78
mov eax, dword [0x438998]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00417c14
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4293dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x438998]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040891c
test eax, eax
je 0x427d00
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406e80
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00408944
test eax, eax
je 0x427d14
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004037ec
mov eax, dword [0x43891c]
cmp byte [eax], 0
jne 0x427d45
mov eax, ebx
call fcn.00427e5c
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x427d6d
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4280b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4396b8]
cmp dword [eax + 0x24], 0
je 0x428140
cmp dword [ebx + 0x74], 0
jne 0x42813d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x428044
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42813d
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 0x42810c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42813d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040b38c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x428118
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x428a28
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x428a5d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036a4
jmp 0x428a67
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403658
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42964c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x429684
mov eax, esi
call fcn.0041e4a8
test al, al
je 0x429684
mov eax, dword [ebx + 0x64]
call fcn.0041e310
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429684
push 0
mov eax, dword [ebx + 0x64]
call fcn.0041e310
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42e0f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e25e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403658
mov eax, dword [ebp - 0x10]
call fcn.0042de68
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42e147
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403a80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042e58c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42e21c
xor eax, eax
push ebp
push 0x42e215
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042dfcc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042e290
test al, al
je 0x42e1f3
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004036a4
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x42e1f3
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403a00
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42e1ef
mov eax, dword [ebp - 0x14]
call fcn.00403a00
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403774
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042e0f4
inc esi
dec ebx
jne 0x42e1a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e21c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042dfcc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403a00
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042dfb8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e265
lea eax, [ebp - 0x3c]
call fcn.004035c0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004035e4
ret
Function at 0x42e290
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402898
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
pop esi
pop ebx
ret

Function at 0x42e404
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e495
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0042de7c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403a00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42e47f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x438a0c]
call fcn.00404650
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x42dd4c]
call fcn.00407f88
call fcn.0040309c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e49c
lea eax, [ebp - 0x10]
call fcn.004035c0
ret

Function at 0x42e4a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e543
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403a00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42e51d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x438ae4]
call fcn.00404650
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x42dd4c]
call fcn.00407f88
call fcn.0040309c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042deac
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e54a
lea eax, [ebp - 0x10]
call fcn.004035c0
ret

Function at 0x42e71c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00403a00
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403a00
push eax
mov eax, edi
call fcn.00403a00
push eax
mov eax, esi
call fcn.00403a00
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.004036a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437be4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004039f0
xor eax, eax
push ebp
push 0x437cd8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00406f08
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004026a0
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.00406f08
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.00402898
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
bound ebx, qword [0x437ce8]
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x437c9c
mov dword [ebp - 8], 0xffffffff
jmp 0x437cba
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437cdf
lea eax, [ebp - 0xc]
call fcn.004035c0
lea eax, [ebp - 4]
call fcn.004035c0
ret
Function at 0x433d8a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456fba
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00430892
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x433df5
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.004391c4
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.00415ddc
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.00441786
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x433e49
push 0xc8
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d720
mov eax, esi
push eax
call fcn.00441a81
push dword [esp + 0x1c]
call fcn.00441514
pop ecx
test eax, eax
je 0x433e6e
push 0x133
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d720
mov eax, esi
jmp 0x433e43
push dword [esp + 0x1c]
call fcn.004414ec
pop ecx
test eax, eax
jne 0x433e93
push 0x13b
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d720
mov eax, esi
jmp 0x433e43
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.00433d56
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x433ec1
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.00405ea6
cmp edi, ebx
je 0x433ecc
push edi
call fcn.0043a44a
pop ecx
cmp byte [esp + 0x10], bl
je 0x433edc
push dword [esp + 0x1c]
call fcn.004391c4
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434134
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x4566fc
call fcn.00441eb1
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x43418a
push 0xc8
lea esi, [ebp - 0x20]
call fcn.0040bf72
push 0x46d720
mov eax, esi
push eax
call fcn.00441a81
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.00414d60
push 0x4695b4
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.0042a446
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00432e7f
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.00414e32
push 1
lea esi, [ebp]
call fcn.00414e32
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0043a455
add ebp, 0x244
leave
ret
Function at 0x435416
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x435496
jg 0x435442
cmp esi, ecx
jbe 0x435496
cmp dword [ebp + 0x14], ecx
jg 0x435442
jl 0x43543e
cmp esi, 0x7fffffff
jae 0x435442
mov eax, esi
jmp 0x435447
mov eax, SysReAllocString
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x435487
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x435471
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x435491
jmp 0x435487
mov eax, dword [ebp - 4]
test eax, eax
jle 0x435482
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x435422
cmp eax, 0xffffffff
jne 0x435491
call fcn.004406b5
cmp dword [eax], 4
je 0x435422
or eax, 0xffffffff
jmp 0x435498
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x145aa460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x145aa860]
xor edx, dword [ebx*4 + 0x145aac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x145aa460]
add ecx, 4
xor edx, dword [eax*4 + 0x145ab060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x145aa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x145aac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x145aa460]
add ecx, 4
xor eax, dword [edx*4 + 0x145ab060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x145aa860]
xor edx, dword [ebx*4 + 0x145aac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x145aa460]
xor edx, dword [eax*4 + 0x145ab060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x145aa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x145aac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x145aa460]
xor eax, dword [edx*4 + 0x145ab060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x145aa860]
xor edx, dword [ebx*4 + 0x145aac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x145aa460]
xor edx, dword [eax*4 + 0x145ab060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x145aa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x145aac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x145aa460]
and edx, 0xff
xor eax, dword [edx*4 + 0x145ab060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x145aa860]
xor edx, dword [ebx*4 + 0x145aac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x145aa460]
add ecx, 4
xor edx, dword [eax*4 + 0x145ab060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x145aa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x145aac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x145aa460]
and edx, 0xff
xor eax, dword [edx*4 + 0x145ab060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x145aa860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x145aac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x145aa460]
and eax, 0xff
xor edi, dword [eax*4 + 0x145ab060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x145aa460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x401000
Capabilities:
Create directory
Move file

Disassembly:
push ecx
push ecx
mov ecx, dword [0x4335f4]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
cmp ecx, 0xe6f
jne 0x401024
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [0x4335f4]
mov edi, dword [esp + 0x14]
mov esi, ebp
cmp esi, 0x55a999
jne 0x401042
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x4335f4]
mov edi, eax
inc esi
cmp esi, 0x6a7310
jl 0x40102a
mov esi, ebp
mov ebx, ebp
test ecx, ecx
je 0x401104
mov eax, dword [0x45d01c]
mov dl, byte [eax + ebx + 2]
mov dh, byte [eax + ebx + 3]
mov byte [esp + 0x11], dl
mov dl, dh
and dl, 0xf0
mov byte [esp + 0x10], dh
shl dl, 2
or dl, byte [eax + ebx]
mov byte [esp + 0x12], dl
mov dl, dh
and dl, 0xfc
shl dl, 4
or dl, byte [eax + ebx + 1]
mov byte [esp + 0x13], dl
cmp ecx, 0x2c
jne 0x4010a3
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExA]
mov ecx, dword [0x4335f4]
mov dh, byte [esp + 0x10]
shl dh, 6
mov byte [esp + 0x10], dh
cmp ecx, 0x518
jne 0x4010bf
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov dh, byte [esp + 0x10]
mov al, byte [esp + 0x12]
or byte [esp + 0x11], dh
mov byte [esi + edi], al
mov al, byte [esp + 0x13]
mov byte [esi + edi + 1], al
cmp dword [0x4335f4], 0x13b9
jne 0x4010e8
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
mov dl, byte [esp + 0x11]
add ebx, 4
mov byte [esi + edi + 2], dl
add esi, 3
mov ecx, dword [0x4335f4]
cmp ebx, ecx
jb 0x401057
mov dword [0x45d01c], edi
pop edi
mov dword [0x4335f4], esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x401117
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x42e004]
xor eax, ebp
mov dword [ebp + 0xa4], eax
cmp dword [0x4335f4], 0xe5d
jne 0x401169
push esi
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop esi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x80]
mov dword [0x45d018], eax
push ecx
push 0x40
push dword [0x4335f4]
push dword [0x45d01c]
call eax
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.004014f1
lea esp, [ebp + 0xa8]
pop ebp
ret
Function at 0x404fca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00404e49

Function at 0x45d7b2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
dec esi
shl dword [ebx + ecx*2 + 5], 1
jns 0x45d7ff
pop eax
adc edx, eax
loope fcn.0045d802
invalid
xchg esp, eax
cdq
call [0x40048df0]
inc eax

Function at 0x45d7c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pop esi
jecxz 0x45d76e
wait
lahf
cmp byte [ebx + 0x75], bl
aad 0xc8
enter 0xffffffffffff8ad0, 0xfffffffffffffff7
stosb byte es:[edi], al
lodsd eax, dword [esi]
push edx

Function at 0x45d7da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
or dword [esi], ecx
aaa
pushal
sub al, 0x65
lahf
mov cl, byte [edi - 0x5002097a]
pop dword [esi - 0xc50020a]
mov edx, edi

Function at 0x45d7e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
or dword [esi], ecx
aaa
pushal
sub al, 0x65
lahf
mov cl, byte [edi - 0x5002097a]
pop dword [esi - 0xc50020a]
mov edx, edi

Function at 0x4bc6b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c53c8
cmp edx, dword [eax]
je 0x4bc6db
add eax, 8
inc ecx
cmp eax, 0x4c5458
jl 0x4bc6cc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c53c8]
jne 0x4bc809
mov eax, dword [0x4cadd0]
cmp eax, 1
je 0x4bc7e3
test eax, eax
jne 0x4bc70c
cmp dword [0x4c52f0], 1
je 0x4bc7e3
cmp edx, 0xfc
je 0x4bc809
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc743
lea eax, [ebp - 0x1a4]
push 0x4c1a40
push eax
call fcn.004bd0a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc786
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1a3c
push edi
call fcn.004bf400
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1a20
push eax
call fcn.004bd0a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd0b0
lea eax, [ebp - 0xa0]
push 0x4c1a1c
push eax
call fcn.004bd0b0
push dword [esi + 0x4c53cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd0b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c19f4
push eax
call fcn.004bf374
add esp, 0x2c
pop edi
jmp 0x4bc809
lea eax, [ebp + 8]
lea esi, [esi + 0x4c53cc]
push 0
push eax
push dword [esi]
call fcn.004bd530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret