joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [0x403000]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid

Function at 0x401091
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x4016f5
pushal
cmp byte [0x406020], 0
jne 0x401704
call fcn.0040172b
movzx ax, dl
mov word [0x4066f5], ax
movzx ax, dh
mov word [0x4066f7], ax
push dword [0x4066f5]
push dword [0x406b54]
call sub.KERNEL32.dll_SetConsoleCursorPosition
popal
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x50026c9c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x70ff3abb
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x67440b7d
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5fad215f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x419410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc0
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x12]
mov esi, dword [esp + 0xcc]
lea ecx, [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push ecx
push edi
mov dword [esi], edx
mov dword [esi + 4], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419477
mov edx, dword [0x4d089c]
push 0x4d05a0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe]
mov edx, dword [esp + 0xa]
and eax, 0xffff
and ecx, 0xffff
and edx, 0xffff
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0xc4]
and eax, 0xffff
lea edi, [ecx + edx]
mov dword [esi + 0x14], eax
mov eax, edi
cdq
mov ecx, eax
mov eax, 0x88888889
xor ecx, edx
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x18], edx
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 2
sub ecx, edx
test edi, edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
setl al
shl eax, 1
and ecx, 0xfffffffd
pop edi
or eax, ecx
or al, 1
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
add esp, 0xc0
ret

Function at 0x4746b7
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
dec edx
and byte [edi + 0xff48d1], al
out dx, eax
not byte [ebx]
add eax, dword [ebp - 0x25]
neg byte [edi + ecx + 0x30]
invalid

Function at 0x48856b
Capabilities:
Encode data using xor

Disassembly:
rcr byte [eax + ebp + 0x6b], 0x44
in eax, dx
test al, 0xa2
pop dx
out 0x80, eax
or dword [bx + di], esi
or dword [ecx], esi
imul ebx, dword [edi - 0x1dee4b61], 0xffffffd8
cmp byte [esi + 0x590c2bd0], bh
sub ecx, dword [ecx + ebx*2]
sub ecx, dword [ecx + ebx*2]
aas
xor ecx, esi
mov ah, 0xef
in al, dx
mov ebx, 0x159b2d53
push eax
stosd dword es:[edi], eax
mov al, 0x93
aam 0x64
pop ds
popfd
lahf
xchg byte [ecx - 0xaf93de9], al
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
adc al, 0x4e
sti
mov byte [0x1a9b685d], al
jecxz 0x48855f
xchg esi, eax
and eax, 0x89df63c3
jne 0x488552
jle 0x4885fe
mov eax, dword [0x37a70383]
invalid
sub ch, cl
invalid
Function at 0x4c6232
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd440
cmp edx, dword [eax]
je 0x4c6254
add eax, 8
inc ecx
cmp eax, 0x4cd4d0
jl 0x4c6245
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd440]
jne 0x4c6382
mov eax, dword [0x4d1b2c]
cmp eax, 1
je 0x4c635c
test eax, eax
jne 0x4c6285
cmp dword [0x4cd384], 1
je 0x4c635c
cmp edx, 0xfc
je 0x4c6382
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c62bc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6b80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c62ff
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6b80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ca940
push edi
call fcn.004c8350
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6960
lea eax, [ebp - 0xa0]
push 0x4ca920
push eax
call fcn.004c6960
push dword [esi + 0x4cd444]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c82c4
add esp, 0x2c
pop edi
jmp 0x4c6382
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd444]
push 0
push eax
push dword [esi]
call fcn.004c6b80
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 0x7a8e78
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7a8e82
pushal
call 0x7a8e88
pop ebp
sub ebp, 0x10
sub ebp, 0x3a8e78
jmp 0x7a8e9e
mov eax, 0x3a8e78
add eax, ebp
add eax, 0x4c
mov ecx, 0x5fd
mov edx, 0xf3d3e832
xor byte [eax], dl
inc eax
dec ecx
jne 0x7a8eb5
jmp 0x7a8ec8
mov ecx, 0xebbb9ff
xor dh, byte [edx]
xor dh, byte [ebx + 0x3232caf3]
xor dh, byte [ecx]
dec dword [edx + 0x32323236]
mov byte [edx], bl
xor dh, byte [edx]
xor al, ch
sal byte [ecx], 1
cli
mov ecx, 0x32323eb3
xor dh, byte [ecx]
idiv dword [edi - 0x4431e9aa]
push ss
bound ebx, qword [edx + 0x22]
dec esi
cmp al, 0x32
pop edx
push esp
and byte [esi], bl
xor dh, byte [ebx]
push ds
push ss
pop edx
nop
nop
fisub word [ecx]
fidiv dword [edi]
xor dh, byte [edx]
xor bl, bl
sbb al, 0x32
xor dh, byte [edx]
mov edi, 0xbbce1656
push ds
push ss
outsw dx, word [esi]
mov ecx, 0x32323ab7
xor bh, byte [ecx + 0x32323ea7]
xor bh, byte [ecx + 0x323222bf]
xor dh, bl
invalid
Function at 0x4062a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42d43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4041ac
call fcn.0040748b
push 4
mov dword [esp + 0x18], 0
call fcn.00408629
mov edi, eax
add esp, 4
test edi, edi
je 0x406314
push ebx
call fcn.00407286
mov dword [edi], eax
call fcn.00407045
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040744c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406308
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407474
pop ebx
jmp 0x406316
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4091fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430354]
jne 0x409205
repz ret
jmp fcn.0040d7ec
Function at 0x411737
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430354]
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.0040b423
and dword [ebp - 0x14], 0
cmp dword [0x435aa4], 0
mov dword [ebp - 0x18], eax
jne 0x4117ea
push 0x403e88
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411892
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e7c
push ebx
call edi
test eax, eax
je 0x411892
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e6c
push ebx
mov dword [0x435aa4], eax
call edi
push eax
call esi
push 0x403e58
push ebx
mov dword [0x435aa8], eax
call edi
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x435aac], eax
call edi
push eax
call esi
mov dword [0x435ab4], eax
test eax, eax
je 0x4117ea
push 0x403e24
push ebx
call edi
push eax
call esi
mov dword [0x435ab0], eax
mov eax, dword [0x435ab0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411843
cmp dword [0x435ab4], ecx
je 0x411843
push eax
call esi
push dword [0x435ab4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411843
test ebx, ebx
je 0x411843
call edi
test eax, eax
je 0x41183a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41183a
test byte [ebp - 8], 1
jne 0x411843
or dword [ebp + 0x10], 0x200000
jmp 0x411876
mov eax, dword [0x435aa8]
cmp eax, dword [ebp - 0x18]
je 0x411876
push eax
call esi
test eax, eax
je 0x411876
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411876
mov eax, dword [0x435aac]
cmp eax, dword [ebp - 0x18]
je 0x411876
push eax
call esi
test eax, eax
je 0x411876
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435aa4]
call esi
test eax, eax
je 0x411892
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411894
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004091fb
leave
ret
Function at 0x428030
Capabilities:
Get common file path

Disassembly:
sub esp, 0xd38
cmp dword [0x7b980c], 0x37
jne 0x4280c6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea eax, [esp + 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [esp + 0x13c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7ba800]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x7b9774]
mov byte [edx + esi], cl
add esp, 0xd38
ret
Function at 0x4282d0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b980c]
sub esp, 0x28c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7b9774]
cmp eax, ebx
jbe 0x4284bd
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x428306
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b980c], 0x1c
jne 0x42831d
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x4312d0]
mov eax, dword [0x4312d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4312d8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x4312dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov ebp, 0x20
jmp 0x428362
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x24]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x30]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7b9778], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b9778], eax
mov eax, dword [0x7b9778]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp dword [0x7b980c], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x428426
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x28]
xor ecx, ebx
mov dword [0x7b9780], 0xff6b3619
mov dword [0x7b9784], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x428360
cmp dword [0x7b980c], 0x8d4
jne 0x428476
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7b980c], 0x17
jne 0x4284ac
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x48]
push edx
push 0x403f50
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x428300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28c
ret
Function at 0x442910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..i
lea edi, [esi - 0x3c000]
push edi
or ebp, 0xffffffff
jmp 0x442932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x442939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x442928
mov eax, 1
add ebx, ebx
jne 0x44294b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x442940
jne 0x44295c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x442940
xor ecx, ecx
sub eax, 3
jb 0x442970
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4429e2
mov ebp, eax
add ebx, ebx
jne 0x44297b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x442988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4429ac
inc ecx
add ebx, ebx
jne 0x442998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44298d
jne 0x4429a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44298d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4429cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4429bd
jmp 0x44292e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4429cc
add edi, ecx
jmp 0x44292e
pop esi
mov edi, esi
mov ecx, 0x263
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4429ea
cmp byte [edi], 1
jne 0x4429ea
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 0x4429ef
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x442a67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x42000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x420b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x442a1c
mov ecx, edi
jns 0x442a4b
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 + 0x420c0]
or eax, eax
je 0x442a61
mov dword [ebx], eax
add ebx, 4
jmp 0x442a39
call dword [esi + 0x420bc]
mov ebp, dword [esi + 0x420c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x442a9b
sub esp, 0xffffff80
jmp 0x4032bf
Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x466e457e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x603a2405
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219