joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41db5f
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.0041c620
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41dbfa
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 [0x42a85c]
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 0x41dbfa
cmp eax, 1
je 0x41dc1b
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 0x41dbfa
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41dbc7
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41dbf6
xor eax, eax
inc eax
jmp 0x41dc3a
cmp edi, eax
jae 0x41dbfe
xor eax, eax
jmp 0x41dc3a
cmp eax, esi
jae 0x41dc05
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 [0x42a85c]
jmp 0x41dc1e
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 0x41e8c1
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c620
mov eax, dword [0x428840]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x42c1a0]
mov dword [ebp - 4], eax
jae 0x41ea04
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x42c1c0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x41ea04
push 1
push esi
push ebx
call fcn.0041b863
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x41ea0e
push 2
push esi
push ebx
call fcn.0041b863
add esp, 0xc
cmp eax, 0xffffffff
je 0x41ea0e
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41e9ae
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0041abc0
push 0x8000
push ebx
call fcn.00421a90
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x41e96d
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0041b5c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x41e98b
sub edi, eax
test edi, edi
jg 0x41e962
jmp 0x41e9a1
cmp dword [0x42a854], 5
jne 0x41e99e
mov dword [0x42a850], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00421a90
pop ecx
pop ecx
jmp 0x41e9ee
jge 0x41e9ee
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0041b863
push ebx
call fcn.0041ed56
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x41e9ee
mov dword [0x42a850], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x42a854], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0041b863
add esp, 0xc
mov eax, esi
pop edi
jmp 0x41ea11
mov dword [0x42a850], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0041d00e
leave
ret
Function at 0x42062c
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x428840]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x428ae0]
je 0x420661
inc eax
cmp eax, 0x13
jb 0x420652
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x428ae0]
jne 0x420787
mov eax, dword [0x42a8b4]
cmp eax, 1
je 0x42075f
cmp eax, edx
jne 0x420691
cmp dword [0x428834], 1
je 0x42075f
cmp ecx, 0xfc
je 0x420787
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4206c7
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.0041a280
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0041a8f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4206fb
mov eax, edi
push eax
call fcn.0041a8f0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x425808
push edi
call fcn.0041c130
add esp, 0x10
push edi
call fcn.0041a8f0
push dword [esi + 0x428ae4]
mov ebx, eax
call fcn.0041a8f0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0041c620
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0041a280
push edi
push ebx
call fcn.0041a290
push 0x4257e8
push ebx
call fcn.0041a290
push dword [esi + 0x428ae4]
push ebx
call fcn.0041a290
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00421e86
add esp, 0x2c
jmp 0x420787
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x428ae4]
push dword [esi]
call fcn.0041a8f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0041d00e
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x421e86
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x42ab34], ebx
push esi
push edi
jne 0x421f06
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x421f41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x425fb4
push edi
call esi
test eax, eax
mov dword [0x42ab34], eax
je 0x421f41
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x42ab38], eax
call esi
cmp dword [0x42a85c], 2
mov dword [0x42ab3c], eax
jne 0x421f06
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x42ab44], eax
je 0x421f06
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x42ab40], eax
mov eax, dword [0x42ab40]
test eax, eax
je 0x421f4b
call eax
test eax, eax
je 0x421f32
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x42ab44]
test eax, eax
je 0x421f32
test byte [ebp - 8], 1
jne 0x421f4b
cmp dword [0x42a868], 4
jb 0x421f45
or byte [ebp + 0x12], 0x20
jmp 0x421f6a
xor eax, eax
jmp 0x421f7a
or byte [ebp + 0x12], 4
jmp 0x421f6a
mov eax, dword [0x42ab38]
test eax, eax
je 0x421f6a
call eax
mov ebx, eax
test ebx, ebx
je 0x421f6a
mov eax, dword [0x42ab3c]
test eax, eax
je 0x421f6a
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x42ab34]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422411
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42242a
or eax, 0xffffffff
jmp 0x42248b
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x422487
push 0x3d
push esi
call fcn.00422988
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x422487
cmp esi, eax
je 0x422487
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x42a87c]
sete cl
cmp eax, dword [0x42a880]
mov dword [ebp - 8], ecx
jne 0x42246d
mov edi, eax
call fcn.004223b0
mov dword [0x42a87c], eax
cmp eax, ebx
jne 0x4224c6
cmp dword [ebp + 0xc], ebx
je 0x42248f
cmp dword [0x42a884], ebx
je 0x42248f
call fcn.00421644
test eax, eax
je 0x4224c6
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x422498
xor eax, eax
jmp 0x42248a
push 4
call fcn.0041af06
cmp eax, ebx
pop ecx
mov dword [0x42a87c], eax
je 0x422487
mov dword [eax], ebx
cmp dword [0x42a884], ebx
jne 0x4224c6
push 4
call fcn.0041af06
cmp eax, ebx
pop ecx
mov dword [0x42a884], eax
je 0x422487
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x42a87c]
call fcn.00422363
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x422527
cmp dword [esi], ebx
je 0x422527
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0041af18
cmp dword [ebp - 8], ebx
pop ecx
jne 0x42250a
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x422568
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x422501
mov eax, edi
shl eax, 2
push eax
push dword [0x42a87c]
call fcn.0041c4a2
cmp eax, ebx
pop ecx
pop ecx
je 0x422568
jmp 0x422563
cmp dword [ebp - 8], ebx
jne 0x4225d3
cmp edi, ebx
jge 0x422536
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x42a87c]
call fcn.0041c4a2
cmp eax, ebx
pop ecx
pop ecx
je 0x422487
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x42a87c], eax
cmp dword [ebp + 0xc], ebx
je 0x4225bd
push dword [ebp - 4]
call fcn.0041a8f0
inc eax
inc eax
push eax
call fcn.0041af06
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4225bd
push dword [ebp - 4]
push esi
call fcn.0041a280
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4225b6
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0041af18
pop ecx
cmp dword [ebp - 8], ebx
je 0x4225cb
push dword [ebp - 4]
call fcn.0041af18
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42248a
push dword [ebp - 4]
call fcn.0041af18
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x422494
Function at 0x432ec6
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 0x432ef4
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 0x432efb
cmp ebx, dword [eax + 4]
jae 0x432efb
xor eax, eax
jmp 0x4330eb
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x432f0c
xor eax, eax
inc eax
jmp 0x4330ea
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x432f22
cmp ecx, edx
jae 0x433067
cmp dword [eax + 4], 0
je 0x432f2b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x432f13
cmp dword [ebp + 8], 0
je 0x432f4d
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x433067
cmp eax, esi
jae 0x433067
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x432f72
cmp dword [esi*4 + 0x4089f0], edi
je 0x43306b
inc esi
cmp esi, eax
jl 0x432f60
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4060c4]
test eax, eax
je 0x4330e7
cmp dword [ebp - 8], 0x1000000
jne 0x4330e7
test byte [ebp - 0xc], 0xcc
je 0x432ff0
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4330e7
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4330e7
cmp word [eax + 0x18], 0x10b
jne 0x4330e7
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4330e7
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x432ff0
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x432ff0
test byte [ecx + 0x27], 0x80
jne 0x433067
push 1
push 0x408a30
call dword [0x4060c0]
test eax, eax
jne 0x432f04
mov ecx, dword [sym.imp.USER32.dll_GetParent]
test ecx, ecx
mov edx, ecx
jle 0x433024
lea eax, [ecx*4 + 0x4089ec]
cmp dword [eax], edi
je 0x433024
dec edx
sub eax, 4
test edx, edx
jg 0x433018
test edx, edx
jne 0x433055
push 0xf
pop ebx
cmp ecx, ebx
jg 0x433031
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x433049
lea eax, [edx*4 + 0x4089f0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x433037
cmp ecx, 0x10
jge 0x433055
inc ecx
mov dword [sym.imp.USER32.dll_GetParent], ecx
push 0
push 0x408a30
call dword [0x4060c0]
jmp 0x432f04
xor eax, eax
jmp 0x4330ea
test esi, esi
jle 0x432f04
mov ebx, dword [0x4060c0]
push 1
push 0x408a30
call ebx
test eax, eax
jne 0x432f04
cmp dword [esi*4 + 0x4089f0], edi
je 0x4330c1
mov eax, dword [sym.imp.USER32.dll_GetParent]
lea esi, [eax - 1]
test esi, esi
jl 0x4330af
cmp dword [esi*4 + 0x4089f0], edi
je 0x4330ab
dec esi
jns 0x43309f
test esi, esi
jge 0x4330bf
cmp eax, 0x10
jge 0x4330ba
inc eax
mov dword [sym.imp.USER32.dll_GetParent], eax
lea esi, [eax - 1]
jmp 0x4330c1
je 0x4330d9
xor ecx, ecx
test esi, esi
jl 0x4330d9
lea eax, [ecx*4 + 0x4089f0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4330c7
push 0
push 0x408a30
call ebx
jmp 0x432f04
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000667d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x100066ba
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x100066b3
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x100066bf
add edx, 0x28
cmp edx, esi
jne 0x100066a4
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x100066bc

Function at 0x1000b1f8
Capabilities:
Encode data using xor

Disassembly:
call 0x1000b171
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000b1a1
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000b1bd
xor edx, 0
jmp 0x1000b1c8
xor edx, edx
jmp 0x1000b1df
jmp 0x1000b1eb
xor eax, eax
push 0x8427d7c0
call 0x1000b1f8
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000b234
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000b20d
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000b24b
add eax, 0
jno 0x1000b250
add esi, 0
ret 0x10
Function at 0x1000bfb9
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000bfdb
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000c17d
cmp edi, dword [ebp + 0x10]
jb 0x1000c17d
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000baa5
inc edi
jmp 0x1000c064
jmp 0x1000c071
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000baa5
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000baa5
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000c0c5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000c0a9
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000c0f3
add dword [eax], 0x39
jle 0x1000c0cf
sub al, 0xf5
mov ch, al
call fcn.1000c108
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000dde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000ddf6
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000de07
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000de48
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100101b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100100fd
add ebx, 0
push ecx
call 0x10010112
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6bf2a2e9
sub ebx, dword [0x6bf49b28]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bf49b18
call fcn.1000bbdc
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000b0ea
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10010270
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10010270
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10010227
mov eax, 1
lock xchg dword [0x6bf49b24], eax
push 0x3dd1fc71
call 0x100101b4
push esi
add esp, 8
cmp eax, 0
jne 0x1001019d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100101c3
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100101d8
cmp ecx, edx
cmp eax, 0
je 0x100101fd
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100101e7
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10010216
dec eax
loope 0x10010219
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bf49b24], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1001024d
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10010262
jmp 0x1001026d
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001015b
Function at 0x100172d5
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100175ab
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bf3679c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bf2d762
push 0xffffffffffffffff
call fcn.1000e4d5
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1001733f
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10017357
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1001759f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10017573
Function at 0x10026da5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026dc7
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026dc7
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026dc7
ret
cmp word [ebx + 4], 0x14c
jne 0x10026dc7
test word [ebx + 0x16], 2
je 0x10026dc7
test word [ebx + 0x16], 0x100
je 0x10026dc7
cmp word [ebx + 0x18], 0x10b
jne 0x10026dc7
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026dc7
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026e53
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026de7
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000dd32
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026dc7
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10026e53
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026dc7
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026dc7
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026dc7
ret
cmp word [ebx + 4], 0x14c
jne 0x10026dc7
test word [ebx + 0x16], 2
je 0x10026dc7
test word [ebx + 0x16], 0x100
je 0x10026dc7
cmp word [ebx + 0x18], 0x10b
jne 0x10026dc7
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026dc7
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026e53
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026de7
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000dd32
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026dc7
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8