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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x28831891
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xb6b6a6a
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x404cb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push ebx
push esi
push edi
lea edi, [ebp - 0x38c]
mov ecx, 0xe3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406bd0
add esp, 8
lea edx, [ebp - 0x200]
push edx
call fcn.004066e0
add esp, 4
movsx eax, byte [ebp + eax - 0x201]
cmp eax, 0x5c
jne 0x404d27
push 0x425574
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406be0
add esp, 8
jmp 0x404d3b
push 0x425364
lea edx, [ebp - 0x200]
push edx
call fcn.00406be0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00406760
mov dword [ebp - 0x20c], eax
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
je 0x404dc9
movsx eax, byte [ebp - 0x320]
test eax, eax
je 0x404dc9
mov ecx, dword [ebp - 0x34c]
and ecx, 0x10
test ecx, ecx
je 0x404dc9
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x208]
push eax
call fcn.00406bd0
add esp, 8
lea ecx, [ebp - 0x320]
push ecx
call fcn.004066e0
add esp, 4
mov edx, dword [ebp - 0x208]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x204]
add ecx, 1
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x208], 0x3e8
jle 0x404dd7
jmp 0x404dfc
mov esi, esp
lea edx, [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.00406760
test eax, eax
jne 0x404d5e
mov esi, esp
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.00406760
mov eax, dword [ebp - 0x204]
pop edi
pop esi
pop ebx
add esp, 0x38c
cmp ebp, esp
call fcn.00406760
mov esp, ebp
pop ebp
ret
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

Function at 0xd68b77
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0xd68886
add ecx, ecx
call fcn.00d68ba9
dec edx
dec edx
mov edx, edx
xor dword [ebx], edi
or ecx, ecx
add ebx, 2
add ecx, 0x5d373635
cmp ebx, eax
jl fcn.00d68b77
dec edx
ret
Function at 0x401c20
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c5f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c5f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c5f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c5f
cmp dword [ecx + 0x74], 0xe
jbe 0x401c5f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x219ecc0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x219ee9d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16f3000]
push edi
or ebp, 0xffffffff
jmp 0x219ecea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x219ecf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x219ece0
mov eax, 1
add ebx, ebx
jne 0x219ed03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x219ed14
jne 0x219ed33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x219ed33
dec eax
add ebx, ebx
jne 0x219ed20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x219ecf8
add ebx, ebx
jne 0x219ed2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x219ed85
xor ecx, ecx
sub eax, 3
jb 0x219ed4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x219edba
sar eax, 1
mov ebp, eax
jmp 0x219ed56
add ebx, ebx
jne 0x219ed56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x219ed24
inc ecx
add ebx, ebx
jne 0x219ed64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x219ed24
add ebx, ebx
jne 0x219ed71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x219ed66
jne 0x219ed82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x219ed66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x219eda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x219ed96
jmp 0x219ece6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x219eda4
add edi, ecx
jmp 0x219ece6
pop esi
mov edi, esi
mov ecx, 0x7b3b9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x219edc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x219edc7
lea edi, [esi + 0x1c89000]
mov eax, dword [edi]
or eax, eax
je 0x219ee2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1dadf08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1dae0cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x219eded
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1dae0d0]
or eax, eax
je 0x219ee29
mov dword [ebx], eax
add ebx, 4
jmp 0x219ee0a
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x219ee60
cmp al, 0xef
ja 0x219ee53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x219ee35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x219ee42
mov ebp, dword [esi + 0x1dae0d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x219ee94
sub esp, 0xffffff80
jmp 0x1aebfc4
Function at 0x27503fce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x27504026
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x2750406e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.27503f6e
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x2750406c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x27504070
jmp 0x2750401d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x2750407e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
je 0x275040e1
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.27503aee
add esp, 4
cmp dword [ebp + 8], eax
jne 0x275040d7
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
jmp 0x275040e3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x275040ad
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x27538b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x27538b4d
pop edi
pop ebx
pop ebp
ret 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x27538b84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x27538b80
lea ecx, [ecx]
cmp esi, eax
jae 0x27538b84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x27538b70
cmp esi, eax
jb 0x27538b8d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x27539390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x27539402
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x275393d1
cmp eax, 2
jne 0x275393ec
test esi, esi
mov eax, dword [ebp + 0x10]
je 0x275393fc
test eax, eax
je 0x275393f7
test al, 1
jne 0x275393ec
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x275393fc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401663
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
jmp 0x401ef7
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4019bb
mov edx, dword [ebp - 0x18]
jmp 0x401bcf
call sub.msvcrt.dll_memset
jmp 0x401a87
mov eax, dword [ebp - 0xc]
jmp 0x4021ee
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
jmp 0x401a87
nop
jmp 0x401a87
mov dword [ebp - 0xc], eax
jmp 0x402386
add dword [ebp - 0x1c], 1
add dword [ebp - 0xc], 0x28
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
movzx eax, ax
jmp 0x402224
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
jmp 0x4019a5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x14]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], eax
jmp 0x40218d
ret
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
movzx eax, ax
add edx, eax
mov eax, 0
add eax, 0x18
lea eax, [edx + eax]
jmp 0x401a75
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
jmp 0x401f89
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
jmp 0x402289
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
jmp 0x40192e
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
jmp 0x401e9d
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x14]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], eax
jmp 0x40231f
cmp eax, dword [ebp - 0x1c]
setg al
test al, al
jne 0x402392
leave
jmp 0x401d82
mov edx, eax
jmp 0x401e5e
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
jmp 0x401af9
mov dword [ebp - 0x1c], 0
jmp 0x401a8f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x401938
mov eax, dword [ebp + 0xc]
jmp 0x4017f1
Function at 0x402930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x402980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4029a6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402a4b
mov eax, dword [ebp - 0x24]
cmp eax, 4
jne 0x402a20
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x402999
cmp eax, 0x40
je 0x402999
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x10
mov esp, ebp
pop ebp
ret
cmp eax, 0x40
je 0x4029d0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4029d0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402930
lea esi, [esi]
lea edi, [edi]
Function at 0x402cc0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402ca0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402cf6
jmp 0x402d46
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 9
je 0x402cf3
cmp dl, 0x20
je 0x402cf3
cmp dl, 0x22
je 0x402d90
cmp dl, 9
mov eax, edx
je 0x402d34
cmp dl, 0x20
je 0x402d38
test dl, dl
jne 0x402d2a
lea esi, [esi]
jmp 0x402d46
cmp al, 0x20
je 0x402d38
test al, al
je 0x402d46
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x402d22
cmp al, 0x20
jne 0x402daa
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x402d38
cmp al, 0x20
je 0x402d38
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x402d55
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040159d
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x402d9e
cmp al, 0x22
jne 0x402d90
cmp al, 0x22
jne 0x402d34
add ebx, 1
movzx eax, byte [ebx]
jmp 0x402d34
cmp al, 9
je 0x402d38
nop
jmp 0x402d46
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xc420da4
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6394562b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4010a0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x422044]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4246b0
push 0x67
push edi
call esi
push 0x64
push 0x4245e8
push 0x6d
push edi
call esi
mov eax, edi
call fcn.00401290
mov eax, dword [ebp + 0x10]
mov edx, 0x4251b8
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4010f0
call fcn.00403820
mov dword [0x4230b0], eax
mov ecx, 0x41dc20
mov eax, 0x4251b8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401139
test dx, dx
je 0x401135
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401139
add eax, 4
add ecx, 4
test dx, dx
jne 0x401113
xor eax, eax
jmp 0x40113e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401158
call fcn.00401b20
test eax, eax
je 0x401158
call fcn.00403be0
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push edi
call fcn.00401320
add esp, 4
test eax, eax
jne 0x40117b
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.0040ac62
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.0040f550
mov eax, dword [0x424e00]
add esp, 0xc
test eax, eax
jbe 0x4011ce
cmp word [0x424e04], 0
jbe 0x4011ce
push eax
mov esi, 0x42364c
call fcn.004037a0
mov cx, word [0x424e04]
add esp, 4
mov word [0x42365c], cx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, eax
mov eax, 0x10624dd3
mul edx
mov eax, edx
xor edx, edx
shr eax, 6
mov ecx, 0x3e8
div ecx
push edx
push 0x41dc28
mov edx, 0x4253c8
call fcn.00402fc0
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 8
push 0x3e8
call edi
call fcn.00402c90
lea esi, [esp + 8]
call fcn.00402fe0
push 0x41dc40
mov edx, esi
push 0x104
push edx
call fcn.0040aca1
add esp, 0xc
push 0x4253c8
mov eax, esi
push 0x104
push eax
call fcn.0040aca1
add esp, 0xc
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40126e
push 0x1f4
call edi
push 1
push 0
push 0x41ddcc
mov edx, esi
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004029b0
call fcn.00403be0
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401a50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x41dcbc
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.0040aeee
add esp, 0xc
test eax, eax
je 0x401a74
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.0040afc5
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040b1e2
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.0040afc5
mov edx, dword [esp + 0x38]
lea ebp, [esi + edx]
push ebp
call fcn.0040b29f
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
push 1
push esi
push edi
call fcn.0040b5bf
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0040b64d
mov eax, dword [esp + 0x50]
lea ebx, [edi + esi]
call fcn.00403b50
mov edx, dword [esp + 0x4c]
push 0x41dcc4
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0040aeee
add esp, 0x40
test eax, eax
je 0x401af5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
push ecx
push 1
push ebp
push edi
call fcn.0040b7e3
mov edx, dword [esp + 0x20]
push edx
call fcn.0040b64d
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret