joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c200
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x1000c22d
xor ecx, ecx
jmp 0x1000c239
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x1000c2ed
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x1000c260
mov dword [esp + 0xc], esi
jmp 0x1000c2c0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x1000c2b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000c2ac
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x1000c2c0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000c2c0
push 0x10022120
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1000c2c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x1000c2e3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x1000c252
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x1000c301
mov ecx, dword [ebx]
add ecx, 8
call fcn.1000c440
test eax, eax
je 0x1000c301
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x1000c310
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x1001b80b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100251c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.1000de40
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x1000c3a8
push 0x10022f14
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.1000d99b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x1000c9cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100251c0]
jne 0x1000c9d5
repz ret
jmp fcn.1000ed19
Function at 0x401184
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409460
mov eax, dword [0x2453c5c]
mov ecx, dword [0x24536e8]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x401243
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2453c5c], 0x959
jne 0x401232
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.Hipejes_joh_jagibavicedok_lozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401061
add ebx, 8
dec edi
jne 0x4011b0
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401510
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x800
push esi
xor esi, esi
cmp dword [0x2453c5c], 0x400
push edi
jne 0x401570
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.00402527
push esi
call fcn.004023b1
push esi
push esi
call fcn.004024e7
push esi
call fcn.00402bfd
push esi
push esi
call fcn.00402a48
push esi
call fcn.00402cb3
push esi
push esi
call fcn.004023eb
add esp, 0x28
xor edi, edi
cmp edi, 0x16c76
jge 0x401582
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x4015a8
inc edi
cmp edi, 0x3003f
jl 0x401572
mov eax, dword [0x43669c]
mov dword [0x2453c5c], eax
call fcn.00401246
mov edi, 0x3078f
cmp dword [0x2453c5c], 0x51f
jne 0x4015d4
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x4015bc
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x404aff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435824]
jne 0x404b09
repz ret
jmp fcn.0040804c
Function at 0x4090f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435824]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403a5e
and dword [ebp - 0x14], 0
cmp dword [0x441510], 0
mov dword [ebp - 0x18], eax
jne 0x4091a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40924d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40924d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x441510], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x441514], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x441518], eax
call edi
push eax
call esi
mov dword [0x441520], eax
test eax, eax
je 0x4091a5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44151c], eax
mov eax, dword [0x44151c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4091fe
cmp dword [0x441520], ecx
je 0x4091fe
push eax
call esi
push dword [0x441520]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4091fe
test ebx, ebx
je 0x4091fe
call edi
test eax, eax
je 0x4091f5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4091f5
test byte [ebp - 8], 1
jne 0x4091fe
or dword [ebp + 0x10], 0x200000
jmp 0x409231
mov eax, dword [0x441514]
cmp eax, dword [ebp - 0x18]
je 0x409231
push eax
call esi
test eax, eax
je 0x409231
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409231
mov eax, dword [0x441518]
cmp eax, dword [ebp - 0x18]
je 0x409231
push eax
call esi
test eax, eax
je 0x409231
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x441510]
call esi
test eax, eax
je 0x40924d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40924f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404aff
leave
ret
Function at 0x438cbb
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
and ebx, ebx
add ebx, 0xaf50e02
call fcn.00438d00
sub ebx, 0xce4b75c0
xor dword [ecx], eax
push edi
pop ebx
sub edi, 1
sub edi, 0x302bbae2
inc ecx
mov edi, 0xc8ec9ef7
sub ebx, edi
mov edi, ebx
cmp ecx, esi
jne fcn.00438cbb
dec edi
add edi, edi
add edi, 0x755c02eb
ret
Function at 0x403bf4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x40ed10], ebx
jne 0x403c33
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [0x40c08c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403c2c
cmp dword [ebp - 8], esi
je 0x403d65
xor eax, eax
jmp 0x403d68
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
jbe 0x403d65
mov edi, 0x7995a0
mov esi, dword [0x40ed0c]
push dword [esi + 0x10]
mov eax, dword [esi + 0x18]
push dword [esi + 0xc]
dec eax
cdq
push edx
push eax
call fcn.00407d30
mov ecx, dword [0x40ed18]
sub ecx, eax
mov eax, dword [0x40ed1c]
sbb eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x1c]
cmp dword [ebp - 0xc], eax
jg 0x403cdd
jl 0x403c83
cmp dword [ebp - 0x10], ecx
jae 0x403cdd
mov esi, dword [ebp + 0xc]
xor ebx, ebx
sub esi, dword [ebp - 4]
push ebx
pop edx
sbb edx, ebx
sub ecx, dword [ebp - 0x10]
sbb eax, dword [ebp - 0xc]
cmp eax, edx
jg 0x403ca1
jl 0x403c9f
cmp ecx, esi
jae 0x403ca1
mov esi, ecx
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [0x40c08c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403c2c
cmp dword [ebp - 8], esi
jne 0x403c2c
add dword [ebp - 4], esi
add dword [0x40ed18], esi
adc dword [0x40ed1c], ebx
add dword [ebp + 8], esi
jmp 0x403d59
mov eax, dword [esi]
push dword [0x40c08c]
mov dword [0x40ed0c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7a8800
push edi
call fcn.00406c86
push 0x5c
push edi
call fcn.00407cf5
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x403d0d
mov esi, edi
lea eax, [esi + 2]
jmp 0x403d17
mov esi, eax
add eax, 2
push 0x2e
push eax
call fcn.00407cce
pop ecx
pop ecx
cmp eax, ebx
jne 0x403d12
mov eax, dword [0x40ed0c]
push dword [eax + 0x18]
push str.._u.dat
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 3
push 0x80000000
push edi
call fcn.00406923
push ebx
push ebx
push 0x24
push eax
mov dword [0x40c08c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x403c44
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4063db
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x7935f0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x7935f0], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406416
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x40649f
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call fcn.004068fb
mov edi, eax
cmp edi, 0xffffffff
je 0x4064dc
test byte [ebp + 8], 1
push esi
je 0x4064c6
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4064ce
xor eax, eax
inc eax
jmp 0x4064de
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4064bd
test byte [ebp + 8], 4
jne 0x4064dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x406ff2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x407017
mov eax, dword [0x40c028]
cmp eax, 0xffffffff
je 0x40700e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40c028], 0xffffffff
jmp 0x40708f
cmp dword [0x795cc8], edi
je 0x40708f
cmp word [0x797ce0], di
je 0x407057
cmp dword [0x40c028], 0xffffffff
jne 0x407060
push 4
push 0x40000000
push 0x797ce0
call fcn.00406923
mov dword [0x40c028], eax
cmp eax, 0xffffffff
je 0x40708f
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40c028], 0xffffffff
je 0x40708f
push esi
push 0x40a868
mov esi, 0x795ce0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push esi
push dword [0x40c028]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop edi
pop ebp
ret 4

Function at 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x29121db6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x54e374b2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10011c00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10011c3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011c36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011c40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011c26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011d10
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10011d26
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011d41
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001c396
Capabilities:
Encode data using xor

Disassembly:
call 0x1001c30f
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 0x1001c33f
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 0x1001c35b
xor edx, 0
jmp 0x1001c366
xor edx, edx
jmp 0x1001c37d
jmp 0x1001c389
xor eax, eax
push 0x8427d7c0
call 0x1001c396
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001c3d2
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 0x1001c3ab
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 0x1001c3e9
add eax, 0
jno 0x1001c3ee
add esi, 0
ret 0x10
Function at 0x1001d157
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 0x1001d179
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 0x1001d31b
cmp edi, dword [ebp + 0x10]
jb 0x1001d31b
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.1001cc43
inc edi
jmp 0x1001d202
jmp 0x1001d20f
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001cc43
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001cc43
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 0x1001d263
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 0x1001d247
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001d291
add dword [eax], 0x39
jle 0x1001d26d
sub al, 0xf5
mov ch, al
call fcn.1001d2a6
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001ef7e
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 0x1001ef94
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 0x1001efa5
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001efe6
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 0x10021352
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 0x1002129b
add ebx, 0
push ecx
call 0x100212b0
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, 0x6e385363
sub ebx, dword [0x6e3a4ba2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6e3a4b92
call fcn.1001cd7a
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001c288
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1002140e
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1002140e
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 0x100213c5
mov eax, 1
lock xchg dword [0x6e3a4b9e], eax
push 0x3dd1fc71
call 0x10021352
push esi
add esp, 8
cmp eax, 0
jne 0x1002133b
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10021361
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10021376
cmp ecx, edx
cmp eax, 0
je 0x1002139b
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 0x10021385
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100213b4
dec eax
loope 0x100213b7
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6e3a4b9e], 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 0x100213eb
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10021400
jmp 0x1002140b
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100212f9
Function at 0x10028473
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 0x10028749
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6e391816
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6e3887dc
push 0xffffffffffffffff
call fcn.1001f673
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 0x100284dd
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100284f5
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 0x1002873d
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10028711
Function at 0x10037f43
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 0x10037f65
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10037f65
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10037f65
ret
cmp word [ebx + 4], 0x14c
jne 0x10037f65
test word [ebx + 0x16], 2
je 0x10037f65
test word [ebx + 0x16], 0x100
je 0x10037f65
cmp word [ebx + 0x18], 0x10b
jne 0x10037f65
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10037f65
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10037ff1
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10037f85
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001eed0
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10037f65
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 0x10037ff1
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 0x10037f65
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10037f65
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10037f65
ret
cmp word [ebx + 4], 0x14c
jne 0x10037f65
test word [ebx + 0x16], 2
je 0x10037f65
test word [ebx + 0x16], 0x100
je 0x10037f65
cmp word [ebx + 0x18], 0x10b
jne 0x10037f65
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10037f65
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10037ff1
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10037f85
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001eed0
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10037f65
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