joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100abe74
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10097b29
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100abee3
cmp esi, dword [ebp - 4]
je 0x100abede
cmp dword [ebp + 0xc], 0
je 0x100abede
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100abebb
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100abf3d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100abee5
xor eax, eax
inc eax
jmp 0x100abee5
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100b0ad6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x100c6b10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b0b16
cmp byte [ebx], 0xa
jne 0x100b0b16
or byte [edi + eax + 0x28], 4
jmp 0x100b0b1b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100b0c1a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b0bfd
inc eax
cmp dl, 0xd
je 0x100b0b47
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b0b6d
cmp eax, ecx
jae 0x100b0b7b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100b0b2f
jmp 0x100b0c1a
push 0
lea eax, [ebp - 0x10]
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 0x100b0bf8
cmp dword [ebp - 0x10], 0
je 0x100b0bf8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c6b10]
test byte [eax + edi + 0x28], 0x48
je 0x100b0bd2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b0bbd
mov byte [esi], dl
jmp 0x100b0bce
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c6b10]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b0c1a
cmp byte [ebp - 1], 0xa
jne 0x100b0be1
cmp esi, ebx
jne 0x100b0be1
mov byte [esi], 0xa
jmp 0x100b0c19
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100afe06
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b0c1a
mov byte [esi], 0xd
jmp 0x100b0c19
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c6b10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b0c17
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b0c1a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b0c23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c6b10]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b0c69
cmp word [ebx], dx
jne 0x100b0c69
or byte [eax + edi + 0x28], 4
jmp 0x100b0c6e
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100b0dd1
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100b0db1
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100b0caf
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b0ce5
cmp eax, edx
jae 0x100b0cf3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100b0c8a
jmp 0x100b0dd1
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b0dac
cmp dword [ebp - 0x18], 0
je 0x100b0dac
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c6b10]
test byte [eax + edi + 0x28], 0x48
je 0x100b0d82
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100b0d46
mov word [esi], cx
jmp 0x100b0d7d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c6b10]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c6b10]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c6b10]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100b0dd1
pop eax
cmp word [ebp - 4], ax
jne 0x100b0d92
cmp esi, ebx
jne 0x100b0d92
mov word [esi], ax
jmp 0x100b0dce
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100afe06
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100b0dd1
push 0xd
pop eax
jmp 0x100b0d8d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c6b10]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100b0dcb
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100b0dd1
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x100b3c94
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b3d1c
Function at 0x10001070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x1000
push 0
call esi
push 0x80
push 0
mov edi, eax
call esi
mov ecx, dword [section..data]
mov esi, edi
mov dword [ebp - 8], eax
test ecx, ecx
je 0x100010b6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [edi], 0
je 0x100010b6
nop
inc esi
cmp byte [esi], 0
jne 0x100010b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.T:_d_
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi], 0
je 0x100010e6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x100010e0
mov eax, esi
sub eax, edi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_wvsprintfA]
add dword [ebp - 4], eax
push 0
push 0x80
push 4
push 0
push 3
push 4
push str.gglog.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100017c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0x40
mov edi, ecx
mov dword [ebp - 4], edx
push ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp eax, 0x10004350
je 0x1000180e
nop dword [eax + eax]
push ebx
push eax
push edi
call sub.msvcrt.dll_memcpy
inc esi
add esp, 0xc
cmp esi, 5
je 0x1000180e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
jmp 0x100017f0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push dword [ebp + 0xc]
push str.Patch___Code_:__s___d__r_n
call fcn.10001070
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100024b0
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, ecx
xor edi, edi
lea ecx, [edi + ebx]
call fcn.100039a0
add edi, eax
cmp edi, 6
jb 0x100024c0
lea esi, [edi + 6]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push ebx
push eax
mov dword [ebp - 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, ebx
sub ecx, eax
sub ecx, 5
mov dword [eax + edi + 1], ecx
lea ecx, [ebp - 4]
push ecx
push 0x40
push esi
mov byte [eax + edi], 0xe9
mov byte [eax + edi + 5], 0xc3
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
call edi
lea eax, [ebp - 4]
mov byte [ebp - 0x14], 0xe9
push eax
push 0x40
push 6
push ebx
mov byte [ebp - 0xf], 0xc3
call edi
test eax, eax
je 0x10002578
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub eax, ebx
sub eax, 5
push 0
mov dword [ebp - 0x13], eax
lea eax, [ebp - 0x14]
push 6
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10002589
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push ebx
call edi
test eax, eax
je 0x1000259a
push 6
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x100025ab
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.10001020
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_install_hook:_WriteProcessMemory_failed.___08x_
call fcn.10001020
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.10001020
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_install_hook:_FlushInstructionCache_failed.___08x_
call fcn.10001020
int3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xc72c38
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc72c60
neg edx
mov dx, di
bsr edx, eax
bt dx, di
jmp 0xc72cae
mov dword [esp], edx
rol al, 0
jbe 0xc72c1a
bts edx, edi
lea edx, [ecx + ecx]
mov dx, 0x7425
neg edx
mov dx, di
jmp 0xc72c21
bts edx, edi
lea edx, [ecx + ecx]
mov dx, 0x7425
jmp 0xc72c1c
lea esp, [esp + 4]
sub al, 1
setae dh
mov dh, 0xa5
jmp 0xc72c98
jl 0xc72c6c
jge 0xc72c6c

Function at 0xc73482
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
jl 0xc734d7
add esp, 5
jmp 0xc734be
bsr eax, esi
jns 0xc7363d
inc al
bswap eax
cmc
cmc
jmp 0xc73558
mov ax, bx
lea esp, [esp + 1]
jmp 0xc734e1
add esp, 5
mov ax, bx
lea esp, [esp + 1]
rol dl, 0
mov ah, byte [esp]
jmp 0xc734a8
jg 0xc7350b
setl al
lea eax, [ecx*4]
jmp 0xc73534
setl al
lea eax, [ecx*4]
lea eax, [ebp + 0x55]
ror dl, 0
mov ax, word [esp]
mov ah, 0xb5
pushal
jmp 0xc73539
lea eax, [ebp + 0x55]
jmp 0xc73518
lea eax, [esp + ecx]
not ah
xchg dword [esp + 0x17], eax
mov ax, 0xbacc
jmp 0xc73572
neg eax
jmp 0xc7359f
mov eax, edx
inc ax
shr eax, cl
lea eax, reloc.MSVFW32.dll_DrawDibDraw
jmp 0xc735c5
lea esp, [esp + 0x20]
add dl, 0xbe
dec ax
jnp 0xc7355c
jp 0xc735fc
lea eax, reloc.MSVFW32.dll_DrawDibDraw
jmp 0xc735c5
cmc
cmc
neg eax
inc ah
mov eax, dword [esp]
sub dl, 1
bts eax, ecx
jmp 0xc734e9
mov edx, dword [esp]
jmp 0xc735d5
sub cl, dl
sub esp, 1
jl 0xc735af
mov edx, dword [esp]
jmp 0xc7361d
mov byte [esp], ch
lea esp, [esp + 1]
dec ebp
bswap eax
jmp 0xc735e5
btc eax, ebp
jb 0xc73607
mov ax, word [esp]
rol edx, 0x17
jmp 0xc7365c
mov eax, edx
inc ax
shr eax, cl
jmp 0xc7357f
mov ax, word [esp]
rol edx, 0x17
jmp 0xc73626
mov byte [esp], ch
lea esp, [esp + 1]
jmp 0xc735dc
lea eax, reloc.MSVFW32.dll_DrawDibDraw
mov eax, dword [esp]
rdtsc
mov ah, byte [esp]
jmp 0xc73646
inc al
bswap eax
jmp 0xc7359b
lea edx, [esi - 0x54]
mov dx, 0xb915
jmp 0xc737a8
lea eax, reloc.MSVFW32.dll_DrawDibDraw
mov eax, dword [esp]
rdtsc
jmp 0xc73631
rol bl, 0
mov eax, 0x4974a1ec
call fcn.00c73698
mov edx, dword [esp]
jmp 0xc737e9
mov edx, dword [esp]
bts dx, bp
jbe 0xc73832
mov edx, esp
jmp 0xc73834
pushal
mov esi, esp
xchg dh, dl
mov dword [esp + 0x1c], ebx
popal
jmp 0xc737c3
shl eax, 2
neg edx
jmp 0xc7384c
mov edx, 0x36f5c6df
mov edx, 0xb8c8f5f8
bswap edx
jmp 0xc71b6f
mov edx, esp
jmp 0xc7380e
bswap edx
jmp 0xc71b6f
jl 0xc73819
mov edx, 0x36f5c6df
mov edx, 0xb8c8f5f8
jmp 0xc73836

Function at 0xcb54ec
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 2]
jmp 0xcb5508
pop word [esp]
jmp 0xcb54d6
mov edx, dword [esi + 0xc]
lea eax, reloc.MSVFW32.dll_DrawDibDraw
mov eax, dword [esp]
jmp 0xcb5519
jae 0xcb4f73
mov dx, 0x109e
xchg dh, ah
not ax
jmp 0xcb54f2
mov eax, edx
sub eax, ebx
cmc
jmp 0xcb555c
Function at 0xda551f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0xff1dcb77
xchg si, cx
mov bl, 0xd6
bsr esi, ebx
sub esp, 0xf
jmp 0xda5505
xchg dword [esp + 8], ebp
lea esp, [esp + 0xa]
xchg word [esp], si
setno dh
mov bl, cl
mov byte [esp + 2], al
jmp 0xda54c2
mov ax, word [esp + 1]
rdtsc
lea esi, [eax*4]
jmp 0xda553d
pop dword [esp + 6]
xor dl, 0xb3
mov dl, byte [esp + 5]
push dword [esp + 5]
xchg dh, bl
jmp 0xda54ef
dec bx
not ebx
inc ch
jmp 0xda54d8
neg cl
sub esp, 0xf
xchg dword [esp + 0x19], ebx
cmc
bswap ecx
jmp 0xda5554
bsr esi, ebx
mov dword [esp + 6], esp
mov dword [esp + 3], esp
rcr edi, 0xe
pop word [esp + 0xd]
rdtsc
jmp 0xda5527
xchg word [esp + 2], bp
dec dl
xchg bp, cx
seto cl
jmp 0xda55a9
lea edi, [eax*4]
lea ebx, [ebp*4]
cpuid
mov byte [esp + 0x14], ah
pop dword [esp + 1]
mov di, word [esp + 6]
jmp 0xda5580
Function at 0xda967c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg ecx, ebx
bsr esi, esp
rdtsc
push eax
inc dl
jmp 0xda969a

Function at 0xda9aca
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg word [esp + 3], ax
add esp, 5
mov byte [esp], bh
pushal
call 0xda9aca
push edx
xchg byte [esp + 0x16], dh
mov byte [esp + 0x1e], al
jmp 0xda9b06
bsf esi, ebp
mov byte [esp + 1], ah
mov dword [esp], esp
mov byte [esp + 3], dl
jmp 0xda9ab8
mov dword [esp + 7], ebx
lea edx, [esp + edi]
xchg word [esp + 0x13], dx
mov ah, 0xa3
jmp 0xda9b1b
pop word [esp + 0xb]
cld
xchg dx, cx
mov ah, byte [esp + 8]
bsf edx, ebx
not bp
jmp 0xda9af0
lea ecx, [esi + edi]
mov bx, bp
neg ch
add esp, 0xa
mov word [esp + 9], cx
mov esi, ebp
jmp 0xda9b3f

Function at 0xda9b69
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0xbdf800c1
mov bl, ah
mov dl, cl
mov ebp, 0x932f9eda
mov dword [esp + 3], esi
rcl bp, 1
jmp 0xda98b5
mov ebx, dword [esp + 8]
push dword [esp + 8]
mov si, word [esp + 2]
lea ebp, [ebx*4]
mov esi, 0x30bfb19c
lea esp, [esp + 3]
jmp 0xda98e5
sets cl
lea esp, [esp + 7]
sub esp, 5
bsr si, bp
xchg word [esp + 0xb], dx
lea esp, [esp + 0x18]
jmp 0xda9935
push bp
mov dx, 0x3d69
xchg edx, ebx
push word [esp + 0xe]
push dword [esp + 0x13]
jmp 0xda99d4

Function at 0xdaa5ff
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [eax]
jmp 0xdaa388
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xdaa34e
mov eax, dword [eax + 8]
push eax
jmp 0xda933d
mov dword [esp + 0x24], esi
push ebp
push dword [esp + 1]
mov dword [esp], ecx
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
jmp 0xdaa364
jmp 0xdaa458
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 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4026b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [str.073110116101114110101116082101097100070105108101]
push ecx
call fcn.00401280
add esp, 8
lea edx, [ebp - 0x104]
push edx
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x409e10], eax
call fcn.0040198f
test eax, eax
jne 0x402726
call fcn.00401de3
call fcn.00402620
call fcn.004015fa
xor eax, eax
jmp 0x40280d
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402920
add esp, 4
test eax, eax
je 0x40274b
push str.start
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00402c20
add esp, 8
test eax, eax
jne 0x4027ae
push 0x44
push 0
lea edx, [ebp - 0x25c]
push edx
call fcn.00402ca0
add esp, 0xc
mov dword [ebp - 0x230], 1
mov word [ebp - 0x22c], 5
push str.__start
push 0x409d0c
call fcn.00402b10
add esp, 8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x409d0c
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
jmp 0x40280d
call fcn.0040268b
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x208]
push edx
push 0x409d0c
call fcn.004019b3
add esp, 8
lea eax, [ebp - 0x208]
push eax
call fcn.00402920
add esp, 4
cmp eax, 0x26
jne 0x402803
lea ecx, [ebp - 0x208]
push ecx
call fcn.00401bb1
add esp, 4
call fcn.00402620
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx