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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x429420
cmp edx, dword [eax]
je 0x41436e
add eax, 8
inc ecx
cmp eax, 0x4294b0
jl 0x41435f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x429420]
jne 0x41449c
mov eax, dword [0x42b7e4]
cmp eax, 1
je 0x414476
test eax, eax
jne 0x41439f
cmp dword [0x426b34], 1
je 0x414476
cmp edx, 0xfc
je 0x41449c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4143d6
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00414d70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00414790
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x414419
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414790
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41ecd8
push edi
call fcn.00414c30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00414d70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00414d80
lea eax, [ebp - 0xa0]
push 0x41ecb8
push eax
call fcn.00414d80
push dword [esi + 0x429424]
lea eax, [ebp - 0xa0]
push eax
call fcn.00414d80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041642a
add esp, 0x2c
pop edi
jmp 0x41449c
lea eax, [ebp + 8]
lea esi, [esi + 0x429424]
push 0
push eax
push dword [esi]
call fcn.00414790
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 0x40b801
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xf0d4f91
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x97e7594
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x8ccb96
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x8cc92e
pop edi
sub ecx, 0x5de411be
inc edx
call fcn.008ccbe2
and edx, edx
inc edx
add ecx, ecx
xor dword [eax], edi
add edx, 0xdb5bd402
sub edx, 1
add edx, ecx
inc eax
sub ecx, edx
sub esp, 4
mov dword [esp], 0xf15fd0da
pop edx
cmp eax, ebx
jne fcn.008ccb96
dec ecx
sub ecx, edx
ret
Function at 0x402d50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.00405060
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
test al, 0xf
mov ecx, eax
mov dl, 1
sete bl
shr ecx, 9
lea ebx, [ebx*4 + 2]
and bl, cl
movsx ecx, al
sub dl, bl
movsx edx, dl
imul edx, ecx
mov ecx, eax
shr ecx, 6
xor cl, al
add dl, cl
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x402dd4
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040424c
mov esp, ebp
pop ebp
ret
Function at 0x404a7d
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [section..data]
jne 0x100020cc
repz ret
jmp fcn.100027e5

Function at 0x10006913
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10002e98
xor ebx, ebx
cmp dword [0x1000c650], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100069e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10006953
xor eax, eax
jmp 0x10006aac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000694c
push eax
call fcn.10002e35
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000c650], eax
call esi
push eax
call fcn.10002e35
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000c654], eax
call esi
push eax
call fcn.10002e35
mov dword [0x1000c658], eax
lea eax, [ebp - 8]
push eax
call fcn.10002bf6
test eax, eax
pop ecx
pop ecx
je 0x100069b6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100045f9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100069e8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10002e35
cmp eax, ebx
pop ecx
mov dword [0x1000c660], eax
je 0x100069e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002e35
pop ecx
mov dword [0x1000c65c], eax
mov eax, dword [0x1000c65c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10006a61
cmp dword [0x1000c660], esi
je 0x10006a61
push eax
call fcn.10002ea1
pop ecx
call eax
cmp eax, ebx
je 0x10006a2e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1000c660]
call fcn.10002ea1
pop ecx
call eax
test eax, eax
je 0x10006a2e
test byte [ebp - 0x18], 1
jne 0x10006a61
lea eax, [ebp - 0xc]
push eax
call fcn.10002c2d
test eax, eax
pop ecx
je 0x10006a49
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100045f9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10006a58
or dword [ebp + 0x10], 0x200000
jmp 0x10006a92
or dword [ebp + 0x10], 0x40000
jmp 0x10006a92
mov eax, dword [0x1000c654]
cmp eax, esi
je 0x10006a92
push eax
call fcn.10002ea1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10006a92
mov eax, dword [0x1000c658]
cmp eax, esi
je 0x10006a92
push dword [ebp - 4]
push eax
call fcn.10002ea1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1000c650]
call fcn.10002ea1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401884
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401d48
call fcn.00401b48
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4018e4
cmp eax, 0xffffffff
je 0x4018e4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4018dd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4018dd
cmp edx, 0x10000000
jae 0x4018dd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4018da
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401950
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40198e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401986
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401990
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401976
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401a60
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x401a91
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401a91
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x401a91
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x416000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x416175
cmp dword [esp + 0x54], 0x40
jne 0x416175
cmp word [esp + 0x10], 0x5a4d
jne 0x416175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x416175
lea eax, [esp + 0x54]
push 0
push eax
push pe_nt_image_headers32
push 0x41c960
push esi
call ebx
test eax, eax
je 0x416175
cmp dword [esp + 0x54], 0xf8
jne 0x416175
cmp dword [0x41c960], 0x4550
jne 0x416175
mov eax, dword [0x41c976]
test ah, 0x20
jne 0x416175
mov edx, dword [0x41ca80]
xor eax, eax
mov ax, word [0x41c966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x41ca58], eax
je 0x416175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x41ca6c], eax
xor eax, eax
mov ax, word [0x41c966]
mov edx, dword [0x41ca58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x416175
cmp dword [esp + 0x54], edi
jne 0x416175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x41ca80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x41c9b4]
cmp edx, eax
ja 0x416175
mov edi, dword [0x41ca58]
mov ecx, dword [0x41c988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x416175
xor eax, eax
push 2
mov ax, word [0x41c966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x416175
cmp dword [edi - 0x20], ebx
ja 0x416175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
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 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x249e24a2
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
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
pop eax
nop
nop
nop
mov esi, 0x34d64d4a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
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
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x749c5aeb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4bf24d3d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x73762ce9
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x298b4216
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

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
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401ce0
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x110]
push str.Interface
push eax
mov esi, ecx
call edi
movzx ecx, word [esi + 0xc]
movzx edx, word [esi + 0xa]
movzx eax, word [esi + 8]
push ecx
movzx ecx, word [esi + 6]
push edx
movzx edx, word [esi + 2]
push eax
movzx eax, word [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str.Interface._04d_02d_02d__02d_02d_02d
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
add esp, 0x28
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x114]
push eax
call ebx
call fcn.00408220
test eax, eax
je 0x401da3
call fcn.00408250
push eax
lea ecx, [esp + 0x114]
push str._sInterface
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
add esp, 0xc
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
push eax
push ecx
call fcn.00408250
push eax
lea edx, [esp + 0x28]
push str._sInterface._04d_02d_02d__02d_02d_02d
push edx
call edi
add esp, 0x24
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x114]
push ecx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x401db0
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x110]
push 0x4a885c
push eax
mov esi, ecx
call edi
movzx ecx, word [esi + 0xc]
movzx edx, word [esi + 0xa]
movzx eax, word [esi + 8]
push ecx
movzx ecx, word [esi + 6]
push edx
movzx edx, word [esi + 2]
push eax
movzx eax, word [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str.WTF._04d_02d_02d__02d_02d_02d
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
add esp, 0x28
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x114]
push eax
call ebx
call fcn.00408220
test eax, eax
je 0x401e73
call fcn.00408250
push eax
lea ecx, [esp + 0x114]
push str._sWTF
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
add esp, 0xc
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
push eax
push ecx
call fcn.00408250
push eax
lea edx, [esp + 0x28]
push str._sWTF._04d_02d_02d__02d_02d_02d
push edx
call edi
add esp, 0x24
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x114]
push ecx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x208
ret