joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411dd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
xor ebx, ebx
movzx esi, byte [ebx + str.80_]
mov eax, esi
sar eax, 3
movzx eax, byte [eax + edx]
mov ecx, esi
and ecx, 7
movzx ecx, word [ecx + ecx + 0x4179d8]
test eax, ecx
setne cl
movzx eax, cl
mov byte [ebp + ebx - 0x38], al
inc ebx
cmp ebx, 0x38
jl 0x411de1
xor edx, edx
cmp word [ebp + 0xc], 1
jne 0x411e23
mov eax, edx
neg eax
lea ecx, [eax + eax + 0x1e]
jmp 0x411e26
lea ecx, [edx + edx]
lea edi, [ecx + 1]
and dword [ebp + edi*4 - 0xf0], 0
and dword [ebp + ecx*4 - 0xf0], 0
xor ebx, ebx
movzx eax, byte [edx + 0x417a80]
lea esi, [eax + ebx]
cmp esi, 0x1c
jge 0x411e54
mov al, byte [ebp + esi - 0x38]
mov byte [ebp + ebx - 0x70], al
jmp 0x411e5c
mov al, byte [ebp + esi - 0x54]
mov byte [ebp + ebx - 0x70], al
inc ebx
cmp ebx, 0x1c
jl 0x411e3b
mov ebx, 0x1c
movzx eax, byte [edx + 0x417a80]
lea esi, [eax + ebx]
cmp esi, 0x38
jge 0x411e80
mov al, byte [ebp + esi - 0x38]
mov byte [ebp + ebx - 0x70], al
jmp 0x411e88
mov al, byte [ebp + esi - 0x54]
mov byte [ebp + ebx - 0x70], al
inc ebx
cmp ebx, 0x38
jl 0x411e67
xor ebx, ebx
movzx eax, byte [ebx + 0x417a90]
cmp byte [ebp + eax - 0x70], 0
je 0x411eac
mov eax, dword [ebx*4 + 0x4179e8]
or dword [ebp + ecx*4 - 0xf0], eax
movzx eax, byte [ebx + 0x417aa8]
cmp byte [ebp + eax - 0x70], 0
je 0x411ec8
mov eax, dword [ebx*4 + 0x4179e8]
or dword [ebp + edi*4 - 0xf0], eax
inc ebx
cmp ebx, 0x18
jl 0x411e90
inc edx
cmp edx, 0x10
jl 0x411e12
lea eax, [ebp - 0xf0]
push eax
call fcn.00411eed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4128c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
push eax
push ebx
push esi
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov al, byte [ecx + edx]
mov byte [ebp + ecx - 8], al
mov al, byte [ecx + edx]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, 8
jl 0x4128d8
push ebx
push edx
call fcn.0041239e
xor edx, edx
lea ecx, [edx + ebx]
mov al, byte [edx + esi]
xor al, byte [ecx]
mov byte [ecx], al
inc edx
cmp edx, 8
jl 0x4128f4
xor edx, edx
mov al, byte [ebp + edx - 8]
mov byte [edx + esi], al
inc edx
cmp edx, 8
jl 0x412906
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43162b
Capabilities:
Terminate process

Disassembly:
jmp 0x46edc1
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x46edd2
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00432a8a
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4316c1
Capabilities:
Query environment variable

Disassembly:
jmp 0x47226e
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x47227f
pop esi
ret
push ebx
push edi
push esi
call fcn.00472155
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00431bfd
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4722a7
push ebx
push esi
push edi
call fcn.00432940
add esp, 0xc
push 0
call fcn.00432fa8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4329c2
Capabilities:
Parse pe header

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

Function at 0x4479d9
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4a5004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4701e3
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0047074f
test al, al
jne 0x4701dd
sub edx, 2
cmp edx, edi
jne 0x4701c3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x470205
lea eax, [edi + 2]
cmp edx, eax
je 0x470205
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0046fd91
add esp, 0x10
jmp 0x4702ff
push esi
lea ecx, [ebp - 0x255]
call fcn.0047074f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x470248
push dword [ebp - 0x25c]
jmp 0x4701f5
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x470285
cmp word [ebp - 0x226], 0
je 0x4702a6
cmp word [ebp - 0x226], ax
jne 0x470285
cmp word [ebp - 0x224], 0
je 0x4702a6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0046fd91
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4702f2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47025f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4702da
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4702ff
push 0x46f677
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00432850
add esp, 0x10
jmp 0x4702cf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004312ed
leave
ret

Function at 0x477f19
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00431dec
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x477f88
cmp esi, dword [ebp - 4]
je 0x477f83
cmp dword [ebp + 0xc], 0
je 0x477f83
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x477f60
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00477941
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x477f8a
xor eax, eax
inc eax
jmp 0x477f8a
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x48a1bd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4a7178]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48a1fd
cmp byte [ebx], 0xa
jne 0x48a1fd
or byte [edi + eax + 0x28], 4
jmp 0x48a202
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x48a301
mov dl, byte [eax]
cmp dl, 0x1a
je 0x48a2e4
inc eax
cmp dl, 0xd
je 0x48a22e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x48a254
cmp eax, ecx
jae 0x48a262
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x48a216
jmp 0x48a301
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48a2df
cmp dword [ebp - 0x10], 0
je 0x48a2df
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4a7178]
test byte [eax + edi + 0x28], 0x48
je 0x48a2b9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48a2a4
mov byte [esi], dl
jmp 0x48a2b5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4a7178]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48a301
cmp byte [ebp - 1], 0xa
jne 0x48a2c8
cmp esi, ebx
jne 0x48a2c8
mov byte [esi], 0xa
jmp 0x48a300
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043056e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48a301
mov byte [esi], 0xd
jmp 0x48a300
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4a7178]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48a2fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48a301
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48a35d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4a7178]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48a3a3
cmp word [ebx], dx
jne 0x48a3a3
or byte [eax + edi + 0x28], 4
jmp 0x48a3a8
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x48a50b
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x48a4eb
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x48a3e9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48a41f
cmp eax, edx
jae 0x48a42d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x48a3c4
jmp 0x48a50b
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48a4e6
cmp dword [ebp - 0x18], 0
je 0x48a4e6
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4a7178]
test byte [eax + edi + 0x28], 0x48
je 0x48a4bc
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x48a480
mov word [esi], cx
jmp 0x48a4b7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4a7178]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4a7178]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4a7178]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x48a50b
pop eax
cmp word [ebp - 4], ax
jne 0x48a4cc
cmp esi, ebx
jne 0x48a4cc
mov word [esi], ax
jmp 0x48a508
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043056e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x48a50b
push 0xd
pop eax
jmp 0x48a4c7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4a7178]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x48a505
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x48a50b
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d7c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x462828
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004180c0
test eax, eax
je 0x41d8c8
lea ecx, [esp + 0xc]
call fcn.00401060
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004180c0
mov ecx, eax
call fcn.00421f50
test eax, eax
je 0x41d8af
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x41d8af
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41d8af
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401290
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x41d891
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41d8af
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x48f660]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x468140
call fcn.00401290
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x437010
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463fa8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437049
inc eax
mov dword [esi + 0x10], eax
jmp 0x43715c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43705d
mov eax, 0xffffffc7
jmp 0x43715e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43706e
cmp dword [esi + 8], eax
jne 0x43705d
cmp dword [esi + 8], eax
jne 0x437087
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437087
mov eax, 0xffffffc7
jmp 0x43715e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43709b
push eax
mov ecx, ebx
call fcn.00436840
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4370cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004010b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435fb0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4370ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x468140
call fcn.00401290
mov eax, dword [esp + 0x38]
jmp 0x43715e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436e70
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437143
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436e90
mov esi, eax
test esi, esi
jne 0x437173
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436e70
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437115
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x468140
call fcn.00401290
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x468140
call fcn.00401290
mov eax, esi
jmp 0x43715e
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
mov ebx, 0x408ecc
mov ecx, 0xcd30208
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x75667c6b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
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 eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x4010c0
Capabilities:
Get file version info
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x40e094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10c], edx
push 0x104
lea eax, [ebp - 0x108]
mov esi, edx
push 0
push eax
mov word [edi], 0x30
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jne 0x40111e
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x108]
mov dword [ebp - 0x10c], esi
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401123
sub ecx, edx
mov edx, 0x40bee4
add ecx, 0xfffffffd
add ecx, esi
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x401158
test bl, bl
je 0x401154
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x401158
add eax, 2
add edx, 2
test bl, bl
jne 0x401138
xor eax, eax
jmp 0x40115d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4011fb
mov eax, 0x40bee8
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401190
test dl, dl
je 0x40118c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401190
add ecx, 2
add eax, 2
test dl, dl
jne 0x401170
xor eax, eax
jmp 0x401195
sbb eax, eax
or eax, 1
test eax, eax
je 0x4011fb
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40129c
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10c]
push 0
push eax
push 4
push edi
push ebx
call esi
push 0
lea eax, [ebp - 0x10c]
push eax
push 9
push edi
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408d93
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
je 0x40129c
xor edx, edx
mov ecx, esi
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [esi + 1]
mov ebx, eax
push ecx
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push ebx
push esi
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x40129c
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push eax
push str.StringFileInfo040904b0FileVersion
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x401291
mov ecx, dword [ebp - 0x10c]
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x401284
push 1
push ebx
call fcn.004090e7
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408d93
mov esp, ebp
pop ebp
ret
Function at 0x4012b0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x40e094]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xc
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 1
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
mov dword [ebp - 0x50], 0x109
mov word [ebp - 0x4c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x5c], 0x200
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
mov dword [ebp - 0x58], 1
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, 0x1ff
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x401372
sub esi, dword [ebp - 0x14]
add edi, dword [ebp - 0x14]
test esi, esi
jg 0x401357
push 0xffffffffffffffff
mov byte [edi], 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00408d93
mov esp, ebp
pop ebp
ret