joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416390
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1b04
call fcn.00415260
cmp dword [0x8dc1e4], 0x37
jne 0x416488
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea ecx, [esp + 0x304]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push 0
lea eax, [esp + 0xb04]
push eax
push 0x403ffc
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x1304]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xe0]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.004111d0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov edx, dword [0x8de948]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x8da9dc]
mov byte [edx + esi], cl
add esp, 0x1b04
ret
Function at 0x4013e3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40ca60
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40cc8f
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf4
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf4
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xbe
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x60
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xcb
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xed
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x4f
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 8
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x87
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x2c
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x6b
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x20
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xaf
push str.dHJdvghcgyhushgjdshgj
push 0x5d8530
call fcn.00402ef0
add esp, 8
push eax
call fcn.004065a0
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 2
inc ebx
cmp esi, ebx
jne 0x40ca80
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402e4b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40cca0
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebp, eax
jb 0x40ccb8
mov ebp, dword [eax]
mov esi, dword [esp + 0x20]
xor esi, edi
cmp edi, 4
jae 0x40ccc7
mov ecx, edi
jmp 0x40cd23
mov dword [esp], edi
shr edi, 2
cmp edi, 2
mov eax, 1
cmovae eax, edi
mov dword [esp + 4], eax
xor ebx, ebx
nop
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, 0x5d8530
push edi
call fcn.00403ff8
imul eax, dword [ebp + ebx*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebx
cmp dword [esp + 4], ebx
jne 0x40cce0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40cd4c
cmp ecx, 2
je 0x40cd42
cmp ecx, 3
jne 0x40cd5b
movsx eax, byte [ebp + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebp + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebp + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4037ab
Capabilities:
Terminate process

Disassembly:
jmp 0x460d63
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x460d74
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405cf9
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4038ff
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a0d07
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a0d18
pop esi
ret
push ebx
push edi
push esi
call fcn.004a0bee
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040426e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a0d40
push ebx
push esi
push edi
call fcn.00405ad3
add esp, 0xc
push 0
call fcn.00406703
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405b9b
Capabilities:
Parse pe header

Disassembly:
jmp 0x4229b9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4229f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4229f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4229f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4229f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4229f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x49ee19
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5d2384]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49ee64
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049f2db
test al, al
jne 0x49ee5e
sub edx, 2
cmp edx, edi
jne 0x49ee44
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49ee86
lea eax, [edi + 2]
cmp edx, eax
je 0x49ee86
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049ea12
add esp, 0x10
jmp 0x49ef80
push esi
lea ecx, [ebp - 0x255]
call fcn.0049f2db
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49eec9
push dword [ebp - 0x25c]
jmp 0x49ee76
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49ef06
cmp word [ebp - 0x226], 0
je 0x49ef27
cmp word [ebp - 0x226], ax
jne 0x49ef06
cmp word [ebp - 0x224], 0
je 0x49ef27
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049ea12
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49ef73
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49eee0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49ef5b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49ef80
push 0x49e3fa
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040590c
add esp, 0x10
jmp 0x49ef50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004031d4
leave
ret
Function at 0x4aa40c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401e38
mov eax, dword [0x5d2384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004062c6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4aa44e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4aa5aa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406433
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5d9988]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004033f5
mov ecx, dword [esi*4 + 0x5d9988]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4aa5a3
cmp eax, dword [edi + ecx + 0x24]
jne 0x4aa5a3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4aa5a3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004033f5
add esp, 0x14
test edx, edx
jl 0x4aa5a3
jg 0x4aa519
test eax, eax
jb 0x4aa5a3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4aa5a3
jl 0x4aa533
cmp dword [ebp - 0x1008], eax
ja 0x4aa5a3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4aa551
test ebx, ebx
je 0x4aa58a
cmp ecx, edi
jae 0x4aa58a
mov al, byte [ecx]
cmp al, 0xd
jne 0x4aa56b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4aa577
cmp byte [ecx + 1], 0xa
jne 0x4aa577
inc ecx
jmp 0x4aa577
movzx eax, al
movsx eax, byte [eax + 0x5d60f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4aa551
cmp edx, ebx
jne 0x4aa551
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4aa5a8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004031d4
leave
ret
Function at 0x4b4c3c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5d9988]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b4c7c
cmp byte [ebx], 0xa
jne 0x4b4c7c
or byte [eax + edi + 0x28], 4
jmp 0x4b4c81
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b4d7f
mov al, byte [edx]
cmp al, 0x1a
je 0x4b4d61
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b4cb0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b4cd5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b4cdf
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4b4c92
jmp 0x4b4d7f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b4d5c
cmp dword [ebp - 0xc], 0
je 0x4b4d5c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5d9988]
test byte [eax + edi + 0x28], 0x48
je 0x4b4d36
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b4d21
mov byte [esi], dl
jmp 0x4b4d32
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5d9988]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b4d7f
cmp byte [ebp - 1], 0xa
jne 0x4b4d45
cmp esi, ebx
jne 0x4b4d45
mov byte [esi], 0xa
jmp 0x4b4d7e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040199c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b4d7f
mov byte [esi], 0xd
jmp 0x4b4d7e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5d9988]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b4d7b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b4d7f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b4ddb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5d9988]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b4e1e
cmp word [esi], dx
jne 0x4b4e1e
or byte [edi + eax + 0x28], 4
jmp 0x4b4e23
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4b4f76
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4b4f56
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4b4e65
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4b4e9b
cmp eax, edx
jae 0x4b4ea7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4b4e3d
jmp 0x4b4f76
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b4f52
cmp dword [ebp - 0x14], 0
je 0x4b4f52
mov eax, dword [ebx*4 + 0x5d9988]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4b4f2a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4b4ef3
mov word [esi], cx
jmp 0x4b4f26
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5d9988]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5d9988]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5d9988]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4b4f76
pop ebx
cmp word [ebp - 4], bx
jne 0x4b4f3b
cmp esi, dword [ebp + 0xc]
jne 0x4b4f3b
mov word [esi], bx
jmp 0x4b4f73
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040199c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4b4f76
push 0xd
jmp 0x4b4f6f
mov ecx, dword [ebx*4 + 0x5d9988]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b4f6d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b4f76
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x53266ded
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xb8b3fc1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x408933
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edi, 0x4085d8
and esi, ecx
sub esi, 1
call fcn.00408962
and ecx, esi
xor dword [edx], edi
or esi, esi
add edx, 1
and esi, esi
cmp edx, eax
jne fcn.00408933
mov ecx, ecx
mov esi, esi
ret

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

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40309c
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x8c1088], 0x594
push edi
mov dword [ebp - 8], eax
jne 0x4030d2
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x4a1ef8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4a1efc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.00403095
mov eax, dword [0x4a1f00]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x4a1f04]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x8c1088], 0xc
mov dword [ebp - 4], eax
jne 0x403160
push esi
lea eax, [ebp - 0x430]
push eax
push 0x4024d4
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x8c1088]
cmp eax, 0xfa9
jne 0x40317c
mov dword [0x8c0624], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403189
mov dword [0x8bffd4], esi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, ebx
shr edx, cl
lea eax, [edi + ebx]
mov dword [ebp - 0x14], eax
mov dword [0x8c0620], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x8c1088], 0xc
jne 0x4031df
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
add edi, edx
add eax, dword [ebp - 0x24]
xor eax, edi
xor dword [ebp - 4], eax
sub ebx, dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.0040308e
dec dword [ebp - 0x18]
jne 0x40310b
cmp dword [0x8c1088], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], ebx
jne 0x403236
push esi
push 0x4024f0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403240
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8c1088]
mov ecx, dword [0x8bffd8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4032e7
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x8c1088], 0x959
jne 0x4032d9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x402508
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
call fcn.0040309c
add edi, 8
dec ebx
jne 0x403268
pop edi
pop ebx
pop esi
leave
ret