joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423bc8
push 0x41b8a4
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
push 1
pop ecx
test eax, eax
add esp, 0x18
leave
popal
popfd
push dword [ebx + 0x400593]
jmp loc.00400a38

Function at 0x402a68
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
cmp ax, 6
add esp, 0xc
leave
popal
popfd
add ebx, dword [ebp + 8]
movzx eax, word [ebx]
jmp loc.00400570

Function at 0x402a91
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
cmp ax, 6
add esp, 0xc
leave
popal
popfd
add eax, dword [edx + 0x10]
mov dword [ebx + 0x14], eax
jmp loc.00401295

Function at 0x402b0a
Capabilities:
Get common file path

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
cmp ax, 6
add esp, 0xc
leave
popal
popfd
push 0
lea eax, [ebp - 8]
jmp loc.0040131f

Function at 0x402c52
Capabilities:
Get common file path

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050a0
push 0x401cd0
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
push 0
push dword [ebp + 8]
jmp loc.00401541

Function at 0x402c90
Capabilities:
Get file size

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050a0
push 0x401cd0
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
mov dword [ebp - 0xc], eax
push 0
jmp loc.00401461

Function at 0x402d24
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
mov eax, dword [0x400f13]
shl eax, 2
push edi
push ecx
xor eax, eax
mov edi, 0x40e6a0
mov ecx, 0x40ec7c
cmp ecx, edi
add esp, 8
leave
popal
popfd
jmp loc.004011cf

Function at 0x402e74
Capabilities:
Get common file path
Get file size
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
pop edi
push ebx
dec edi
pop edi
dec edi
add ch, ch
aas
mov ah, 2
push ebx
dec ecx
nop
cmp al, 0
leave
popal
popfd
add ebx, dword [ebp + 8]
xor edx, edx
jmp loc.0040053d

Function at 0x402f44
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
mov eax, 0x1000e000
push 0x439a6ee0
push 0x40
push 0x3000
push 0x2ca7
push 0
mov ebx, 0x323
mov edi, eax
push eax
add esp, 0x18
leave
popal
popfd
cmp word [edi], 0x5a4d
jmp loc.004004a8

Function at 0x403078
Capabilities:
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
nop
push eax
mov eax, 0
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
mov eax, 1
push eax
push eax
mov eax, 0
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
add esp, 0x34
leave
popal
popfd
mov dword [ebp - 4], 2
jmp fcn.00400ff2
Function at 0x4030f9
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x409264
push 0x40924c
push 0x46adc0
push eax
mov edi, 0x4c30a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
jmp loc.004011cf

Function at 0x403171
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x409264
push 0x40924c
push 0x46adc0
push eax
mov edi, 0x4c30a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
jmp loc.004011cf

Function at 0x403521
Capabilities:
Clear file content
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
salc
add dh, dl
salc
pop edi
push ebx
dec edi
pop edi
dec edi
dec ecx
and al, 0
add al, 0
popal
popfd
mov dword [ebp - 0xc], 0
jmp loc.004013a8

Function at 0x403563
Capabilities:
Delete file
Get common file path

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
salc
add dh, dl
salc
pop edi
push ebx
dec edi
pop edi
dec edi
dec ecx
and al, 0
add al, 0
popal
popfd
mov ecx, dword [ebx + 0x4006ae]
jmp loc.00400b30

Function at 0x403584
Capabilities:
Get common file path

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
salc
add dh, dl
salc
pop edi
push ebx
dec edi
pop edi
dec edi
dec ecx
and al, 0
add al, 0
popal
popfd
imul esp, dword [edx + 0x72], 0x41797261
jmp fcn.004005e3

Function at 0x403604
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0x60
push 0x4156e0
push eax
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x400aa6]
push eax
add esp, 0x18
leave
popal
popfd
push 0x20
lea eax, [ebp - 0x30]
jmp fcn.00400d37

Function at 0x403633
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0x60
push 0x4156e0
push eax
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x400aa6]
push eax
add esp, 0x18
leave
popal
popfd
sub dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x14]
jmp loc.0040135f

Function at 0x4037ab
Capabilities:
Get common file path
Get file size

Disassembly:
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
pushfd
pushal
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push edi
push 0x8001
push ebx
push 8
push ebx
push 0x160
push eax
push ebx
push 0x420cb0
push 0x40a810
push 0x425b00
mov edi, 0x42c000
push eax
push edi
push ebx
mov eax, edi
add esp, 0x3c
leave
popal
popfd
je 0x401526
jmp loc.00401475

Function at 0x403833
Capabilities:
Clear file content
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40861c
push 0x408604
push 0x4685a0
push eax
mov edi, 0x4c10a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
push 0xc0000000
jmp loc.004013b7

Function at 0x403d8e
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0x1c
push 0x4114b0
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x401356]
push eax
add esp, 0x14
leave
popal
popfd
call sub.kernel32.dll_GetModuleFileNameA
jmp loc.00400f8d
Function at 0x403dbc
Capabilities:
Create process on windows

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0x1c
push 0x4114b0
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x401356]
push eax
add esp, 0x14
leave
popal
popfd
call sub.kernel32.dll_GetLastError
jmp loc.00400fe4

Function at 0x403e6a
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
add dl, dl
push ebx
push edx
dec ecx
dec ecx
dec ecx
and al, 0
add al, 0
add esp, 8
leave
popal
popfd
mov esi, edi
add esi, dword [esi + 0x3c]
jmp fcn.004004af

Function at 0x403eb2
Capabilities:
Delete file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
add dl, dl
push ebx
push edx
dec ecx
dec ecx
dec ecx
and al, 0
add al, 0
add esp, 8
leave
popal
popfd
mov eax, dword [ebp - 0x14]
and eax, 0x40
jmp fcn.00401071

Function at 0x438cb7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
add edx, 0x5df05402
add eax, 0xcf6f9426
call fcn.00438cf8
add eax, 0x2c68c534
sub eax, 0xa3abd95d
xor dword [ecx], esi
sub edx, eax
or edx, eax
add ecx, 1
inc edx
or edx, edx
cmp ecx, ebx
jne fcn.00438cb7
sub edx, 0xd7f03bf8
and edx, edx
ret
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x70df1eef
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x61221845
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x20479089
Capabilities:
Execute anti-debugging instructions
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x2047908d
jg 0x20479095
lea ebx, [ebx]
jle 0x20479095
jmp 0x20479094
invalid
jmp 0x20479099
mov dword [0x20494004], esp
jmp 0x204790a3
jmp 0x204790a6
jmp 0x204790aa
jmp 0x204790ae
push 0x204790c6
push dword fs:[0]
mov dword fs:[0], esp
jmp fcn.2047995c
Function at 0x401138
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eb8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x30], 0x48
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x61
mov byte [ebp - 0x2d], 0x70
mov byte [ebp - 0x2c], 0x46
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x40], 0x4b
mov byte [ebp - 0x3f], 0x45
mov byte [ebp - 0x3e], 0x52
mov byte [ebp - 0x3d], 0x4e
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x4c
mov byte [ebp - 0x3a], 0x33
mov byte [ebp - 0x39], 0x32
mov byte [ebp - 0x38], 0x2e
mov byte [ebp - 0x37], 0x64
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x6c
mov byte [ebp - 0x34], 0
push 0x45adc4
push 0x45add0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x40124a
mov dword [ebp - 0x48], 0x63
push 0x410070
lea eax, [ebp - 0x48]
push eax
call fcn.00402e70
jmp 0x401263
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40189d
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x48], 0x4b
mov byte [ebp - 0x47], 0x45
mov byte [ebp - 0x46], 0x52
mov byte [ebp - 0x45], 0x4e
mov byte [ebp - 0x44], 0x45
mov byte [ebp - 0x43], 0x4c
mov byte [ebp - 0x42], 0x33
mov byte [ebp - 0x41], 0x32
mov byte [ebp - 0x40], 0x2e
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x41
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0
push str.VirtualAlloc
push 0x45ae94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
lea ecx, [eax + ecx + 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x40198d
mov dword [ebp - 0x4c], 0x50
push 0x410070
lea eax, [ebp - 0x4c]
push eax
call fcn.00402e70
jmp 0x401aa6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401abe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ebb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.VirtualFree
push 0x45aeb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
nop
nop
nop
nop
nop
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0
push str.VirtualProtect
push 0x45aed0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x18], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x401b9a
mov dword [ebp - 0x4c], 0x40
push 0x410070
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402e70
jmp 0x401cfc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ebda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov byte [ebp - 0x3c], 0x4b
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0x45
mov byte [ebp - 0x37], 0x4c
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x32
mov byte [ebp - 0x34], 0x2e
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x6c
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push str.GetProcessHeap
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x40241c
mov dword [ebp - 0x48], 0x44
push 0x410070
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402e70
jmp 0x4024f8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c05c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.004052c7
mov esi, eax
mov dword [ebp - 0x14], esi
sub esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, esp
push 8
push str.YHUAsgyu
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402d30
push ecx
mov ecx, esi
call fcn.00402780
sub esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xe
push str.Does_it_work_L
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402d30
sub esp, 0x20
mov dword [ebp - 4], 1
mov ecx, esp
push 5
push str.SHe__
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402d30
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00402890
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x402b0f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b2b
push ecx
push edx
call fcn.004052f7
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004052b4
mov esp, ebp
pop ebp
ret
call fcn.0040998a
int3
Function at 0x404274
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x404295
jl 0x40428c
test edi, edi
jne 0x404295
xor eax, eax
xor edx, edx
jmp 0x404356
cmp dword [ebx + 0x38], 0
je 0x4042aa
push eax
push edi
push dword [ebp + 8]
call fcn.0040435c
jmp 0x404356
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4042f1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4042f1
cmp eax, edi
jb 0x4042cb
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004064a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4042f7
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40434b
mov ecx, ebx
call fcn.00403b21
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x404336
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040a52a
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40434b
jmp 0x404309
test edx, edx
je 0x40434b
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040a52a
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40444b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40446d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404530
jmp 0x40452b
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x404493
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x404498
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x4044f8
jg 0x4044ad
test esi, esi
je 0x4044f8
test ecx, ecx
jl 0x4044f3
jg 0x4044b7
test eax, eax
je 0x4044f3
cmp edi, ecx
jg 0x4044c9
jl 0x4044c1
cmp esi, eax
jae 0x4044c9
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.004064a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4044fb
mov ecx, dword [ebp + 8]
jmp 0x404505
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x40451f
jg 0x404505
test esi, esi
je 0x40451f
cmp dword [ebx + 0x4c], 0
je 0x40451f
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040ab96
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405896
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4058d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4058d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4058d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4058d5
cmp dword [ecx + 0x74], 0xe
jbe 0x4058d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x410fcc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410e42

Function at 0x41ba60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ba8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ba8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100013dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100013f5
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 8], eax
jmp 0x1000144c
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx + 8], 0xc6ff96
mov dword [ecx + 4], 0x8ac21
mov dword [ecx], 0xf68
mov dword [ebp - 0xc], eax
call sub.USER32.dll_PackDDElParam
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x414
mov ecx, dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x10], eax
call ecx
sub esp, 4
mov ecx, dword [ebp - 0xc]
sub ecx, 0x3c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x100013e9
jmp 0x1000143f
mov eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x1c], eax
jne 0x1000147e
jmp 0x1000144c
mov eax, esp
mov dword [eax], 0xa6b92e
mov eax, dword [sym.imp.USER32.dll_ShowCaret]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x281
mov dword [ecx], 0x281
mov ecx, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov dword [ebp - 0x20], eax
call ecx
sub esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
cmp ecx, 0x61
sete dl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x2d], dl
mov al, byte [ebp - 0x2d]
test al, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
jne 0x100014b2
jmp 0x100013f5
add esp, 0x3c
pop ebp
ret