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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3b93aed
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x54032285
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0xa2c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a2c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa2c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2c06a
add dl, dl
jne 0xa2c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2c0dc
xor eax, eax
add dl, dl
jne 0xa2c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2c17d
add dl, dl
jne 0xa2c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa2c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa2c075
mov eax, 1
add dl, dl
jne 0xa2c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2c0e1
sub eax, ebx
mov ebx, 1
jne 0xa2c128
mov ecx, 1
add dl, dl
jne 0xa2c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa2c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2c136
cmp eax, 0x7d00
jae 0xa2c16d
cmp eax, 0x500
jb 0xa2c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2c075
cmp eax, 0x7f
ja 0xa2c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa2c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa2c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x52491f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5dc9d8]
jne 0x524929
repz ret
jmp fcn.0052d8dd

Function at 0x52f21f
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.00522a96
and dword [ebp - 4], 0
cmp dword [0x5de514], 0
mov ebx, eax
jne 0x52f2d0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x52f381
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x52f381
push eax
call fcn.00522a24
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5de514], eax
call esi
push eax
call fcn.00522a24
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5de518], eax
call esi
push eax
call fcn.00522a24
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5de51c], eax
call esi
push eax
call fcn.00522a24
pop ecx
mov dword [0x5de524], eax
test eax, eax
je 0x52f2d0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00522a24
pop ecx
mov dword [0x5de520], eax
mov eax, dword [0x5de520]
cmp eax, ebx
je 0x52f328
cmp dword [0x5de524], ebx
je 0x52f328
push eax
call fcn.00522a9f
push dword [0x5de524]
mov esi, eax
call fcn.00522a9f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52f328
test edi, edi
je 0x52f328
call esi
test eax, eax
je 0x52f31f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x52f31f
test byte [ebp - 0xc], 1
jne 0x52f328
or dword [ebp + 0x10], 0x200000
jmp 0x52f361
mov eax, dword [0x5de518]
cmp eax, ebx
je 0x52f361
push eax
call fcn.00522a9f
pop ecx
test eax, eax
je 0x52f361
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x52f361
mov eax, dword [0x5de51c]
cmp eax, ebx
je 0x52f361
push eax
call fcn.00522a9f
pop ecx
test eax, eax
je 0x52f361
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5de514]
call fcn.00522a9f
pop ecx
test eax, eax
je 0x52f381
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x52f383
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x532bb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x5dbe44], 0
mov byte [0x5dbe48], 0
mov dword [0x5dbe38], 0xde7
mov dword [0x5dbe3c], 0x22fd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x5dbe40], 0
mov dword [ebp - 0x1c], eax
jmp 0x532cd7
mov eax, 0x100
mov dword [0x5dbe4c], 0
mov dword [0x5dbe3c], 0x1bb5
mov ecx, dword [0x5dbe44]
mov edx, dword [0x5dbe40]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x5dbe4c], edi
mov dword [0x5dbe3c], 0x938
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x5dbe44], edx
mov ecx, dword [0x5dbe40]
mov bl, byte [esi + ecx]
mov byte [0x5dbe48], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x5dbe48]
mov ecx, dword [0x5dbe44]
mov byte [esi + ecx], bl
mov dword [0x5dbe3c], 0x42e
mov dword [0x5dbe38], 0x178b
mov ecx, dword [0x5dbe40]
add ecx, 1
mov dword [0x5dbe40], ecx
cmp ecx, 0x100
jl 0x532c04
mov dword [0x5dbe38], 0xa6
mov dword [0x5dbe3c], 0x1ca3
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5dbe40]
add eax, 1
mov dword [0x5dbe40], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x532cd7
mov dword [0x5dbe38], 0xbd0
mov dword [0x5dbe40], 0
jmp 0x532c04
Function at 0x532d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [0x5dbe3c], 0x8f6
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [0x5dbe38], 0xfffff6fa
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x532deb
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
mov ebx, edx
add ebx, edi
add ebx, 0x4c
mov edi, dword [ebx]
imul ebx, eax, 0x6c
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x44]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
call fcn.00532f40
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
add edx, 1
cmp edx, 0x12b
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x532ed1
jmp 0x532d62
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x50
mov esi, eax
add esi, 1
imul eax, eax, 0x6c
add edx, eax
add edx, 0x68
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x12b
mov eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], esi
jne 0x532deb
lea eax, [0x5d0494]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x5dbe3c], 0xb99
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.00533160
mov eax, dword [0x5dbe3c]
add eax, 0xfffff64c
mov dword [0x5dbe38], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.005328e0
mov ecx, eax
mov dword [0x5dbe58], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x5dbe3c]
add edx, 0xffffef93
mov dword [0x5dbe38], edx
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x532d62
mov dword [0x5dbe38], 0x23de
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.00533490
mov eax, dword [ebp - 0x44]
add eax, 0x773cb
mov dword [ebp - 0x60], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
mov dword [0x5dbe38], 0x26a1
mov dword [ecx + 4], 0x137200
mov esi, dword [ebp - 0x44]
add esi, 0x39ecc
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0x1f50
mov dword [0x5dbe3c], 0x1a84
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x532fd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x5dbe3c], 0x12cc
mov dword [0x5dbe40], 0
mov dword [0x5dbe44], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x5dbe50], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov dword [ebp - 0x20], eax
je 0x53314c
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x5dbe3c], 0x79c
mov edx, dword [0x5dbe40]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x5dbe40], edx
mov dword [0x5dbe38], 0x11e9
mov esi, dword [0x5dbe44]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x5dbe44], edx
mov dword [0x5dbe38], 0x18c
mov ecx, dword [0x5dbe40]
mov bl, byte [edi + ecx]
mov byte [0x5dbe48], bl
mov dword [0x5dbe38], 0x82
mov ecx, dword [0x5dbe44]
mov bl, byte [edi + ecx]
mov ecx, dword [0x5dbe40]
mov byte [edi + ecx], bl
mov bl, byte [0x5dbe48]
mov ecx, dword [0x5dbe44]
mov byte [edi + ecx], bl
mov ecx, dword [0x5dbe3c]
add ecx, 0xffffede2
mov dword [0x5dbe38], ecx
mov ecx, dword [0x5dbe40]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x5dbe44]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x5dbe50], edx
mov dword [0x5dbe3c], 0x9b0
mov dword [0x5dbe38], 0xeba
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.00401000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov dword [0x5dbe38], 0x15cf
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x20], edx
jne 0x53302d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5332f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.005332f0]
mov dword [0x5dbe38], 0x2505
mov dword [ebp - 4], eax
jmp 0x533338
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x5dbe3c], 0x1296
mov dword [ebp - 4], eax
jmp 0x533338
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x533347
jmp 0x53330b
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x533327
jmp 0x53330b
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
Function at 0x533850
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [0x5dbe38], 0x2ca5
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [0x5dbe38], 0x261f
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x5338cd
mov eax, dword [ebp - 0x18]
mov dword [0x5dbe3c], 0x6af
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x533906
jmp 0x5339dc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x5dbe38], ecx
add esp, 0x34
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
je 0x53389b
mov dword [0x5dbe38], 0x6eb
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jl 0x5338cd
jmp 0x53389b
mov dword [0x5dbe38], 0x1f57
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6f
jne 0x5339dc
mov eax, dword [0x5dbe3c]
add eax, 0xffffec0d
mov dword [0x5dbe38], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x5339dc
mov dword [0x5dbe3c], 0x681
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x5339dc
mov dword [0x5dbe38], 0x17cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x2d], dl
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x533992
jmp 0x5339dc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x5339dc
mov dword [0x5dbe38], 0x23a3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, 0x5b7
mov ecx, 1
mov edx, dword [ebp - 0x34]
cmp word [edx], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
je 0x5338bc
mov eax, 0x1567
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x5338bc
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 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub ebx, ebx
add eax, ebx
call fcn.0040895f
inc eax
xor dword [esi], edx
mov ebx, ebx
add esi, 1
sub eax, 0x5bb1b684
cmp esi, ecx
jne fcn.00408933
mov eax, 0xa46b4600
ret
Function at 0x408f80
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x649ba7d9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
sub eax, 0xe12b7df8
je 0x4090fa
jmp 0x408faf
mov eax, dword [ebp - 0x24]
sub eax, 0xfa2af1b4
je 0x4090ee
jmp 0x408fc2
mov eax, dword [ebp - 0x24]
sub eax, 0xfa810ade
je 0x409037
jmp 0x408fd5
mov eax, dword [ebp - 0x24]
sub eax, 0x3899a1c7
je 0x409073
jmp 0x408fe8
mov eax, dword [ebp - 0x24]
sub eax, 0x3e9df494
je 0x409085
jmp 0x408ffb
mov eax, dword [ebp - 0x24]
sub eax, 0x649ba7d9
je 0x409013
jmp 0x40900e
jmp 0x409102
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xfa810ade
jmp 0x409102
mov edx, dword [ebp - 0x14]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 2
mov eax, 0xffffffff
xor eax, 0x70961d5c
or edx, ecx
or eax, 0x70961d5c
xor edx, 0xffffffff
and edx, eax
mov eax, 0xe12b7df8
mov ecx, 0x3899a1c7
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409102
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x3e9df494
jmp 0x409102
mov ecx, dword [ebp - 0x10]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0xb780c1fd
and eax, 0xb780c1fd
and ecx, edx
mov edi, esi
and edi, 0xb780c1fd
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x28]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0xb780c1fd
and ecx, edx
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x20], 0xfa2af1b4
jmp 0x409102
mov dword [ebp - 0x20], 0xe12b7df8
jmp 0x409102
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x408f99
Function at 0x409110
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xe849e3d9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x873e4bfa
je 0x40932f
jmp 0x40913a
mov eax, dword [ebp - 0x20]
sub eax, 0x8a4e58ca
je 0x409244
jmp 0x40914d
mov eax, dword [ebp - 0x20]
sub eax, 0xb923f79e
je 0x409229
jmp 0x409160
mov eax, dword [ebp - 0x20]
sub eax, 0xc1c54550
je 0x40933b
jmp 0x409173
mov eax, dword [ebp - 0x20]
sub eax, 0xc37bb1e7
je 0x40928f
jmp 0x409186
mov eax, dword [ebp - 0x20]
sub eax, 0xe849e3d9
je 0x4091fd
jmp 0x409199
mov eax, dword [ebp - 0x20]
sub eax, 0x1777129
je 0x40929b
jmp 0x4091ac
mov eax, dword [ebp - 0x20]
sub eax, 0x65266a0
je 0x409256
jmp 0x4091bf
mov eax, dword [ebp - 0x20]
sub eax, 0x78130b1
je 0x409341
jmp 0x4091d2
mov eax, dword [ebp - 0x20]
sub eax, 0x9c4bdad
je 0x4092e1
jmp 0x4091e5
mov eax, dword [ebp - 0x20]
sub eax, 0x73328d73
je 0x409274
jmp 0x4091f8
jmp 0x409348
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x18], 0xb923f79e
jmp 0x409348
mov dl, byte [ebp - 0xd]
mov eax, 0xc1c54550
mov ecx, 0x8a4e58ca
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409348
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x65266a0
jmp 0x409348
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x73328d73
jmp 0x409348
mov edx, dword [ebp - 8]
mov eax, 0xc37bb1e7
mov ecx, 0x1777129
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409348
mov dword [ebp - 0x18], 0xc1c54550
jmp 0x409348
mov eax, dword [0x43253c]
mov ecx, dword [0x432538]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x78130b1
mov ecx, 0x9c4bdad
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409348
mov eax, dword [0x43253c]
mov ecx, dword [0x432538]
mov edx, eax
sub edx, 0xa16bb6ab
sub edx, 1
add edx, 0xa16bb6ab
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x78130b1
mov ecx, 0x873e4bfa
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409348
mov dword [ebp - 0x18], 0xc1c54550
jmp 0x409348
add esp, 0x20
pop esi
pop ebp
ret
mov dword [ebp - 0x18], 0x9c4bdad
jmp 0x409124