joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401db0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x401dfb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401df4
test esi, esi
je 0x401df4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401dd0
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401fe0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402108
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40206e
cmp eax, 4
jne 0x402090
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40207e
cmp edx, 4
je 0x40207e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401fe0
Function at 0x4099e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417354]
jne 0x4099eb
repz ret
jmp fcn.0040e5bc

Function at 0x4122c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417354]
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.0040c44d
and dword [ebp - 0x14], 0
cmp dword [0x439ea8], 0
mov dword [ebp - 0x18], eax
jne 0x412377
push 0x403774
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41241f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403768
push ebx
call edi
test eax, eax
je 0x41241f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403758
push ebx
mov dword [0x439ea8], eax
call edi
push eax
call esi
push 0x403744
push ebx
mov dword [0x439eac], eax
call edi
push eax
call esi
push 0x403728
push ebx
mov dword [0x439eb0], eax
call edi
push eax
call esi
mov dword [0x439eb8], eax
test eax, eax
je 0x412377
push 0x403710
push ebx
call edi
push eax
call esi
mov dword [0x439eb4], eax
mov eax, dword [0x439eb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123d0
cmp dword [0x439eb8], ecx
je 0x4123d0
push eax
call esi
push dword [0x439eb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123d0
test ebx, ebx
je 0x4123d0
call edi
test eax, eax
je 0x4123c7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4123c7
test byte [ebp - 8], 1
jne 0x4123d0
or dword [ebp + 0x10], 0x200000
jmp 0x412403
mov eax, dword [0x439eac]
cmp eax, dword [ebp - 0x18]
je 0x412403
push eax
call esi
test eax, eax
je 0x412403
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412403
mov eax, dword [0x439eb0]
cmp eax, dword [ebp - 0x18]
je 0x412403
push eax
call esi
test eax, eax
je 0x412403
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x439ea8]
call esi
test eax, eax
je 0x41241f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412421
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004099e1
leave
ret
Function at 0x414200
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1000
call fcn.00413890
cmp dword [0x46b17c], 0x37
jne 0x414276
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0x403f90
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fb0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0x403fc8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esp + 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x46bd60]
mov edx, dword [0x4681dc]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1000
ret
Function at 0x414310
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub esp, 0x824
cmp dword [0x46b17c], 0x60b
mov ecx, dword [esp + 0x828]
mov eax, dword [ecx]
mov edx, dword [0x436f6c]
push ebx
push ebp
mov ebp, dword [0x436f74]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x436f68]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x436f70]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
jne 0x414381
push 0
lea edx, [esp + 0x20]
push edx
push 0
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0x20
jmp 0x414394
mov eax, dword [esp + 0x18]
mov ecx, eax
shl ecx, 4
cmp dword [0x46b17c], 5
mov dword [esp + 0x10], ecx
jne 0x4143be
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x2c]
lea edi, [ebx + eax]
shr eax, 5
cmp dword [0x46b17c], 0x1b
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x4143fe
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x403f18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, ebp
xor eax, edi
xor eax, ecx
sub esi, eax
mov dword [esp + 0x14], eax
mov eax, esi
shl eax, 4
cmp dword [0x46b17c], 0x78c
mov dword [0x4681e0], 0
mov dword [esp + 0x10], eax
jne 0x414443
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
mov eax, esi
shr eax, 5
mov dword [0x4681e8], 0xff6b3619
mov dword [0x4681ec], 0xffffffff
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x14], eax
lea ecx, [ebx + esi]
xor dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
cmp dword [0x46b17c], 0x93
jne 0x4144a5
push 0x403f40
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x4144b2
lea eax, [esp + 0x20]
call fcn.004142a0
mov ebx, dword [esp + 0x20]
dec dword [esp + 0x1c]
jne 0x414390
mov eax, dword [esp + 0x838]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x824
ret 4
Function at 0x180e8a17
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
jne 0x180e89df
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
jne 0x180e89df
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.180e81dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.180e8192
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
invalid
movsd dword es:[edi], dword [esi]
int3
cld

Function at 0x180f1b73
Capabilities:
Create http request

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
inc eax
push 0x102
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x14]
push eax
mov dword [esi], 0x181a3fcc
mov dword [esi + 0xc], 0x181a3acc
call fcn.1815e875
xor ebx, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
push 0x2c
lfence
call fcn.18122d28
add esp, 0xc
mov dword [eax], eax
push 0x10000000
push ebx
push ebx
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push ebx
mov dword [esi + 0x44], eax
push ebx
mov byte [esi + 0x4c], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret
Function at 0x18106e5b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
fild dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
fstp qword [esi + 8]
fild dword [ebp + 0xc]
mov dword [esi], 0x181a440c
fstp qword [esi + 0x10]
fld qword [ebp + 0x10]
fstp qword [esi + 0x18]
fld qword [ebp + 0x18]
fstp qword [esi + 0x20]
fldz
fst qword [esi + 0x28]
fst qword [esi + 0x30]
fstp qword [esi + 0x38]
call fcn.1815ee4d
or dword [esi + 0x13c4], 0xffffffff
lea edi, [esi + 0x48]
mov ecx, eax
xor edx, edx
mov dword [esi + 0x44], ecx
inc edx
mov ebx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jb 0x18106ea9
fldz
mov ecx, esi
mov dword [esi + 0x40], ebx
fstp qword [esi + 0x13c8]
fld1
fstp qword [esi + 0x13d0]
call fcn.18106f56
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x1815269a
Capabilities:
Set environment variable

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

Function at 0x18159404
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1815927a

Function at 0x1815ddc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1815dded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1815dded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x68e22ee5
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x9392692
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x404220
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c4
call fcn.00409fe0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x45c368]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x45c36c]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], edx
call fcn.00404210
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x45c370]
mov edx, dword [0x45c374]
add edi, 0x23f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea ecx, [ecx]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x463afc]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x4042ac
mov dword [0x463af8], 0xedeb2e40
jmp 0x4042c7
cmp eax, 0x3eb
jne 0x4042c7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x463588], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x463afc], 0x9e6
mov dword [0x463af4], 0xf4ea3dee
jne 0x404300
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x463afc], 0x213
jne 0x4043a4
push 0
lea eax, [ebp - 0x4c4]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
lea ecx, [ebp - 0xcc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea ecx, [ebp - 0x8c4]
push ecx
push 0
push 0x403ed8
push 0x403f10
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub ebx, dword [ebp - 4]
cmp dword [0x463afc], 0xc
jne 0x4043b8
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov edx, ebx
shr edx, 5
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x1c]
lea ecx, [edi + ebx]
xor eax, ecx
xor eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x404280
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404410
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Get thread local storage value
Read pipe
Set environment variable
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.00409fe0
mov eax, dword [0x463afc]
mov ecx, dword [0x46358c]
shr eax, 3
test eax, eax
jbe 0x40452c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x463afc], 0x959
jne 0x404512
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1008]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404220
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b5f8]
jne 0x406f5a
repz ret
jmp fcn.0040bbee

Function at 0x40b815
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408bc4
and dword [ebp - 4], 0
cmp dword [0x461578], 0
mov ebx, eax
jne 0x40b8c6
push 0x401c4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b977
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c40
push edi
call esi
test eax, eax
je 0x40b977
push eax
call fcn.00408b52
mov dword [esp], 0x401c30
push edi
mov dword [0x461578], eax
call esi
push eax
call fcn.00408b52
mov dword [esp], 0x401c1c
push edi
mov dword [0x46157c], eax
call esi
push eax
call fcn.00408b52
mov dword [esp], 0x401c00
push edi
mov dword [0x461580], eax
call esi
push eax
call fcn.00408b52
pop ecx
mov dword [0x461588], eax
test eax, eax
je 0x40b8c6
push 0x401be8
push edi
call esi
push eax
call fcn.00408b52
pop ecx
mov dword [0x461584], eax
mov eax, dword [0x461584]
cmp eax, ebx
je 0x40b91e
cmp dword [0x461588], ebx
je 0x40b91e
push eax
call fcn.00408bcd
push dword [0x461588]
mov esi, eax
call fcn.00408bcd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b91e
test edi, edi
je 0x40b91e
call esi
test eax, eax
je 0x40b915
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b915
test byte [ebp - 0xc], 1
jne 0x40b91e
or dword [ebp + 0x10], 0x200000
jmp 0x40b957
mov eax, dword [0x46157c]
cmp eax, ebx
je 0x40b957
push eax
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b957
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b957
mov eax, dword [0x461580]
cmp eax, ebx
je 0x40b957
push eax
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b957
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461578]
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b977
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b979
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b641
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
or edx, edx
or edx, ebx
add edx, 0x4204209b
call fcn.0043b67b
mov edx, 0xb08e6db9
or ebx, edx
xor dword [esi], edi
add ebx, edx
add ebx, 0x407256f1
inc esi
sub edx, 0x2b52b073
inc ebx
cmp esi, ecx
jne fcn.0043b641
mov edx, 0x973b74cb
mov ebx, ebx
ret
Function at 0x403720
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040e4c0
mov eax, dword [0x2b89c44]
mov ecx, dword [0x2b89bb8]
shr eax, 3
test eax, eax
jbe 0x40385b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403770
cmp dword [0x2b89c44], 0x959
jne 0x40383d
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402dac
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402dd8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402e0c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402e18
push 0x402e28
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403550
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x40626b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431aa8]
jne 0x406275
repz ret
jmp fcn.0040a86c

Function at 0x40cf2f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407835
and dword [ebp - 4], 0
cmp dword [0x433138], 0
mov ebx, eax
jne 0x40cfe0
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d091
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40d091
push eax
call fcn.004077c3
mov dword [esp], 0x402c78
push edi
mov dword [0x433138], eax
call esi
push eax
call fcn.004077c3
mov dword [esp], 0x402c64
push edi
mov dword [0x43313c], eax
call esi
push eax
call fcn.004077c3
mov dword [esp], 0x402c48
push edi
mov dword [0x433140], eax
call esi
push eax
call fcn.004077c3
pop ecx
mov dword [0x433148], eax
test eax, eax
je 0x40cfe0
push 0x402c30
push edi
call esi
push eax
call fcn.004077c3
pop ecx
mov dword [0x433144], eax
mov eax, dword [0x433144]
cmp eax, ebx
je 0x40d038
cmp dword [0x433148], ebx
je 0x40d038
push eax
call fcn.0040783e
push dword [0x433148]
mov esi, eax
call fcn.0040783e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d038
test edi, edi
je 0x40d038
call esi
test eax, eax
je 0x40d02f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d02f
test byte [ebp - 0xc], 1
jne 0x40d038
or dword [ebp + 0x10], 0x200000
jmp 0x40d071
mov eax, dword [0x43313c]
cmp eax, ebx
je 0x40d071
push eax
call fcn.0040783e
pop ecx
test eax, eax
je 0x40d071
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d071
mov eax, dword [0x433140]
cmp eax, ebx
je 0x40d071
push eax
call fcn.0040783e
pop ecx
test eax, eax
je 0x40d071
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433138]
call fcn.0040783e
pop ecx
test eax, eax
je 0x40d091
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d093
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret