joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403225
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push 0x4754f8
push 0x475090
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
call fcn.00460a80
add esp, 0xc
cmp dword [ebp - 8], ebx
je 0x403438
push 0x47542c
push 0x47b0b0
call fcn.004607ce
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], esi
je 0x403438
push ebx
push dword [ebp - 8]
push esi
call fcn.004610a0
add esp, 0xc
test eax, eax
push esi
jne 0x403432
push 1
lea eax, [ebp - 0xc]
push 4
push eax
mov dword [ebp - 0xc], ebx
call fcn.00461c1a
add esp, 0x10
cmp eax, 1
jne 0x403431
mov eax, dword [ebp - 0xc]
cmp eax, 1
jl 0x403431
cmp eax, 0x3e8
jg 0x403431
shl eax, 2
push edi
push eax
call fcn.004616c5
push esi
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push 4
push eax
call fcn.00461c1a
add esp, 0x14
cmp eax, dword [ebp - 0xc]
jne 0x40338b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
imul eax, eax, 0x108
xor edi, edi
cmp dword [ebp - 0xc], ebx
lea eax, [ecx + eax + 4]
mov byte [ebp - 2], bl
mov dword [ebp - 8], eax
jle 0x40338f
mov esi, 0x104
push dword [ebp - 0x10]
lea eax, [ebp - 0x120]
push 1
push esi
push eax
call fcn.00461c1a
add esp, 0x10
cmp eax, 1
jne 0x403388
xor eax, eax
xor byte [ebp + eax - 0x120], 0x55
inc eax
cmp eax, esi
jl 0x403330
cmp byte [ebp - 2], bl
jne 0x403374
lea eax, [ebp - 0x120]
push str..360
push eax
call fcn.004611a0
pop ecx
test eax, eax
pop ecx
je 0x403374
lea eax, [ebp - 0x120]
push eax
push dword [ebp + 8]
call fcn.00460990
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 2], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
add dword [ebp - 8], eax
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x403314
mov esi, dword [ebp - 0x10]
jmp 0x40338f
mov esi, dword [ebp - 0x10]
mov byte [ebp - 1], 1
push 2
push ebx
push esi
call fcn.004610a0
add esp, 0xc
test eax, eax
pop edi
je 0x4033a4
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
jne 0x403417
push esi
call fcn.00460838
cmp eax, dword [ebp - 8]
pop ecx
jge 0x4033e5
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040576d
push ebx
push dword [esi + 0x26c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0x4752ac
push str.HATALI_DOSYA_BOYUTU__nDosyan
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00462665
jle 0x403417
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040576d
push ebx
push dword [esi + 0x26c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0x4752ac
push str.HATALI_DOSYA_BOYUTU__nDosya_olmas
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00462665
push esi
call fcn.00460758
push dword [ebp - 0x14]
call fcn.00461382
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jne 0x403438
mov eax, dword [ebp - 0x18]
jmp 0x40343b
push esi
call fcn.00460758
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
leave
ret 4
Function at 0x403441
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
push 0x4754f8
push 0x475090
xor bl, bl
mov dword [ebp - 4], edi
call fcn.00460a80
add esp, 0xc
cmp dword [ebp - 4], edi
je 0x403489
push 0x47542c
push 0x47b0b0
call fcn.004607ce
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
mov dword [ebp - 0xc], esi
jne 0x403490
xor eax, eax
jmp 0x40359f
push edi
push dword [ebp - 4]
push esi
call fcn.004610a0
add esp, 0xc
test eax, eax
push esi
jne 0x4034bb
push 1
lea eax, [ebp - 8]
push 4
push eax
mov dword [ebp - 8], edi
call fcn.00461c1a
add esp, 0x10
cmp eax, 1
je 0x4034c7
push esi
call fcn.00460758
xor eax, eax
jmp 0x40359e
mov eax, dword [ebp - 8]
shl eax, 2
push eax
call fcn.004616c5
push esi
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 4
push eax
call fcn.00461c1a
add esp, 0x14
cmp eax, dword [ebp - 8]
je 0x4034ec
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
imul eax, eax, 0x108
xor esi, esi
cmp dword [ebp - 8], edi
lea eax, [ecx + eax + 4]
mov dword [ebp - 4], eax
jle 0x40355c
mov edi, 0x104
push dword [ebp - 0xc]
lea eax, [ebp - 0x114]
push 1
push edi
push eax
call fcn.00461c1a
add esp, 0x10
cmp eax, 1
jne 0x40355a
xor eax, eax
xor byte [ebp + eax - 0x114], 0x55
inc eax
cmp eax, edi
jl 0x403527
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call fcn.00460b40
pop ecx
test eax, eax
pop ecx
je 0x40355c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + esi*4]
add dword [ebp - 4], eax
inc esi
cmp esi, dword [ebp - 8]
jl 0x40350b
jmp 0x40355c
mov bl, 1
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.004610a0
add esp, 0xc
test eax, eax
je 0x403572
mov bl, 1
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + esi*4]
add eax, dword [ebp - 4]
test bl, bl
mov dword [ecx], eax
je 0x40358d
push dword [ebp - 0xc]
call fcn.00460758
pop ecx
push edi
call fcn.00461382
neg bl
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0xc]
mov eax, ebx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41522d
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp edi, ebp
mov ebx, ecx
jne 0x415247
mov eax, 0x80070057
jmp 0x4153c4
cmp dword [ebx + 0x104], 0xffffffff
je 0x415257
mov ecx, ebx
call fcn.004153cb
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0x10000080
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 4
push ebp
mov ecx, eax
push ebp
push 0xc0000000
and ecx, 3
push dword [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x114], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0x104], eax
je 0x41530c
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebx + 0x110], eax
sbb esi, esi
neg esi
mov dword [esp + 0x14], esi
je 0x4152c0
mov eax, 0x1000
jmp 0x4152c9
add eax, 0xfff
and ax, 0xf000
push ebp
push eax
push ebp
push 4
push ebp
mov dword [ebx + 0x110], eax
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [ebx + 0x108], eax
je 0x41530c
push dword [ebx + 0x110]
push ebp
push ebp
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebp
mov dword [ebx + 0x10c], edx
jne 0x41533c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x41531e
call esi
mov esi, eax
jmp 0x41532e
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov ecx, ebx
call fcn.004153cb
mov eax, esi
jmp 0x4153c4
cmp esi, ebp
jne 0x415393
push 8
mov edi, str.D3DX_r_n
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41536b
cmp dword [edx + 8], ebp
jne 0x41536b
cmp dword [edx + 0x14], 0x10
jne 0x41536b
mov eax, dword [edx + 0x18]
cmp eax, 0x28
jb 0x41536b
cmp eax, dword [ebx + 0x110]
jbe 0x41538b
mov ecx, dword [ebx + 0x110]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x14], 1
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x4153c2
mov eax, dword [str.D3DX_r_n]
mov dword [edx], eax
mov eax, dword [0x47226c]
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov dword [edx + 0x10], ebp
mov dword [edx + 0x14], 0x10
mov dword [edx + 0x18], 0x28
mov dword [edx + 0x1c], ebp
mov dword [edx + 0x20], ebp
mov dword [edx + 0x24], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41a413
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00415212
test eax, eax
jne 0x41a4a4
lea eax, [ebp - 0x100]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, 0x472594
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + edx - 0x100], 0x5c
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
lea edi, [ebp + edx - 0xff]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x100]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0041522d
test eax, eax
jl 0x41a4a6
mov ecx, ebx
call fcn.00415226
cmp eax, 0x100000
jbe 0x41a4a4
mov ecx, ebx
call fcn.00415426
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.0041522d
test eax, eax
jl 0x41a4a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ecd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebp
ret

Function at 0x41ecf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
ret
Function at 0x443e70
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
nop
lea esi, [esi]
mov cl, byte [edx]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov byte [esi], cl
mov bl, byte [eax]
mov byte [esi + 1], bl
mov cl, byte [edi]
mov byte [esi + 2], cl
mov cl, byte [edx + 2]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 4]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 6]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 8]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xa]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0xc]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov cl, byte [edx + 0x10]
add esi, dword [esp + 0x30]
mov byte [esi], cl
mov cl, byte [eax]
mov byte [esi + 1], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 2], cl
mov cl, byte [edx + 0x12]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 0x14]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 0x16]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 0x18]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0x1a]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0x1c]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0x1e]
add edx, 0x20
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
add eax, 0x10
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov ecx, dword [esp + 8]
inc ecx
add dword [esp + 0xc], 0x10
add esi, dword [esp + 0x30]
mov dword [esp + 4], esi
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x443ea0
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x46133e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46135e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004667c5
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x46137f
test byte [esp + 8], 2
je 0x46137f
mov dword [0x47b5c8], 0xd
mov dword [0x47b5cc], 5
jmp 0x46135a
xor eax, eax
ret

Function at 0x469c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x47a458
cmp edx, dword [eax]
je 0x469c82
add eax, 8
inc ecx
cmp eax, 0x47a4e8
jl 0x469c73
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x47a458]
jne 0x469db0
mov eax, dword [0x47b61c]
cmp eax, 1
je 0x469d8a
test eax, eax
jne 0x469cb3
cmp dword [0x477e94], 1
je 0x469d8a
cmp edx, 0xfc
je 0x469db0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x469cea
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00460990
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00460e70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x469d2d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00460e70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x472bb0
push edi
call fcn.00460ef0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00460990
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004609a0
lea eax, [ebp - 0xa0]
push 0x472b90
push eax
call fcn.004609a0
push dword [esi + 0x47a45c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004609a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046bd63
add esp, 0x2c
pop edi
jmp 0x469db0
lea eax, [ebp + 8]
lea esi, [esi + 0x47a45c]
push 0
push eax
push dword [esi]
call fcn.00460e70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

Function at 0x4014e6
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x4014fa
cmp dl, 0xcc
jne 0x401544
inc eax
cmp eax, 0xffffffff
jle 0x4014ed
mov al, byte [ecx]
cmp al, 0x8b
je 0x40150a
cmp al, 0x89
jne 0x401544
cmp byte [ecx + 1], 0xff
jne 0x401544
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x401541
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10002907
Capabilities:
Delete directory

Disassembly:
mov eax, dword [section..data]
test eax, eax
jne 0x1000291b
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
ret
cmp eax, 1
jne 0x10002943
push esi
push edi
push dword [esp + 0xc]
call fcn.1000277e
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
mov edi, eax
call fcn.100020f5
pop ecx
mov eax, edi
pop edi
pop esi
ret
call fcn.10002077
xor eax, eax
ret
Function at 0x7e1e7e
Capabilities:
Parse pe header

Disassembly:
jmp 0x817a93
lea esp, [esp + 4]
jmp fcn.00817b74

Function at 0x7e1ea5
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x817aa3
lea esp, [esp + 4]
jmp fcn.00817b2f

Function at 0x7e4385
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x81b71a
lea esp, [esp + 4]
jmp fcn.0081b7d1

Function at 0x7e4bd0
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x7e4c08
jmp 0x7e4bec
lea esp, [esp + 4]
jmp 0x7e4bb3
jmp 0x7e4c24
jmp 0x7e4c40
push ebx
jmp 0x7e4c5c
jmp 0x7e4c78
push ebp
jmp 0x7e4c94
jmp 0x7e4cb0
push esi
jmp 0x7e4ccc
jmp 0x81cf11
push edi
movzx edx, byte [eax]
jmp 0x81d686
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x7efd78
jne 0x81d784
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x7ee550]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x7ee550]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x7ee550]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x7ee550]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.00806338
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x7ee550]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x7ee550]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x7ee550]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x7ee550]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
jmp 0x81d5ca