joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x104], eax
test esi, esi
jne 0x1001e3cf
xor al, al
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10032551
add esp, 0x108
ret
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.10037cf0
push esi
push 0x1005a704
lea edx, [esp + 0x14]
call fcn.1000a700
add esp, 0x14
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 0x104]
cmp eax, 0xffffffff
setne al
xor ecx, esp
call fcn.10032551
add esp, 0x108
ret

Function at 0x1001e420
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x22c], eax
push edi
xor eax, eax
xor edi, edi
cmp eax, 0x10056ce0
jne 0x1001e456
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.10032551
add esp, 0x230
ret
push esi
push 0
push 2
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 8]
mov esi, eax
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1001e4ab
lea esp, [esp]
lea edx, [esp + 0x2c]
push 0x10056ce0
push edx
call fcn.100368be
add esp, 8
test eax, eax
je 0x1001e4a7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001e480
jmp 0x1001e4ab
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop esi
mov eax, edi
pop edi
xor ecx, esp
call fcn.10032551
add esp, 0x230
ret

Function at 0x1001e4d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x1005a7b0]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x1005a7b0]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x1005a7b0]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x1005a7b0]
movzx ecx, byte [eax + 1]
mov byte [eax + 0xc], dl
mov cl, byte [ecx + 0x1005a7b0]
movzx edx, byte [eax + 5]
movzx edx, byte [edx + 0x1005a7b0]
mov byte [eax + 1], dl
movzx edx, byte [eax + 9]
movzx edx, byte [edx + 0x1005a7b0]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x1005a7b0]
mov byte [eax + 9], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 0xd], cl
movzx edx, byte [edx + 0x1005a7b0]
movzx ecx, byte [eax + 2]
mov cl, byte [ecx + 0x1005a7b0]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
movzx edx, byte [edx + 0x1005a7b0]
movzx ecx, byte [eax + 6]
mov cl, byte [ecx + 0x1005a7b0]
mov byte [eax + 6], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 0xe], cl
movzx edx, byte [edx + 0x1005a7b0]
movzx ecx, byte [eax + 0xf]
mov cl, byte [ecx + 0x1005a7b0]
mov byte [eax + 0xf], dl
movzx edx, byte [eax + 7]
movzx edx, byte [edx + 0x1005a7b0]
mov byte [eax + 0xb], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x1005a7b0]
mov byte [eax + 7], dl
mov byte [eax + 3], cl
ret
Function at 0x1001e5b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x1005a8b0]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x1005a8b0]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x1005a8b0]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x1005a8b0]
movzx ecx, byte [eax + 0xd]
mov byte [eax + 0xc], dl
movzx edx, byte [eax + 9]
movzx edx, byte [edx + 0x1005a8b0]
mov cl, byte [ecx + 0x1005a8b0]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 1], cl
movzx ecx, byte [eax + 2]
mov cl, byte [ecx + 0x1005a8b0]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 0xa], cl
movzx ecx, byte [eax + 6]
mov cl, byte [ecx + 0x1005a8b0]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 0xe], cl
movzx ecx, byte [eax + 3]
mov cl, byte [ecx + 0x1005a8b0]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x1005a8b0]
mov byte [eax + 0xb], dl
mov byte [eax + 0xf], cl
ret
Function at 0x1001f2b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x190
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x194]
push ebx
push ebp
mov ebp, dword [esp + 0x1a4]
push esi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
push edi
lea edi, [ecx + 3]
lea eax, [esp + 0x2a]
sub eax, edi
mov ebx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
xor edx, edx
mov eax, ecx
div ebx
lea eax, [esi - 1]
add ecx, 4
movzx edx, byte [edx + ebp]
xor dl, byte [ecx + 0x1005a79c]
mov byte [esp + ecx + 0x24], dl
xor edx, edx
div ebx
mov al, byte [edx + ebp]
xor al, byte [ecx + 0x1005a79d]
xor edx, edx
mov byte [esp + ecx + 0x25], al
mov eax, esi
div ebx
mov eax, dword [esp + 0x14]
add esi, 4
movzx edx, byte [edx + ebp]
xor dl, byte [esi + 0x1005a79c]
mov byte [eax + edi], dl
xor edx, edx
mov eax, edi
div ebx
add edi, 4
movzx edx, byte [edx + ebp]
xor dl, byte [edi + 0x1005a79c]
mov byte [esp + ecx + 0x27], dl
cmp esi, 0x12
jb 0x1001f300
mov eax, dword [esp + 0x1a8]
mov esi, eax
shr esi, 4
test al, 0xf
je 0x1001f375
xor al, al
jmp 0x1001f3e9
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.1001ebb0
test esi, esi
jbe 0x1001f3e7
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebp
push ebx
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x40]
call fcn.1001f570
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push esi
mov edx, edi
lea ecx, [esp + 0xf4]
call fcn.1001f100
add esi, 0x10
add edi, 0x10
add esp, 0xc
add ebx, 0x10
adc ebp, 0
sub dword [esp + 0x14], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
jne 0x1001f390
mov al, 1
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x190
ret
Function at 0x1001f410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x190
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x194]
push ebx
push ebp
mov ebp, dword [esp + 0x1a4]
push esi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
push edi
lea edi, [ecx + 3]
lea eax, [esp + 0x2a]
sub eax, edi
mov ebx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
xor edx, edx
mov eax, ecx
div ebx
lea eax, [esi - 1]
add ecx, 4
movzx edx, byte [edx + ebp]
xor dl, byte [ecx + 0x1005a79c]
mov byte [esp + ecx + 0x24], dl
xor edx, edx
div ebx
mov al, byte [edx + ebp]
xor al, byte [ecx + 0x1005a79d]
xor edx, edx
mov byte [esp + ecx + 0x25], al
mov eax, esi
div ebx
mov eax, dword [esp + 0x14]
add esi, 4
movzx edx, byte [edx + ebp]
xor dl, byte [esi + 0x1005a79c]
mov byte [eax + edi], dl
xor edx, edx
mov eax, edi
div ebx
add edi, 4
movzx edx, byte [edx + ebp]
xor dl, byte [edi + 0x1005a79c]
mov byte [esp + ecx + 0x27], dl
cmp esi, 0x12
jb 0x1001f460
mov eax, dword [esp + 0x1a8]
mov esi, eax
shr esi, 4
test al, 0xf
je 0x1001f4d5
xor al, al
jmp 0x1001f549
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.1001ebb0
test esi, esi
jbe 0x1001f547
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebp
push ebx
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x40]
call fcn.1001f570
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push esi
mov edx, edi
lea ecx, [esp + 0xf4]
call fcn.1001ef60
add esi, 0x10
add edi, 0x10
add esp, 0xc
add ebx, 0x10
adc ebp, 0
sub dword [esp + 0x14], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
jne 0x1001f4f0
mov al, 1
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x190
ret

Function at 0x1001f570
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, 3
sub esi, eax
push edi
mov dword [esp + 0x10], esi
mov edi, ebx
mov ebp, 1
mov edx, 2
mov esi, 0xfffffffe
sub edi, eax
sub ebp, eax
sub edx, eax
lea ecx, [ebx + 2]
sub esi, ebx
mov edi, edi
lea ebx, [esi + ecx]
and ebx, 7
movzx ebx, byte [esp + ebx + 0x18]
xor bl, byte [edi + eax]
add ecx, 4
mov byte [eax], bl
lea ebx, [eax + ebp]
and ebx, 7
movzx ebx, byte [esp + ebx + 0x18]
xor bl, byte [ecx - 5]
mov byte [eax + 1], bl
lea ebx, [edx + eax]
and ebx, 7
movzx ebx, byte [esp + ebx + 0x18]
xor bl, byte [ecx - 4]
mov byte [eax + 2], bl
mov ebx, dword [esp + 0x10]
add ebx, eax
and ebx, 7
movzx ebx, byte [esp + ebx + 0x18]
xor bl, byte [ecx - 3]
add eax, 4
mov byte [eax - 1], bl
lea ebx, [esi + ecx]
cmp ebx, 0xb0
jl 0x1001f5a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1001f690
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test esi, esi
jne 0x1001f697
ret
xor ecx, ecx
test edx, edx
jbe 0x1001f6ba
push ebx
push edi
nop
movzx edi, byte [ecx + esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x100676c0]
inc ecx
cmp ecx, edx
jb 0x1001f6a0
pop edi
pop ebx
ret
Function at 0x1001f730
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
lea ebp, [edi + 0x10]
lea ebx, [ebp + 1]
push ebx
call fcn.10024af0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001f755
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0x1c
lea ecx, [ebx + 1]
mov eax, ebx
mov edx, esi
call fcn.10011710
mov ebx, dword [esp + 0x14]
mov edx, ebx
call fcn.1001f910
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [edi + 1]
push ecx
push esi
call fcn.10032c83
mov edx, dword [esp + 0x2c]
push 4
push edx
add edi, esi
push 5
push edi
call fcn.10032c83
mov eax, dword [esp + 0x40]
push 4
push eax
add edi, 4
push 5
push edi
call fcn.10032c83
mov ecx, dword [esp + 0x54]
push 8
push ecx
push 9
add edi, 4
push edi
call fcn.10032c83
add esp, 0x40
xor eax, eax
xor ecx, ecx
test ebp, ebp
jbe 0x1001f7d4
lea esp, [esp]
movzx edx, byte [ecx + esi]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [ebx + edx*4]
inc ecx
cmp ecx, ebp
jb 0x1001f7c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push edx
push ecx
mov edx, 4
call fcn.1001f410
add esp, 0xc
push esi
movzx edi, al
call fcn.10024afb
add esp, 4
mov eax, edi
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 2
pop ebp
add eax, 0xfffffffe
pop ebx
ret 0x1c

Function at 0x1001f820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 0x111
call fcn.10024af0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001f843
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret 0x18
mov eax, 0x111
lea ecx, [eax + 1]
mov edx, esi
call fcn.10011710
mov edx, ebx
call fcn.1001f910
mov eax, dword [esp + 0x10]
push 0x100
push eax
push 0x101
push esi
call fcn.10032c83
mov ecx, dword [esp + 0x24]
push 4
push ecx
lea edi, [esi + 0x100]
push 5
push edi
call fcn.10032c83
mov edx, dword [esp + 0x38]
push 4
push edx
add edi, 4
push 5
push edi
call fcn.10032c83
mov eax, dword [esp + 0x4c]
push 8
push eax
push 9
add edi, 4
push edi
call fcn.10032c83
add esp, 0x40
xor eax, eax
xor ecx, ecx
mov edi, edi
movzx edx, byte [ecx + esi]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [ebx + edx*4]
inc ecx
cmp ecx, 0x110
jb 0x1001f8b0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push edx
push ebp
mov ecx, ebp
mov edx, 4
call fcn.1001f2b0
add esp, 0xc
push esi
movzx edi, al
call fcn.10024afb
add esp, 4
mov eax, edi
neg eax
sbb eax, eax
pop edi
and eax, 2
pop esi
add eax, 0xfffffffe
pop ebp
ret 0x18
Function at 0x10022060
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x10022071
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100220fa
push ebx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0xc
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push 0x2d1080
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100220e5
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
push esi
mov dword [edx], ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x10022110
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x220
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
xor ebx, ebx
mov dword [esp + 8], ecx
cmp eax, ebx
jne 0x1002214e
xor al, al
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.10032551
add esp, 0x220
ret
push ebp
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10022278
push esi
push 0x228
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
call fcn.10033bdd
add esp, 4
push ebx
lea edx, [esp + 0x10]
push edx
push 0x227
mov esi, eax
push esi
push 0xc
lea eax, [esp + 0x28]
push eax
push 0x2d1400
push ebp
mov dword [esi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002225f
push 0x103
lea ecx, [esp + 0x25]
push ebx
push ecx
mov byte [esp + 0x2c], bl
call fcn.10037cf0
push 0x103
lea edx, [esp + 0x135]
push ebx
push edx
mov byte [esp + 0x13c], bl
call fcn.10037cf0
mov eax, dword [esi + 0xc]
add eax, esi
push eax
lea ecx, [esp + 0x3c]
push 0x104
push ecx
call fcn.100329ad
mov edx, dword [esi + 0x10]
add edx, esi
push edx
lea eax, [esp + 0x14c]
push 0x104
push eax
call fcn.100329ad
lea eax, [esp + 0x50]
add esp, 0x30
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10022220
sub eax, edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.10001fc0
lea eax, [esp + 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10022240
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
lea edx, [esp + 0x128]
push edx
call fcn.10001fc0
mov bl, 1
jmp 0x10022265
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.100332f0
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
jmp 0x1002227e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x224]
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x220
ret
Function at 0x100228c0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x208
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x20c]
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x100228fa
xor al, al
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.10032551
add esp, 0x208
ret
push edi
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10022923
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100229af
push ebp
push esi
push 0x228
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.10033bdd
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 4
push ebx
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x227
push esi
push 0xc
lea ecx, [esp + 0x28]
push ecx
push 0x2d1400
push edi
mov dword [esi + 4], 0x227
call ebp
test eax, eax
je 0x10022975
cmp dword [esi + 0x1c], 7
sete bl
jmp 0x1002299d
push ebx
lea edx, [esp + 0x14]
push edx
push 0x1f3
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x82006008
push edi
call ebp
test eax, eax
je 0x10022997
mov bl, 1
jmp 0x1002299d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.100332f0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x208
ret

Function at 0x10032551
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10062da0]
jne 0x1003255b
repz ret
jmp fcn.1003b10f
Function at 0x1004801b
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.1003c9db
and dword [ebp - 4], 0
cmp dword [0x10067414], 0
mov ebx, eax
jne 0x100480cc
push 0x100554dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1004817d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100554d0
push edi
call esi
test eax, eax
je 0x1004817d
push eax
call fcn.1003c969
mov dword [esp], 0x100554c0
push edi
mov dword [0x10067414], eax
call esi
push eax
call fcn.1003c969
mov dword [esp], 0x100554ac
push edi
mov dword [0x10067418], eax
call esi
push eax
call fcn.1003c969
mov dword [esp], 0x10055490
push edi
mov dword [0x1006741c], eax
call esi
push eax
call fcn.1003c969
pop ecx
mov dword [0x10067424], eax
test eax, eax
je 0x100480cc
push 0x10055478
push edi
call esi
push eax
call fcn.1003c969
pop ecx
mov dword [0x10067420], eax
mov eax, dword [0x10067420]
cmp eax, ebx
je 0x10048124
cmp dword [0x10067424], ebx
je 0x10048124
push eax
call fcn.1003c9e4
push dword [0x10067424]
mov esi, eax
call fcn.1003c9e4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10048124
test edi, edi
je 0x10048124
call esi
test eax, eax
je 0x1004811b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1004811b
test byte [ebp - 0xc], 1
jne 0x10048124
or dword [ebp + 0x10], 0x200000
jmp 0x1004815d
mov eax, dword [0x10067418]
cmp eax, ebx
je 0x1004815d
push eax
call fcn.1003c9e4
pop ecx
test eax, eax
je 0x1004815d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1004815d
mov eax, dword [0x1006741c]
cmp eax, ebx
je 0x1004815d
push eax
call fcn.1003c9e4
pop ecx
test eax, eax
je 0x1004815d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10067414]
call fcn.1003c9e4
pop ecx
test eax, eax
je 0x1004817d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1004817f
xor eax, eax
pop edi
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
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
mov ecx, 0x64800a3a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x77dd31e0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x67c6670
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681c740
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x6831080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, 1
jb 0x67c67e1
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 1
cmova eax, dword [ebx + 8]
push 0x682888c
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.067cc2e0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x67c671f
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x67c6715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c67e6
push ecx
push edx
call fcn.067f847c
add esp, 8
movups xmm1, xmmword [ebp - 0x38]
lea esi, [ebx + 8]
movq xmm0, qword [ebp - 0x28]
movq qword [ebx + 0x18], xmm0
mov edi, dword [ebx + 0x1c]
cmp edi, 0xf
movd edx, xmm1
movups xmmword [ebx + 8], xmm1
cmova esi, edx
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x67c6750
sub ecx, dword [ebp - 0x1c]
je 0x67c6797
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x67c6767
push 0
lea eax, [ebp - 0x18]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x67c6791
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x67c6786
sub eax, edx
jne 0x67c6762
mov edi, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp edi, 0xf
jbe 0x67c67c3
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x67c67b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c67e6
push ecx
push edx
call fcn.067f847c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.067f846e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.067c1270
call fcn.067fd39a
int3