joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaf61b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x87a015
lea edi, [esi - 0x479015]
push edi
jmp 0xaf61ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaf61d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf61c0
mov eax, 1
add ebx, ebx
jne 0xaf61e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaf61f4
jne 0xaf6213
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6213
dec eax
add ebx, ebx
jne 0xaf6200
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaf61d8
add ebx, ebx
jne 0xaf620f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaf6265
xor ecx, ecx
sub eax, 3
jb 0xaf622b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaf629a
sar eax, 1
mov ebp, eax
jmp 0xaf6236
add ebx, ebx
jne 0xaf6236
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6204
inc ecx
add ebx, ebx
jne 0xaf6244
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6204
add ebx, ebx
jne 0xaf6251
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaf6246
jne 0xaf6262
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaf6246
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaf6284
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaf6276
jmp 0xaf61c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaf6284
add edi, ecx
jmp 0xaf61c6
pop esi
mov edi, esi
mov ecx, 0x14a77
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xaf62a2
cmp byte [edi], 0x26
jne 0xaf62a2
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 0xaf62a7
lea edi, [esi + 0x6f4000]
mov eax, dword [edi]
or eax, eax
je 0xaf6316
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6f6000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6f6028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaf62d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6f6030]
or eax, eax
je 0xaf6310
mov dword [ebx], eax
add ebx, 4
jmp 0xaf62f1
call dword [esi + 0x6f602c]
mov ebp, dword [esi + 0x6f6034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0xaf634a
sub esp, 0xffffff80
jmp 0x463770
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

Function at 0x438cbf
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov eax, ebx
sub ebx, 1
call fcn.00438cf1
and ebx, ebx
xor dword [edi], ecx
inc eax
inc edi
mov eax, ebx
inc eax
push 0x517f42bc
pop ebx
cmp edi, esi
jne fcn.00438cbf
add ebx, ebx
add ebx, 1
ret
Function at 0x404240
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.0040a010
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x495368]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x49536c]
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.00404230
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x495370]
mov edx, dword [0x495374]
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 [0x49cafc]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x4042cc
mov dword [0x49caf8], 0xedeb2e40
jmp 0x4042e7
cmp eax, 0x3eb
jne 0x4042e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x49c588], 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 [0x49cafc], 0x9e6
mov dword [0x49caf4], 0xf4ea3dee
jne 0x404320
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x49cafc], 0x213
jne 0x4043d0
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]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea ecx, [ebp - 0x8c4]
push ecx
push 0
push 0x403ed8
push 0x403f24
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 [0x49cafc], 0xc
jne 0x4043e4
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 0x4042a0
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 0x404430
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.0040a010
mov eax, dword [0x49cafc]
mov ecx, dword [0x49c58c]
shr eax, 3
test eax, eax
jbe 0x40454c
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 [0x49cafc], 0x959
jne 0x404532
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.00404240
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4945f8]
jne 0x406f8a
repz ret
jmp fcn.0040bc1e

Function at 0x40b845
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.00408bf4
and dword [ebp - 4], 0
cmp dword [0x49a578], 0
mov ebx, eax
jne 0x40b8f6
push 0x401c4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b9a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c40
push edi
call esi
test eax, eax
je 0x40b9a7
push eax
call fcn.00408b82
mov dword [esp], 0x401c30
push edi
mov dword [0x49a578], eax
call esi
push eax
call fcn.00408b82
mov dword [esp], 0x401c1c
push edi
mov dword [0x49a57c], eax
call esi
push eax
call fcn.00408b82
mov dword [esp], 0x401c00
push edi
mov dword [0x49a580], eax
call esi
push eax
call fcn.00408b82
pop ecx
mov dword [0x49a588], eax
test eax, eax
je 0x40b8f6
push 0x401be8
push edi
call esi
push eax
call fcn.00408b82
pop ecx
mov dword [0x49a584], eax
mov eax, dword [0x49a584]
cmp eax, ebx
je 0x40b94e
cmp dword [0x49a588], ebx
je 0x40b94e
push eax
call fcn.00408bfd
push dword [0x49a588]
mov esi, eax
call fcn.00408bfd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b94e
test edi, edi
je 0x40b94e
call esi
test eax, eax
je 0x40b945
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b945
test byte [ebp - 0xc], 1
jne 0x40b94e
or dword [ebp + 0x10], 0x200000
jmp 0x40b987
mov eax, dword [0x49a57c]
cmp eax, ebx
je 0x40b987
push eax
call fcn.00408bfd
pop ecx
test eax, eax
je 0x40b987
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b987
mov eax, dword [0x49a580]
cmp eax, ebx
je 0x40b987
push eax
call fcn.00408bfd
pop ecx
test eax, eax
je 0x40b987
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49a578]
call fcn.00408bfd
pop ecx
test eax, eax
je 0x40b9a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b9a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xf1717f1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c1e0a42
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x7ffe54a7
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe54b2
pop edx
xor dx, dx
add edx, 0xd5e0
xor ecx, ecx
mov cl, 0x1e
xor byte [ecx + edx], 0x46
loop 0x7ffe54c0
push dword fs:[0x24]
pop dword [edx + 0xa]
mov cl, 0xff
push edx
loop 0x7ffe54d2
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
push 0
push 0
push 0
push 0
push 0x30
push 0x20
push 0
push 0
add edx, 0xffff7f3a
push edx
push edx
push 0
call dword [edx + 0x8209]
add esp, 0x3f8
stc
xor eax, eax
cld
inc eax
cld
ret 0xc
Function at 0x403340
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040cd90
mov eax, dword [0xa3e50c]
mov ecx, dword [0xa3e47c]
shr eax, 3
test eax, eax
jbe 0x403472
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403390
cmp dword [0xa3e50c], 0x959
jne 0x403454
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x1024]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
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 + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0x402d40
push 0x402d50
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403160
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x403d40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1830
call fcn.0040cd90
cmp dword [0xa3e50c], 0xc
push ebx
push ebp
push esi
push edi
jne 0x403e22
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
lea eax, [esp + 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
call dword [sym.imp.KERNEL32.dll__lclose]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleFontSize]
push 0
push 0
lea ecx, [esp + 0xc48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
push 0x402e00
push 0x402e1c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0x402e38
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
lea eax, [esp + 0x1044]
push eax
push 0x402e6c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0x402e78
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
call fcn.00403f2d
push ecx
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004042fa
fstp st(0)
add esp, 8
mov edi, dword [sym.imp.USER32.dll_SetCaretPos]
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffW]
mov ebp, dword [sym.imp.USER32.dll_GetSysColorBrush]
xor esi, esi
cmp esi, 0x9458
jge 0x403e54
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1044]
push ecx
call ebx
push 0
call ebp
inc esi
cmp esi, 0x14ee8
jl 0x403e36
mov edx, dword [0x4316c4]
mov eax, dword [0x431698]
mov dword [0xa3e50c], edx
mov dword [0xa3fe14], eax
call fcn.00403580
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407e23
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430a94]
jne 0x407e2d
repz ret
jmp fcn.0040a5e7
Function at 0x4088de
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.004068d5
and dword [ebp - 4], 0
cmp dword [0x431f74], 0
mov ebx, eax
jne 0x40898f
push 0x401a8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408a40
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a80
push edi
call esi
test eax, eax
je 0x408a40
push eax
call fcn.00406863
mov dword [esp], 0x401a70
push edi
mov dword [0x431f74], eax
call esi
push eax
call fcn.00406863
mov dword [esp], 0x401a5c
push edi
mov dword [0x431f78], eax
call esi
push eax
call fcn.00406863
mov dword [esp], 0x401a40
push edi
mov dword [0x431f7c], eax
call esi
push eax
call fcn.00406863
pop ecx
mov dword [0x431f84], eax
test eax, eax
je 0x40898f
push 0x401a28
push edi
call esi
push eax
call fcn.00406863
pop ecx
mov dword [0x431f80], eax
mov eax, dword [0x431f80]
cmp eax, ebx
je 0x4089e7
cmp dword [0x431f84], ebx
je 0x4089e7
push eax
call fcn.004068de
push dword [0x431f84]
mov esi, eax
call fcn.004068de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4089e7
test edi, edi
je 0x4089e7
call esi
test eax, eax
je 0x4089de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4089de
test byte [ebp - 0xc], 1
jne 0x4089e7
or dword [ebp + 0x10], 0x200000
jmp 0x408a20
mov eax, dword [0x431f78]
cmp eax, ebx
je 0x408a20
push eax
call fcn.004068de
pop ecx
test eax, eax
je 0x408a20
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408a20
mov eax, dword [0x431f7c]
cmp eax, ebx
je 0x408a20
push eax
call fcn.004068de
pop ecx
test eax, eax
je 0x408a20
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431f74]
call fcn.004068de
pop ecx
test eax, eax
je 0x408a40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408a42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5dd4a4
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x46f23946
cmp edx, esi
inc esi
dec ebx
sub al, 0x51
xor eax, 0x6ba10276
sbb dword [ebx - 0x5e], eax
out dx, al
ja 0x5dd471
adc cl, byte [edi]
das
push ebp
mov byte [0xa25375e5], al
out dx, al
clc
das
xlatb
cmp byte [ebp + esi*4 + 0x2b744658], bh
push ecx
xor eax, 0x6ba10276
sub edx, dword [ecx + 0x35]
jbe 0x5dd49c
mov eax, dword [0xa242f96b]
out dx, al
mov cl, 4
mov dl, 0xee
stc
inc edx
mov byte [0xb204b1ee], al
out dx, al
and eax, 0xcd7146ba
inc esi
sbb eax, 0x61c5f0ab
in eax, 0x74
insd dword es:[edi], dx
mov byte [0x28bbf8ee], al
ja 0x5dd495
jl 0x5dd46f
imul edi, dword [ecx - 0x6fad9c1], 0x42
mov byte [0x1d2f3667], al
out dx, al
jne 0x5dd4cc
mov eax, dword [0xa243176a]
out dx, al
mov ebx, 0x4635b2b5
aas
xor eax, 0xcc3a3b46
mov edx, 0xb96b512f
mov ebx, 0xc5ec32e6
pop ss
inc ebx
mov byte [0xb2b5bbee], al
xor eax, 0x35f23f46
inc esi
cmp edi, dword [edx]
int3
Function at 0x4033d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x200c
call fcn.0040c3d0
mov eax, dword [0x2b87bbc]
mov ecx, dword [0x2b87b30]
shr eax, 3
test eax, eax
jbe 0x403502
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403420
cmp dword [0x2b87bbc], 0x959
jne 0x4034e4
push 0
lea eax, [esp + 0x420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0xc24]
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 + 0x1820]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d2c
push 0x402d3c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403220
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
Function at 0x40904b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fa00]
jne 0x409055
repz ret
jmp fcn.0040b31c

Function at 0x40aa6e
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.00405dad
and dword [ebp - 4], 0
cmp dword [0x430d88], 0
mov ebx, eax
jne 0x40ab1f
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40abd0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40abd0
push eax
call fcn.00405d3b
mov dword [esp], 0x402bf0
push edi
mov dword [0x430d88], eax
call esi
push eax
call fcn.00405d3b
mov dword [esp], 0x402bdc
push edi
mov dword [0x430d8c], eax
call esi
push eax
call fcn.00405d3b
mov dword [esp], 0x402bc0
push edi
mov dword [0x430d90], eax
call esi
push eax
call fcn.00405d3b
pop ecx
mov dword [0x430d98], eax
test eax, eax
je 0x40ab1f
push 0x402ba8
push edi
call esi
push eax
call fcn.00405d3b
pop ecx
mov dword [0x430d94], eax
mov eax, dword [0x430d94]
cmp eax, ebx
je 0x40ab77
cmp dword [0x430d98], ebx
je 0x40ab77
push eax
call fcn.00405db6
push dword [0x430d98]
mov esi, eax
call fcn.00405db6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ab77
test edi, edi
je 0x40ab77
call esi
test eax, eax
je 0x40ab6e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab6e
test byte [ebp - 0xc], 1
jne 0x40ab77
or dword [ebp + 0x10], 0x200000
jmp 0x40abb0
mov eax, dword [0x430d8c]
cmp eax, ebx
je 0x40abb0
push eax
call fcn.00405db6
pop ecx
test eax, eax
je 0x40abb0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40abb0
mov eax, dword [0x430d90]
cmp eax, ebx
je 0x40abb0
push eax
call fcn.00405db6
pop ecx
test eax, eax
je 0x40abb0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430d88]
call fcn.00405db6
pop ecx
test eax, eax
je 0x40abd0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40abd2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret