joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee4d
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40ee7e
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40ee85
cmp ebx, dword [ebp + 8]
jae 0x40ee85
xor eax, eax
jmp 0x40f06b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40ee96
xor eax, eax
inc eax
jmp 0x40f06a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40eea8
cmp ecx, edx
jae 0x40ef0c
cmp dword [eax + 4], 0
je 0x40eeb1
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40ee9d
cmp dword [ebp + 8], 0
je 0x40eecb
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40ef0c
cmp eax, esi
jae 0x40ef0c
mov ecx, dword [0x418be0]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x40eeed
cmp dword [eax*4 + 0x418be8], esi
je 0x40ef13
inc eax
cmp eax, ecx
jl 0x40eedf
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40ef83
mov eax, dword [ebp + 8]
jmp 0x40ef85
xor eax, eax
jmp 0x40f06a
test eax, eax
jle 0x40ee8e
xor edx, edx
mov ebx, 0x418c28
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x40ee8e
cmp dword [eax*4 + 0x418be8], esi
je 0x40ef62
lea eax, [ecx - 1]
test eax, eax
jl 0x40ef4f
cmp dword [eax*4 + 0x418be8], esi
je 0x40ef4b
dec eax
jns 0x40ef3f
test eax, eax
jge 0x40ef60
cmp ecx, 0x10
jge 0x40ef5b
inc ecx
mov dword [0x418be0], ecx
lea eax, [ecx - 1]
jmp 0x40ef62
je 0x40ef7a
xor edx, edx
test eax, eax
jl 0x40ef7a
lea ecx, [edx*4 + 0x418be8]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x40ef68
xor eax, eax
xchg dword [ebx], eax
jmp 0x40ee8e
xor eax, eax
test eax, eax
je 0x40f068
cmp dword [ebp - 8], 0x1000000
jne 0x40f068
test byte [ebp - 0xc], 0xcc
je 0x40effa
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40f068
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40f068
cmp word [eax + 0x18], 0x10b
jne 0x40f068
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40f068
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40effa
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40effa
test byte [ecx + 0x27], 0x80
jne 0x40ef0c
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x418c28
xchg dword [edx], ecx
test ecx, ecx
jne 0x40f06a
mov ecx, dword [0x418be0]
test ecx, ecx
mov edx, ecx
jle 0x40f029
lea eax, [ecx*4 + 0x418be4]
cmp dword [eax], esi
je 0x40f029
dec edx
sub eax, 4
test edx, edx
jg 0x40f01d
test edx, edx
jne 0x40f05a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40f036
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40f04e
lea eax, [edx*4 + 0x418be8]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x40f03c
cmp ecx, 0x10
jge 0x40f05a
inc ecx
mov dword [0x418be0], ecx
xor eax, eax
mov ecx, 0x418c28
xchg dword [ecx], eax
jmp 0x40ee8e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4032da
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x40a140]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.00403210
cmp eax, esi
jne 0x403362
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40332b
lea eax, [ebp - 0x70]
push eax
call fcn.004032da
cmp eax, esi
jne 0x403361
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x40331e
call fcn.004031f9
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.004031f9
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.00406730
add ebp, 0x94
leave
ret 4
Function at 0x403747
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x403752
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x406af8
Capabilities:
Terminate process

Disassembly:
push 0x11c
push 0x408848
call fcn.00406cb0
mov eax, dword [0x40a140]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x40a32c]
test eax, eax
je 0x406b38
and dword [ebp - 4], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x406c42
mov eax, dword [ebp + 8]
dec eax
je 0x406b54
mov ebx, str.Unknown_security_failure_detected_
mov dword [ebp - 0x12c], str.A_security_error_of_unknown_cause_has_been_detected_which_has_ncorrupted_the_programs_internal_state.__The_program_cannot_safely_ncontinue_execution_and_must_now_be_terminated._n
mov edi, 0xd4
jmp 0x406b68
mov ebx, str.Buffer_overrun_detected_
mov dword [ebp - 0x12c], str.A_buffer_overrun_has_been_detected_which_has_corrupted_the_programs_ninternal_state.__The_program_cannot_safely_continue_execution_and_must_nnow_be_terminated._n
mov edi, 0xb9
mov byte [ebp - 0x20], 0
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406b97
push str._program_name_unknown_
lea eax, [ebp - 0x124]
push eax
call fcn.004075d0
pop ecx
pop ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], eax
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 0xb
cmp eax, 0x3c
jbe 0x406bde
lea eax, [ebp - 0x124]
push eax
call esi
lea ecx, [ebp - 0x124]
sub ecx, 0x31
add eax, ecx
mov dword [ebp - 0x128], eax
push 3
push 0x408694
push eax
call fcn.00406e10
add esp, 0xc
push dword [ebp - 0x128]
call esi
lea eax, [eax + edi + 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.00407150
mov dword [ebp - 0x18], esp
mov edi, esp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x408690
push ebx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
push str.Program:
push edi
call esi
push dword [ebp - 0x128]
push edi
call esi
push ebx
push edi
call esi
push dword [ebp - 0x12c]
push edi
call esi
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40718d
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.00407150
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x407228
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 [0x40a304]
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 0x407228
cmp eax, 1
je 0x407249
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 0x407228
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4071f5
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x407224
xor eax, eax
inc eax
jmp 0x407268
cmp edi, eax
jae 0x40722c
xor eax, eax
jmp 0x407268
cmp eax, esi
jae 0x407233
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 [0x40a304]
jmp 0x40724c
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 0x4077b6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4077e4
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4077eb
cmp ebx, dword [eax + 4]
jae 0x4077eb
xor eax, eax
jmp 0x4079db
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4077fc
xor eax, eax
inc eax
jmp 0x4079da
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x407812
cmp ecx, edx
jae 0x407957
cmp dword [eax + 4], 0
je 0x40781b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x407803
cmp dword [ebp + 8], 0
je 0x40783d
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x407957
cmp eax, esi
jae 0x407957
mov eax, dword [0x40a330]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x407862
cmp dword [esi*4 + 0x40a338], edi
je 0x40795b
inc esi
cmp esi, eax
jl 0x407850
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4079d7
cmp dword [ebp - 8], 0x1000000
jne 0x4079d7
test byte [ebp - 0xc], 0xcc
je 0x4078e0
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4079d7
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4079d7
cmp word [eax + 0x18], 0x10b
jne 0x4079d7
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4079d7
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4078e0
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4078e0
test byte [ecx + 0x27], 0x80
jne 0x407957
push 1
push 0x40a378
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4077f4
mov ecx, dword [0x40a330]
test ecx, ecx
mov edx, ecx
jle 0x407914
lea eax, [ecx*4 + 0x40a334]
cmp dword [eax], edi
je 0x407914
dec edx
sub eax, 4
test edx, edx
jg 0x407908
test edx, edx
jne 0x407945
push 0xf
pop ebx
cmp ecx, ebx
jg 0x407921
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x407939
lea eax, [edx*4 + 0x40a338]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x407927
cmp ecx, 0x10
jge 0x407945
inc ecx
mov dword [0x40a330], ecx
push 0
push 0x40a378
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4077f4
xor eax, eax
jmp 0x4079da
test esi, esi
jle 0x4077f4
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40a378
call ebx
test eax, eax
jne 0x4077f4
cmp dword [esi*4 + 0x40a338], edi
je 0x4079b1
mov eax, dword [0x40a330]
lea esi, [eax - 1]
test esi, esi
jl 0x40799f
cmp dword [esi*4 + 0x40a338], edi
je 0x40799b
dec esi
jns 0x40798f
test esi, esi
jge 0x4079af
cmp eax, 0x10
jge 0x4079aa
inc eax
mov dword [0x40a330], eax
lea esi, [eax - 1]
jmp 0x4079b1
je 0x4079c9
xor ecx, ecx
test esi, esi
jl 0x4079c9
lea eax, [ecx*4 + 0x40a338]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4079b7
push 0
push 0x40a378
call ebx
jmp 0x4077f4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403206
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x403226
cmp dword [edi + 0x54], 0
jne 0x403226
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040511d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004031cd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40a1f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a23a
call fcn.0040511d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a23a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a255
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00409dae
test ebx, ebx
mov esi, eax
je 0x40a253
test edi, edi
je 0x40a253
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4115a0
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0xec
push esi
cmp eax, 0x86d94543
dec esp
sbb edx, dword [esi - 0x371de08]
and byte [edi], dh
test eax, 0x81946661
xchg byte [ebp + 0x21248e21], ch
mov ss, word [edx - 0x566b6b6c]
and dword [esi + 0x5f7621b1], eax
fst qword [esi + 0x1c969696]
lodsd eax, dword [esi]
xor dword [esi + 0x5f], esi
test eax, 0x969696b0
xchg esi, eax
dec ecx
push ebp
push ebp
push ebx
dec ebp
lodsd eax, dword [esi]
pushal
push ecx
cmp dword [esi + ebp], ebx
popfd
outsb dx, byte [esi]
mov esi, 0xde4fad3d
salc
inc ecx
inc ebx
lodsd eax, dword [esi]
jge 0x411553
cld
add dword [esi + 0x45961b4c], eax
lodsd eax, dword [esi]
mov byte [0x2292869d], al
pop ds
fidivr word [esi + edx*4 - 0x3921e0dc]
cwde
xchg esi, eax
xchg esi, eax
xchg esi, eax
mov cl, 0x8d
mov dh, 0x7f
mov al, 0xad
xor ebx, dword [esi - 0x5103cb64]
pop es
invalid

Function at 0x411bbc
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
xchg esi, eax
xchg esi, eax
xchg esi, eax
sbb al, 0xad
lodsd eax, dword [esi]
pop ds
ficomp word [esi + 0xd4cfc3d]
sbb al, 0x43
inc ebp
jg 0x411b6f
lodsd eax, dword [esi]
invalid
Function at 0x4125a4
Capabilities:
Encode data using xor

Disassembly:
inc ebx
test word [esp + edx*4 - 0x5e89526c], dx
add byte [ecx + 0x66b66ba6], 0x88
xchg esp, eax
xchg esp, eax
dec ecx
lodsd eax, dword [esi]
and dl, byte [ebx + 0x1c]
imul esp, dword [esi + 0x1bf35767], 0xffffff96
jg 0x41263a
xchg esp, eax
xchg esp, eax
lodsd eax, dword [esi]
and dword [esi - 0x604b7d5f], 0x9696966a
lodsd eax, dword [esi]
and ebx, esi
mov eax, dword [0x37a47f16]
sbb bl, byte [esi]
xchg esp, eax
xchg esp, eax
dec ecx
lodsd eax, dword [esi]
and ebp, esi
mov eax, dword [0x37a47f16]
lcall [esi]
xchg esp, eax
xchg esp, eax
dec ecx
lodsd eax, dword [esi]
and edi, esi
mov eax, dword [0x37a47f16]
jecxz 0x412618
xchg esp, eax
xchg esp, eax
dec ecx
lodsd eax, dword [esi]
and ecx, dword [edi]
mov eax, dword [0x37a47f16]
invalid
push ds
xchg esp, eax
xchg esp, eax
dec ecx
lodsd eax, dword [esi]
and esp, dword [edi]
mov eax, dword [0x37a47f16]
invalid
lahf
salc
xchg esi, eax
xchg esi, eax
dec ecx
popfd
popal
mov ss, word [esi - 0x5e986c53]
xchg esp, eax
jg 0x412615
inc ebp
xchg esp, eax
sal byte [edi - 0x5e69e4c7], 0x16
xor dword [ecx + ebx*4 + 0x1b581694], 0x45a47f96
adc bx, word [esi]
xchg esp, eax
xchg esp, eax
dec ecx
and al, 0x21
mov ss, word [edx + 0x66949494]
inc ebp
xchg esi, eax
xchg esi, eax
xchg esi, eax
imul ebp, dword [esi - 0x6929d29a], 0xffffff96
dec ecx
and al, 0x21
mov ds, word [eax - 0x5269696a]
xchg ebx, eax
outsd dx, dword [esi]
mov eax, dword [0x45dc7f94]
sbb byte [ebp - 0x6a], bl
xchg esi, eax
dec ecx
or eax, 0x1b642611
xchg esi, eax
jg 0x412654
cdq
xchg esp, eax
jbe 0x4126fc
sbb edx, dword [esi + 0x159dae7f]
xchg esi, eax
and dword [ebp + eax*2 - 0x69a6ab9a], 0x21244996
mov ss, word [edx + 0x66949494]
rcl byte [esi + 0x66439696], cl
bound ebx, qword [esp + edx*4]
xchg esp, eax
dec ecx
adc al, 0x72
xchg esp, eax
xchg esp, eax
sbb bl, byte [esi - 0x597e526a]
imul esi, dword [eax - 0x692b319a], 0xffffff96
dec ecx
sbb al, 0xad
and dword [esi - 0x49995195], 0x499696d4
sbb al, 0x45
inc ebp
mov esi, 0x94961b71
shr byte [esi - 0x5269e4c5], 0x86
mov eax, dword [0x66a88194]
seto byte [esp + edx*4 + 0x1c5516fc]
inc ebx
lodsd eax, dword [esi]
add dword [esi + 0x67961b3b], esi
aas
cmp ebx, dword [ebx]
xchg esi, eax
aas
jno 0x41271e
xchg esi, eax
inc ebp
xchg esp, eax
inc edx
daa
jno 0x412726
xchg esi, eax
inc ebp
fstp qword [edi - 0x6b69e24a]
inc edx
invalid
xchg esi, eax
xchg esp, eax
inc edx
invalid
inc ebp
invalid
Function at 0x420e81
Capabilities:
Encode data using xor

Disassembly:
loopne 0x420e0d
aas
sbb edx, dword [esi + 0x3f07e094]
xchg esp, eax
loopne 0x420e1c
aas
sbb edx, dword [esi - 0x629152bf]
outsb dx, byte [esi]
scasb al, byte es:[edi]
fld dword [esi - 0x369e4b4]
and byte [ecx - 0x3bc71df], ch
adc byte [eax + eax*8 - 0x69e4c612], 0x6b
movsb byte es:[edi], byte [esi]
mov cl, 0x31
jle 0x420e70
sahf
mov dh, 0x96
xchg esi, eax
aaa
xchg esp, eax
rcl byte [esi], 0x39
sbb edx, dword [esi - 0x2b80e95f]
stosd dword es:[edi], eax
xor dword [esi - 0x61], edi
sub byte [ecx - 0x3f8081df], dh
insd dword es:[edi], dx
sub byte [edx + 0x172812b4], 0xb1
jg 0x420e0d
stosd dword es:[edi], eax
cmpsb byte [esi], byte es:[edi]
lahf
sub byte [ecx - 0x7e7d5e8c], al
cmpsb byte [esi], byte es:[edi]
xchg esp, eax
rcl byte [esi - 0x5269e4c7], 0x76
lodsd eax, dword [esi]
xor dword [esi + 0x30fc22ad], ecx
push ebx
mov gs, word [ebp + 0x5330fc22]
dec ax
inc eax
xchg edx, eax
xchg esp, eax
sub byte [ebx + ebp*2], bl
pushfd
inc edi
sbb al, 0x41
lodsd eax, dword [esi]
outsb dx, byte [esi]
cdq
outsb dx, byte [esi]
invalid
Function at 0x4213ae
Capabilities:
Encode data using xor

Disassembly:
and dword [esi], ecx
test eax, 0x21b1a621
cmpsb byte [esi], byte es:[edi]
aaa
imul ebx, dword [eax - 0x696a98c3], 0x71
push ss
xchg esp, eax
ror byte [esi], 0x37
sbb edx, dword [esi - 0x52b9ae53]
and dword [esi + 0x27d9c6a9], ebp
invalid
push 0x969696f8
popaw
adc dword [edx - 0x21d0526c], edx
sahf
mov eax, dword [0xbe27a728]
and dword [esi - 0x5d996f95], 0x4994947d
xchg esp, eax
xchg esp, eax
dec ecx
cld
push ss
pop ss
sbb ah, byte [esi + 0x6b986b96]
xchg esi, eax
mov dl, 0xe1
xchg edx, eax
loope 0x42136b
xchg esp, eax
mov al, 0xf1
xchg edx, eax
xchg esp, eax
push 0x9492e171
xchg edx, eax
xchg esp, eax
cmp eax, 0x2c9d4543
xchg esp, eax
inc ebp
popfd
sub al, 0x94
sub dh, bl
xchg edx, eax
xchg esp, eax
lodsd eax, dword [esi]
jbe 0x421458
in al, 0x11
xchg edx, eax
xchg esp, eax
xchg esp, eax
jg 0x4213d7
into
lodsd eax, dword [esi]
xchg dword [esi - 0x3121806c], ebx
xchg esp, eax
jg 0x4213e2
into
xchg esp, eax
jg 0x4213e6
into
inc cx
push cs
xchg edx, eax
xchg esp, eax
mov eax, dword [0xa10f7f16]
xchg esp, eax
jg 0x4213c8
lodsd eax, dword [esi]
movsb byte es:[edi], byte [esi]
lodsd eax, dword [esi]
xor al, 0x94
mov bh, 0xb7
xchg esi, eax
xchg esi, eax
xchg esi, eax
mov eax, dword [0xadea7f16]
mov byte [0x379432ad], al
aaa
mov eax, dword [0x9c28116]
and edx, esi
jg 0x4213da
lodsd eax, dword [esi]
xor edx, esi
lodsd eax, dword [esi]
cwde
xchg esp, eax
aaa
push edi
lodsd eax, dword [esi]
mov byte [0x379432ad], al
insb byte es:[di], dx
movsb byte es:[edi], byte [esi]
lodsd eax, dword [esi]
mov byte [0x379432ad], al
aas
lodsd eax, dword [esi]
inc esi
inc di
add dl, byte [edx - 0x52acaa6c]
sbb al, 0x4d
sbb dh, byte [esi + 0x2e2e2e96]
inc ecx
lodsd eax, dword [esi]
outsb dx, byte [esi]
lodsd eax, dword [esi]
and dword [esi + 0x408a6637], esp
xchg edx, eax
xchg esp, eax
popfd
push ds
sahf
push ecx
sbb al, 0x2e
inc ecx
lodsd eax, dword [esi]
outsb dx, byte [esi]
popfd
outsb dx, byte [esi]
mov esi, 0x247631a9
and dword [esi - 0x6969696a], eax
insb byte es:[edi], dx
test al, 0xad
and dword [esi - 0x5667e963], eax
and dword [esi + 0xd8631ad], eax
xor dword [esi - 0x692a4e4c], esp
xchg esi, eax
xchg esi, eax
lodsd eax, dword [esi]
inc ecx
jbe 0x421458
sbb esi, dword [esi - 0x5479ce53]
mov esi, 0x9441a7a6
lodsd eax, dword [esi]
and dword [esi - 0x53], esi
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x10002b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x101080e5
call fcn.100de193
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14], 0x33323738
mov dword [ebp - 0x10], 0x35444633
mov dword [ebp - 0xc], 0x38304638
mov dword [ebp - 8], 0x46434334
pop esi
test ecx, ecx
je 0x10002bcc
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.10025d50
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret

Function at 0x10003dd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x101080e5
call fcn.100de193
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10003e31
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003e18
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003e31
mov edx, dword [ebp - 8]
xor eax, eax
add eax, esi
pop esi
adc edx, 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
pop esi
call fcn.100dcb60
mov esp, ebp
pop ebp
ret
Function at 0x1000bac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x101080e5
call fcn.100de193
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x1000bc4a
cmp dword [eax + 0x10], 0
je 0x1000bc4a
cmp dword [eax + 0x14], 8
jb 0x1000baf0
mov eax, dword [eax]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
push 1
push 0x40
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 8]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0xa]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0xc]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0xe]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x10]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x90]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x92]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x94]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x96]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x98]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x118]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
push edi
push eax
lea eax, [esi + 0x120]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bc4a
pop edi
pop esi
mov al, al
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8