joyce8/EMBER2024-capa huggingface dataset:
Function at 0x627cd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303a8
cmp edx, dword [eax]
je 0x627cfb
add eax, 8
inc ecx
cmp eax, 0x630438
jl 0x627cec
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303a8]
jne 0x627e29
mov eax, dword [0x639d30]
cmp eax, 1
je 0x627e03
test eax, eax
jne 0x627d2c
cmp dword [0x6302d4], 1
je 0x627e03
cmp edx, 0xfc
je 0x627e29
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627d63
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006286c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628b50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x627da6
lea eax, [ebp - 0x1a4]
lea eax, [ebp + 8]
lea esi, [esi + 0x6303ac]
push 0
push eax
push dword [esi]
call fcn.00628b50
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]
Function at 0x409631
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40963b
repz ret
jmp fcn.0040e01c

Function at 0x41224c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b6bf
and dword [ebp - 0x14], 0
cmp dword [0x437dec], 0
mov dword [ebp - 0x18], eax
jne 0x4122ff
push 0x403774
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403768
push ebx
call edi
test eax, eax
je 0x4123a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403758
push ebx
mov dword [0x437dec], eax
call edi
push eax
call esi
push 0x403744
push ebx
mov dword [0x437df0], eax
call edi
push eax
call esi
push 0x403728
push ebx
mov dword [0x437df4], eax
call edi
push eax
call esi
mov dword [0x437dfc], eax
test eax, eax
je 0x4122ff
push 0x403710
push ebx
call edi
push eax
call esi
mov dword [0x437df8], eax
mov eax, dword [0x437df8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412358
cmp dword [0x437dfc], ecx
je 0x412358
push eax
call esi
push dword [0x437dfc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412358
test ebx, ebx
je 0x412358
call edi
test eax, eax
je 0x41234f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41234f
test byte [ebp - 8], 1
jne 0x412358
or dword [ebp + 0x10], 0x200000
jmp 0x41238b
mov eax, dword [0x437df0]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41238b
mov eax, dword [0x437df4]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x437dec]
call esi
test eax, eax
je 0x4123a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409631
leave
ret
Function at 0x4141c0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413820
cmp dword [0x7d7f44], 0x37
jne 0x414251
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f68
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fc4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7d8b28]
mov edx, dword [0x7d4fa4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x4638ad
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20030
call fcn.00431b90
push ebx
push esi
lea eax, [esp + 0x10038]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.004648aa
lea eax, [esp + 0x3c]
mov edx, 0x7fff
push eax
mov ecx, esi
call fcn.004648aa
pop ecx
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x46393b
cmp byte [ebp + 8], al
je 0x463934
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call fcn.0042378c
pop ecx
pop ecx
test eax, eax
je 0x46392d
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
jmp 0x4639e7
xor al, al
jmp 0x4639e7
lea ecx, [esp + 0x10038]
call fcn.00464cd3
test al, al
je 0x463934
lea ecx, [esp + 0x38]
call fcn.00464cd3
test al, al
je 0x4639ed
cmp byte [ebp + 8], 0
je 0x463934
lea eax, [esp + 0x10038]
push 0x4ba338
push eax
call fcn.00422fcd
lea eax, [esp + 0x10040]
push eax
call fcn.00422e3c
xor ecx, ecx
mov word [esp + eax*2 + 0x10046], cx
lea eax, [esp + 0x44]
push eax
call fcn.00422e3c
xor ecx, ecx
mov dword [esp + 0x1c], 2
add esp, 0x10
mov word [esp + eax*2 + 0x3a], cx
lea eax, [esp + 0x10038]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov eax, 0x614
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407f41
lea ecx, [esp + 0x28]
call fcn.00463c66
mov bl, al
lea ecx, [esp + 0x28]
neg bl
sbb bl, bl
call fcn.00405a64
inc bl
jne 0x463934
lea ecx, [esp + 0x38]
call fcn.00464cd3
test al, al
jmp 0x463960
Function at 0x463a2b
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 1], bl
mov edi, edx
call fcn.004077c7
lea ecx, [ebp - 0x44]
call fcn.004077c7
lea ecx, [ebp - 0x24]
call fcn.004077c7
lea ecx, [ebp - 0x14]
call fcn.004077c7
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.004048ae
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.004048ae
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.00464c69
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 3], al
call fcn.00464cd3
mov esi, 0x4ba338
test al, al
je 0x463a9c
push esi
lea ecx, [ebp - 0x34]
call fcn.00407e0b
mov ecx, dword [ebp - 0x44]
call fcn.00464cd3
test al, al
je 0x463ab1
push esi
lea ecx, [ebp - 0x44]
call fcn.00407e0b
lea ecx, [ebp - 0x54]
call fcn.004077c7
lea ecx, [ebp - 0x64]
call fcn.004077c7
push ebx
lea eax, [ebp - 0x64]
push ebx
push eax
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x34]
call fcn.004046f9
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x463bfd
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp al, 1
jne 0x463bfd
test byte [ebp - 0x2c8], 0x10
jne 0x463bd1
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00407f41
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.004642ad
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00405a64
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x14]
call fcn.004081a7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407c8e
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407e0b
lea ecx, [ebp - 0x24]
call fcn.00463e73
test al, al
je 0x463b89
cmp byte [ebp + 8], bl
je 0x463bf4
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407a68
push dword [ebp - 0x24]
test eax, eax
je 0x463b97
call edi
cmp byte [ebp + 0xc], 1
jne 0x463bbb
cmp byte [ebp - 3], bl
jne 0x463ba2
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x463bc9
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00463c40
movzx eax, al
test eax, eax
je 0x463bf4
push dword [ebp - 0x14]
call edi
jmp 0x463bc9
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00463c40
movzx eax, al
test eax, eax
je 0x463bf4
mov byte [ebp - 1], 1
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x463afb
mov al, bl
mov byte [ebp - 2], al
jmp 0x463afb
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x463c07
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [ebp - 1]
lea ecx, [ebp - 0x64]
call fcn.00405a64
lea ecx, [ebp - 0x54]
call fcn.00405a64
lea ecx, [ebp - 0x14]
call fcn.00405a64
lea ecx, [ebp - 0x24]
call fcn.00405a64
lea ecx, [ebp - 0x44]
call fcn.00405a64
lea ecx, [ebp - 0x34]
call fcn.00405a64
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463d4e
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x288
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xf], bl
call fcn.004077c7
lea ecx, [esp + 0x20]
call fcn.004077c7
lea ecx, [esp + 0x30]
call fcn.004077c7
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.004048ae
mov ecx, dword [esp + 0x10]
call fcn.00464cd3
test al, al
je 0x463da5
push 0x4ba338
lea ecx, [esp + 0x14]
call fcn.00407e0b
push ebx
lea eax, [esp + 0x34]
push ebx
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.004046f9
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x463e45
cmp al, 1
jne 0x463e45
test byte [esp + 0x40], 0x10
jne 0x463e20
mov byte [esp + 0xf], al
lea ecx, [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.004081a7
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00407c8e
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x14]
call fcn.00407e0b
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x463e3c
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x463dd8
mov al, bl
mov byte [esp + 0xe], al
jmp 0x463dd8
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x463e50
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [esp + 0xf]
lea ecx, [esp + 0x30]
call fcn.00405a64
lea ecx, [esp + 0x20]
call fcn.00405a64
lea ecx, [esp + 0x10]
call fcn.00405a64
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x63738f80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x63738fbe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x63738fb6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x63738fc0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x63738fa6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x63739090
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x637390c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x637390c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x637390c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x46b9a9
Capabilities:
Encode data using xor

Disassembly:
xor ebx, ecx
mov eax, 0x44bb8972
in eax, 0xa0
idiv dword [esi + 0x5406ca9b]
mov ebx, 0xf7a0e544
mov esi, 0x5406ca9b
push cs
aaa
mov byte [0x8ae0a102], bh
out dx, eax
setp byte [ecx]
inc di
out dx, al
push dword [ecx]
sub ch, byte [esi + eax*2 - 0x772c2c53]
xor ebp, esp
bound ebx, qword [0x5265953]
nop
adc edx, dword [ebx + ebx*8 + 0x30d3c727]
sal dword [eax], cl
enter 0x5453, 0x4a
add dl, byte [esi + 0x2e]
test eax, 0xeb9627f8
loope 0x46b92f
mov ebp, 0x60109d9f
imul esi, dword [eax], 0xfffffffc
lahf
popfd
adc byte [eax + 0x6b], ah
xor ah, bh
mov ch, 0xb5
mov eax, 0x375e3827
pop es
push ds
pop edi
out dx, eax
test al, 0xb8
cmc
je 0x46b9ed
mov ebp, 0x14d0dd96
pop eax
adc al, 0x58
xor byte [esi - 0x72], ch
jb 0x46b961
mov bh, 0xd9
lodsd eax, dword [esi]
adc eax, 0x61ba3fae
test dword [esi + 0x15], edi
into
jle 0x46b92a
div dword [ebp + 0x7d]
cmp byte [ecx], ch
jae 0x46b9a1
dec esi
dec ebx
inc ebx
salc
sbb byte [esi], 0xc0
outsb dx, byte [esi]
or dword [0xdef860b6], ecx
outsb dx, byte [esi]
jne 0x46b9f1
mov dword [0x7ed7fad], eax
stosb byte es:[edi], al
pushfd
pop ebx
inc ebp
aas
xor cl, byte [eax]
inc ebx
sub edi, ebx
test byte [ebx - 0x7e4a311c], ah
loop 0x46ba44
cmpsd dword [esi], dword es:[edi]
jbe 0x46b9e9
je 0x46ba23
sbb al, 0xf1
xor ch, ch
loopne 0x46b971
jno 0x46b98d
sub ch, 0x44
std
sbb al, 0x43
call dword [esi + ebp*2 + 0x8b91a7a]
jp 0x46ba05
mov ecx, 0x2feb2908
sub ebx, ebp
das
invalid
movsb byte es:[edi], byte [esi]
sbb ebx, dword [edx]
test eax, 0x576bb9f4
fistp qword [ebp + 0x603963f2]
rcr dword [di + 0x75f], 1
add edi, dword [ecx]
add eax, esi
and ch, 0xe
cmp dword [ecx], eax
invalid
and eax, 0x397eba76
in eax, dx
jno 0x46ba0b
invalid
inc esi
std
pop ebp
mov ebp, 0x7d2ad905
add dword [0xaba0af92], edx
out dx, eax
or al, al
inc ebp
les edi, [ebx]
pop es
push edx
pop edx
push ecx
push ecx
out dx, al
int3
rol dword [esp + ebp*4 + 0x4b], 0x46
mov byte [ebx - 0x6f583c30], cl
nop
or bl, byte [edi]
jnp 0x46ba94
enter 0x729a, 0x26
or cl, dl
jnp 0x46baaa
and al, 0xd5
movsd dword es:[edi], dword [esi]
test dword [edi], eax
jecxz 0x46ba4e
sbb dl, cl
jbe 0x46badc
ret
sub eax, 0xe8d73b3c
rol byte [ecx + eax*8], cl
lodsb al, byte [esi]
pop ds
mov dl, 0xfa
pop esp
lcall 0x387, 0xbb2a56c0
dec edx
rol dword cs:[edi - 0x58], cl
mov edi, 0xd5b2bcad
adc ecx, dword [ecx - 0x39]
adc ch, byte [ebx + 0x18]
adc al, 0x68
xor eax, dword [edx - 0xa0f338e]
out 0x70, eax
or edi, dword [ebx]
aad 0x2c
invalid
movlps xmm2, qword [edx - 0x1fa7d491]
sub ebx, dword [eax - 0x20]
fistp dword ds:[ecx]
pop ds
cwde
add edi, edx
sub byte [edx - 0x568dae13], al
dec edx
outsd dx, dword [esi]
push esp
push es
jg 0x46bac8
js 0x46bad8
stosd dword es:[edi], eax
pop ss
invalid
Function at 0x627585
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x62e3d0
cmp edx, dword [eax]
je 0x6275a7
add eax, 8
inc ecx
cmp eax, 0x62e460
jl 0x627598
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x62e3d0]
jne 0x6276d5
mov eax, dword [0x636d78]
cmp eax, 1
je 0x6276af
test eax, eax
jne 0x6275d8
cmp dword [0x62e2f8], 1
je 0x6276af
cmp edx, 0xfc
je 0x6276d5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62760f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00627f70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628400
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x627652
lea eax, [ebp - 0x1a4]
push eax
call fcn.00628400
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62c6e4
push edi
call fcn.0062a2d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00627f70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00627f80
lea eax, [ebp - 0xa0]
push 0x62c6c4
push eax
call fcn.00627f80
push dword [esi + 0x62e3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00627f80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062a244
add esp, 0x2c
pop edi
jmp 0x6276d5
lea eax, [ebp + 8]
lea esi, [esi + 0x62e3d4]
push 0
push eax
push dword [esi]
call fcn.00628400
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

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6cbb1056
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5b9c42e2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x41f0e8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a44
xor eax, eax
push ebp
push 0x41f12b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00404a54
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f132
lea eax, [ebp - 4]
call fcn.004045a4
ret

Function at 0x41f550
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x41f61e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.0041f46c
mov edx, dword [ebp - 0x2c]
mov eax, 0x41f634
call fcn.00404b3c
dec eax
jne 0x41f5ff
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x41f608
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x41f608
lea eax, [ebp - 0x14]
push eax
push 0x41f640
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x41f608
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.KERNEL32.DLL_GetLastError_1
test al, al
jne 0x41f608
push 0
push 6
call sub.user32.dll_ExitWindowsEx
jmp 0x41f608
push 0
push 6
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f625
lea eax, [ebp - 0x2c]
call fcn.004045a4
ret
Function at 0x421034
Capabilities:
Get common file path
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x421344
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x220]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov eax, dword [0x423068]
lea edx, [ebp - 0x220]
mov ecx, pe_nt_image_headers32
call fcn.0040480c
push 0x104
lea eax, [ebp - 0x120]
push eax
mov eax, dword [0x424718]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
lea edx, [ebp - 0x120]
lea eax, [ebp - 4]
call fcn.00404694
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040463c
mov dl, 1
mov eax, dword [0x41bdac]
call fcn.0041bf88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x421164
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.0041c090
mov ecx, dword [0x423240]
mov ecx, dword [ecx]
lea eax, [ebp - 0x224]
mov edx, 0x421358
call fcn.004048a8
mov edx, dword [ebp - 0x224]
mov cl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041c0ec
mov ecx, dword [ebp - 8]
mov edx, 0x4213a0
mov eax, dword [ebp - 0x10]
call fcn.0041c064
mov ecx, 0x4213b0
mov edx, 0x4213c8
mov eax, dword [ebp - 0x10]
call fcn.0041c064
mov ecx, 0x4213d8
mov edx, 0x4213f4
mov eax, dword [ebp - 0x10]
call fcn.0041c064
mov eax, dword [ebp - 0x10]
call fcn.0041c0bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42116b
mov eax, dword [ebp - 0x10]
call fcn.004037e4
ret