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

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x437964]
mov eax, dword [0x435084]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x420e69
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x437980]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x420e69
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x420d0d
xor eax, eax
jmp 0x420e7d
test al, 0x20
je 0x420d1e
push 2
push edi
push edi
push ecx
call fcn.00423c0b
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x420df3
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x420e3a
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x420d80
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x420d71
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x420d53
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x420dc0
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x420dcc
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x420d47
jmp 0x420dce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x420e64
cmp dword [ebp + 0x3a4], edi
je 0x420e3a
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x420e2c
mov dword [0x436510], eax
jmp 0x420e70
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x420e1e
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x420dce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x420dce
push dword [ebp + 0x3a4]
call fcn.00423866
pop ecx
jmp 0x420e7a
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x420e52
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x420d06
mov dword [0x43650c], 0x1c
mov dword [0x436510], edi
jmp 0x420e7a
sub eax, dword [ebp - 0x7c]
jmp 0x420e7d
and dword [0x436510], 0
mov dword [0x43650c], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.00423cdb
add ebp, 0x39c
leave
ret
Function at 0x421095
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x436558], esi
push edi
jne 0x4210b5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x436554], esi
mov byte [0x436550], al
jne 0x42111b
mov ecx, dword [0x437aac]
test ecx, ecx
je 0x4210fc
mov eax, dword [0x437aa8]
sub eax, 4
cmp eax, ecx
jmp 0x4210f5
mov eax, dword [eax]
test eax, eax
je 0x4210e7
call eax
mov eax, dword [0x437aa8]
sub eax, 4
cmp eax, dword [0x437aac]
mov dword [0x437aa8], eax
jae 0x4210df
mov eax, 0x432044
mov esi, 0x43204c
cmp eax, esi
mov edi, eax
jae 0x42111b
mov eax, dword [edi]
test eax, eax
je 0x421114
call eax
add edi, 4
cmp edi, esi
jb 0x42110c
mov eax, 0x432050
mov esi, 0x432058
cmp eax, esi
mov edi, eax
jae 0x42113a
mov eax, dword [edi]
test eax, eax
je 0x421133
call eax
add edi, 4
cmp edi, esi
jb 0x42112b
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x421154
push dword [ebp + 8]
mov dword [0x436558], 1
call fcn.00420ffb
pop ebp
ret
Function at 0x422bdc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x437964]
push edi
jae 0x422db1
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x437980]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x422db1
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x422c87
test dl, 2
jne 0x422c87
test dl, 0x48
je 0x422c51
cmp byte [eax + 5], 0xa
je 0x422c51
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x422c82
mov dword [0x436510], ecx
jmp 0x422db8
cmp eax, 0x6d
jne 0x422c8e
xor eax, eax
jmp 0x422dc5
push eax
call fcn.00423866
pop ecx
jmp 0x422dc2
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x422dac
test eax, eax
je 0x422cc1
cmp byte [ebx], 0xa
jne 0x422cc1
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x422cca
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x422da6
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x422d96
cmp al, 0xd
je 0x422cfc
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x422d88
dec ecx
cmp dword [ebp - 8], ecx
jae 0x422d16
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x422d11
add dword [ebp - 8], 2
jmp 0x422d6a
mov dword [ebp - 8], eax
jmp 0x422d84
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422d3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x422d84
cmp dword [ebp - 0x10], 0
je 0x422d84
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x422d5f
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x422d6a
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x422d87
cmp ebx, dword [ebp + 0xc]
jne 0x422d6f
cmp byte [ebp - 1], 0xa
jne 0x422d6f
mov byte [ebx], 0xa
jmp 0x422d87
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00422f75
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x422d88
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x422ce0
jmp 0x422da6
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x422da6
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x422dc5
and dword [0x436510], 0
mov dword [0x43650c], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423001
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x435084]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4350c0]
je 0x423036
inc eax
cmp eax, 0x13
jb 0x423027
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4350c0]
jne 0x42315c
mov eax, dword [0x43649c]
cmp eax, 1
je 0x423134
cmp eax, edx
jne 0x423066
cmp dword [0x435074], 1
je 0x423134
cmp ecx, 0xfc
je 0x42315c
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42309c
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004205f0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0041f880
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4230d0
mov eax, edi
push eax
call fcn.0041f880
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c758
push edi
call fcn.00424a20
add esp, 0x10
push edi
call fcn.0041f880
push dword [esi + 0x4350c4]
mov ebx, eax
call fcn.0041f880
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0041f070
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004205f0
push edi
push ebx
call fcn.00420600
push 0x42c738
push ebx
call fcn.00420600
push dword [esi + 0x4350c4]
push ebx
call fcn.00420600
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00424921
add esp, 0x2c
jmp 0x42315c
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4350c4]
push dword [esi]
call fcn.0041f880
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00423cdb
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x424921
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4366b8], ebx
push esi
push edi
jne 0x4249a1
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4249dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42cd04
push edi
call esi
test eax, eax
mov dword [0x4366b8], eax
je 0x4249dc
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4366bc], eax
call esi
cmp dword [0x436518], 2
mov dword [0x4366c0], eax
jne 0x4249a1
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4366c8], eax
je 0x4249a1
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4366c4], eax
mov eax, dword [0x4366c4]
test eax, eax
je 0x4249e6
call eax
test eax, eax
je 0x4249cd
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4366c8]
test eax, eax
je 0x4249cd
test byte [ebp - 8], 1
jne 0x4249e6
cmp dword [0x436524], 4
jb 0x4249e0
or byte [ebp + 0x12], 0x20
jmp 0x424a05
xor eax, eax
jmp 0x424a15
or byte [ebp + 0x12], 4
jmp 0x424a05
mov eax, dword [0x4366bc]
test eax, eax
je 0x424a05
call eax
mov ebx, eax
test ebx, ebx
je 0x424a05
mov eax, dword [0x4366c0]
test eax, eax
je 0x424a05
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4366b8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425353
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041f070
mov eax, dword [0x435084]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x437964]
mov dword [ebp - 4], eax
jae 0x425496
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x437980]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x425496
push 1
push esi
push ebx
call fcn.00422f75
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x4254a0
push 2
push esi
push ebx
call fcn.00422f75
add esp, 0xc
cmp eax, 0xffffffff
je 0x4254a0
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x425440
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00424750
push 0x8000
push ebx
call fcn.004262f2
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x4253ff
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00420ca3
add esp, 0xc
cmp eax, 0xffffffff
je 0x42541d
sub edi, eax
test edi, edi
jg 0x4253f4
jmp 0x425433
cmp dword [0x436510], 5
jne 0x425430
mov dword [0x43650c], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.004262f2
pop ecx
pop ecx
jmp 0x425480
jge 0x425480
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00422f75
push ebx
call fcn.00423a53
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x425480
mov dword [0x43650c], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x436510], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00422f75
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4254a3
mov dword [0x43650c], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00423cdb
leave
ret
Function at 0x426580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0041f070
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42661b
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x436518]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x42661b
cmp eax, 1
je 0x42663c
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42661b
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4265e8
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x426617
xor eax, eax
inc eax
jmp 0x42665b
cmp edi, eax
jae 0x42661f
xor eax, eax
jmp 0x42665b
cmp eax, esi
jae 0x426626
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x436518]
jmp 0x42663f
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x51d000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd0000]
push edi
or ebp, 0xffffffff
jmp 0x51d022
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51d029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d018
mov eax, 1
add ebx, ebx
jne 0x51d03b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51d04c
jne 0x51d06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d06b
dec eax
add ebx, ebx
jne 0x51d058
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51d030
add ebx, ebx
jne 0x51d067
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51d0bd
xor ecx, ecx
sub eax, 3
jb 0x51d083
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51d0f2
sar eax, 1
mov ebp, eax
jmp 0x51d08e
add ebx, ebx
jne 0x51d08e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d05c
inc ecx
add ebx, ebx
jne 0x51d09c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d05c
add ebx, ebx
jne 0x51d0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51d09e
jne 0x51d0ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51d09e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51d0dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51d0ce
jmp 0x51d01e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51d0dc
add edi, ecx
jmp 0x51d01e
pop esi
mov edi, esi
mov ecx, 0x39ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51d0fa
cmp byte [edi], 0x13
jne 0x51d0fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x51d0ff
lea edi, [esi + 0x11a000]
mov eax, dword [edi]
or eax, eax
je 0x51d177
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x136190]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1362d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51d12c
mov ecx, edi
jns 0x51d15b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1362d4]
or eax, eax
je 0x51d171
mov dword [ebx], eax
add ebx, 4
jmp 0x51d149
call dword [esi + 0x1362e4]
mov ebp, dword [esi + 0x1362d8]
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 0x51d1ab
sub esp, 0xffffff80
jmp 0x47325e
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
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
nop
nop
pop eax
nop
nop
mov esi, 0x14021801
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
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
nop
nop
pop eax
nop
mov esi, 0x7e2d3234
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x414de4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edi], ebx
or edx, ecx
sub ecx, 1
add edi, 4
dec eax
inc ecx
cmp edi, esi
jne fcn.00414de4
ret
Function at 0x419970
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47e86b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00472ee8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4199f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00470b8d
mov eax, dword [eax]
push 0xaee1c0
push eax
call fcn.00463964
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00473173
test bl, bl
je 0x4199f2
push 0xaee1c0
lea ecx, [esp + 0xc]
call fcn.00473503
push 0xaf1d64
lea ecx, [esp + 0xc]
call fcn.00473503
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x419a2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00473173
jmp 0x419af9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x419ab2
lea edx, [esp + 0x7c]
push 0xaf1d60
push edx
call fcn.00463964
add esp, 8
test eax, eax
je 0x419ab2
lea eax, [esp + 0x7c]
push 0xaf1d5c
push eax
call fcn.00463964
add esp, 8
test eax, eax
je 0x419ab2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419a42
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00473173
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41a310
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41a372
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41a380
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47e8eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xaf8650]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41a4b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a3e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00473173
xor eax, eax
jmp 0x41a52f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004732b0
push esi
lea ecx, [esp + 0xc]
call fcn.0047353f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41a50d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041a310
test eax, eax
jne 0x41a50d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0041a310
test eax, eax
jne 0x41a50d
lea eax, [esp + 0x14]
push 0xaf1d78
push eax
call fcn.00464a70
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a4ec
lea ecx, [esp + 0x14]
push 0xaf1d74
push ecx
call fcn.004649f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a4ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a4ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00473260
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a3fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00473173
xor eax, eax
jmp 0x41a52f
mov byte [esi], 0
push 0xaf1d70
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00473173
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4