joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1096620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x1096627
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x1096704
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10bab48]
inc ecx
sub edx, 8
sub esi, 1
jne 0x1096640
pop edi
test edx, edx
je 0x109672b
jmp 0x1096710
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10bab48]
inc ecx
sub edx, 1
jne 0x1096710
not eax
pop esi
ret

Function at 0x1096730
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10bab48]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x10bab48]
mov dword [edx + 8], ecx
ret

Function at 0x1096780
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x10bab48]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x10bab48]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x1097b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x1097b9e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x1097b92
cmp dword [edi + 0x7c], ebx
je 0x1097bad
call fcn.01097f60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.010978f0
add esp, 0xc
test eax, eax
je 0x1097bd4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.010a1f46
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1097c12
push 0x4000
call fcn.010a1f46
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x1097c1f
push esi
call fcn.010a2010
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x1097c67
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.01096a40
test eax, eax
jne 0x1097c67
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x1097c8e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0x1097c94
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0x1097cd1
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0x1097cd1
call fcn.01096730
add ebp, 1
jne 0x1097cc0
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d20a
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d20a
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d20a
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d20a
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d20a
mov dword [0x41203c], eax
call fcn.0040d20a
test eax, eax
jge 0x402550
push 8
call fcn.0040d20a
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d20a
pop ecx
push 1
call fcn.0040d20a
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d20a
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d20a
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d20a
jmp 0x402495

Function at 0x40d20a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40d219
pop dword [ebp - 0x3c]
mov eax, 0x40d219
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x386a4
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x444a
xor edx, edx
add edx, eax
mov ebx, 0xcd34c148
sub ebx, 0xccf38584
add ebx, dword [ebp - 0x3c]
mov esi, 0x1a27bb05
sub esi, 0x766e3292
xor dword [ebp - 0x20], esi
mov edi, dword [ebx]
add edi, esi
sub dword [ebp - 0xc], edi
mov dword [edx], edi
sub dword [ebp - 0x1c], ebx
add edx, 0xe73bdf33
sub edx, 0xe73bdf2f
add ebx, 0x8e9e6909
sub ebx, 0x8e9e6905
loop 0x40d26a
add eax, 0x103fb
xor ebx, ebx
add ebx, eax
add eax, 0x4b60e181
add eax, 0xb49f1e84
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x405180
Capabilities:
Delete file
Enumerate gui resources
Get uefi variable
Manipulate console buffer

Disassembly:
shr edx, 3
sub esp, 0xe40
test edx, edx
je 0x40528f
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_FillConsoleOutputCharacterA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_WriteConsoleOutputCharacterA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x4051c0
cmp dword [0x47acdc], 0x5d
jne 0x40526c
push 0
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
call esi
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
push ecx
push ecx
push 0x401240
push ecx
mov dword [esp + 0x28], ecx
call edi
xor edx, edx
lea ecx, [esp + 0x28]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x2c], edx
call ebx
push 0
call ebp
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.DLL_GetConsoleAliasExesLengthW]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_BeginUpdateResourceA]
push 0
lea ecx, [esp + 0x654]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
lea edx, [esp + 0x254]
push edx
push 0x40124c
push 0x401274
call dword [sym.imp.KERNEL32.DLL_GetFirmwareEnvironmentVariableA]
lea eax, [esp + 0x30]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetCPInfoExW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_EnumResourceTypesA]
mov edx, dword [esp + 0xe54]
mov ecx, dword [esp + 0x10]
call fcn.00404f70
add dword [esp + 0x10], 8
dec dword [esp + 0x1c]
jne 0x4051c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe40
ret 4
Function at 0x4063c0
Capabilities:
Create directory

Disassembly:
sub esp, 0x800
cmp dword [0x47acdc], 0xc
push ebx
push esi
push edi
jne 0x406422
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x4012f0
push 0
call dword [sym.imp.KERNEL32.DLL_FoldStringW]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00406480
fstp st(0)
push 0
call fcn.00406fc8
push 0
call fcn.00406fde
push 0
push 0
call fcn.00406fa1
push 0
call fcn.00406fc8
add esp, 0x1c
mov ecx, dword [0x423124]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryExA]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesExA]
mov dword [0x47acdc], ecx
mov ebx, 0x1d72
nop
cmp dword [0x47acdc], 0x15
jne 0x40645c
push 0
push 0
push 0
call esi
lea edx, [esp + 0xc]
push edx
push 0
push 0
call edi
dec ebx
jne 0x406440
call fcn.004053b0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x800
ret 0x10

Function at 0x4092c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4234ec]
jne 0x4092cd
repz ret
jmp fcn.0040c9a0
Function at 0x40dc2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4234ec]
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.004092d2
and dword [ebp - 0x14], 0
cmp dword [0x4818dc], 0
mov dword [ebp - 0x18], eax
jne 0x40dcdf
push 0x404574
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40dd87
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x404568
push ebx
call edi
test eax, eax
je 0x40dd87
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x404558
push ebx
mov dword [0x4818dc], eax
call edi
push eax
call esi
push 0x404544
push ebx
mov dword [0x4818e0], eax
call edi
push eax
call esi
push 0x404528
push ebx
mov dword [0x4818e4], eax
call edi
push eax
call esi
mov dword [0x4818ec], eax
test eax, eax
je 0x40dcdf
push 0x404510
push ebx
call edi
push eax
call esi
mov dword [0x4818e8], eax
mov eax, dword [0x4818e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x40dd38
cmp dword [0x4818ec], ecx
je 0x40dd38
push eax
call esi
push dword [0x4818ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40dd38
test ebx, ebx
je 0x40dd38
call edi
test eax, eax
je 0x40dd2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40dd2f
test byte [ebp - 8], 1
jne 0x40dd38
or dword [ebp + 0x10], 0x200000
jmp 0x40dd6b
mov eax, dword [0x4818e0]
cmp eax, dword [ebp - 0x18]
je 0x40dd6b
push eax
call esi
test eax, eax
je 0x40dd6b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40dd6b
mov eax, dword [0x4818e4]
cmp eax, dword [ebp - 0x18]
je 0x40dd6b
push eax
call esi
test eax, eax
je 0x40dd6b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4818dc]
call esi
test eax, eax
je 0x40dd87
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40dd89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092c3
leave
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442030]
jne 0x401073
repz ret
jmp fcn.00402061

Function at 0x408d0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f5a
and dword [ebp - 4], 0
cmp dword [0x444b68], 0
mov ebx, eax
jne 0x408dbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408e6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408e6d
push eax
call fcn.00404ee8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444b68], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444b6c], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444b70], eax
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x444b78], eax
test eax, eax
je 0x408dbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x444b74], eax
mov eax, dword [0x444b74]
cmp eax, ebx
je 0x408e14
cmp dword [0x444b78], ebx
je 0x408e14
push eax
call fcn.00404f63
push dword [0x444b78]
mov esi, eax
call fcn.00404f63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408e14
test edi, edi
je 0x408e14
call esi
test eax, eax
je 0x408e0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408e0b
test byte [ebp - 0xc], 1
jne 0x408e14
or dword [ebp + 0x10], 0x200000
jmp 0x408e4d
mov eax, dword [0x444b6c]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408e4d
mov eax, dword [0x444b70]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444b68]
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408e6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
or ebp, 0xffffffff
jmp 0x494a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x494a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x494a38
mov eax, 1
add ebx, ebx
jne 0x494a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x494a50
jne 0x494a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x494a50
xor ecx, ecx
sub eax, 3
jb 0x494a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x494af2
mov ebp, eax
add ebx, ebx
jne 0x494a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x494a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x494abc
inc ecx
add ebx, ebx
jne 0x494aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x494a9d
jne 0x494ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x494a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x494adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x494acd
jmp 0x494a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x494adc
add edi, ecx
jmp 0x494a3e
pop esi
mov edi, esi
mov ecx, 0x85
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x494afa
cmp byte [edi], 2
jne 0x494afa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x494aff
lea edi, [esi + 0x92000]
mov eax, dword [edi]
or eax, eax
je 0x494b77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9ae64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9aea0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x494b2c
mov ecx, edi
jns 0x494b5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9aea8]
or eax, eax
je 0x494b71
mov dword [ebx], eax
add ebx, 4
jmp 0x494b49
call dword [esi + 0x9aea4]
mov ebp, dword [esi + 0x9aeac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x494bab
sub esp, 0xffffff80
jmp 0x401314
Function at 0x40265d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40269c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40269c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40269c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40269c
cmp dword [ecx + 0x74], 0xe
jbe 0x40269c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x460beb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x460bf9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x4c6489
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c6070

Function at 0x4c6494
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c61fa

Function at 0x4cbb6a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb522

Function at 0x4cbf04
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cbdd8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40ee5e
Capabilities:
Parse pe header

Disassembly:
push 0x14
push 0x431108
call fcn.00416c00
call fcn.004138ab
movzx esi, ax
push 2
call fcn.00416a29
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x40ed15
xor ebx, ebx
jmp 0x40ed48
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40ed11
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40ed11
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x40ed48
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.00416227
test eax, eax
jne 0x40ed5c
push 0x1c
call fcn.0040ee37
pop ecx
call int.00415e93
test eax, eax
jne 0x40ed6d
push 0x10
call fcn.0040ee37
pop ecx
call fcn.00416b12
and dword [ebp - 4], 0
call fcn.0041623c
test eax, eax
jns 0x40ed87
push 0x1b
call fcn.0040ee37
pop ecx
call dword [0x42805c]
mov dword [0x435dc8], eax
call fcn.00416b52
mov dword [0x433d5c], eax
call fcn.004164f0
test eax, eax
jns 0x40edad
push 8
call int.00415f70
pop ecx
call fcn.0041672d
test eax, eax
jns 0x40edbe
push 9
call int.00415f70
pop ecx
push 1
call fcn.00415faa
pop ecx
test eax, eax
je 0x40edd1
push eax
call int.00415f70
pop ecx
call fcn.00416baf
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x40edf3
push esi
call fcn.00416213
call fcn.00415f9b
jmp 0x40ee28
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00416c45
ret
call fcn.00416a76
jmp 0x40ece7

Function at 0x411114
Capabilities:
Encode data using xor

Disassembly:
sbb byte [esi + 0x22], ah
inc esi
mov dword [0x608c635f], eax
xchg ecx, eax
mov al, byte [0xbfce0334]
bound esp, qword [ebp + 0xb]
pop esp
xor al, 3
into
mov edi, 0x5c0b6562
jne 0x411067
test bh, al
xchg edx, eax
mov byte [edi], dl
jne 0x4110f3
invalid
scasd eax, dword es:[edi]
inc esi
cdq
out dx, al
out 0x7b, eax
xchg esi, eax
jb 0x41105c
sub eax, 0x378373c7
sbb ebp, eax
mov esp, 0x2bbbf186
nop
cmp ebp, dword [ebp + 0x7d]
xor dh, byte [ebp - 0x2dd7934c]
inc eax
inc esi
ret 0x9063
adc eax, 0x70b0820a
push edx
jo 0x41112e
js 0x41110a
jmp 0x41117b
inc ecx
pop ss
mov bl, 0xa8
mov ebp, 0xc9e48860
hlt
sub byte [0xdeade43b], 0x51
je 0x41114f
out 0xb0, eax
add ebx, dword [ebx + 0x61]
bound eax, qword [edi + 0x10]
dec esi
sbb dword [esi - 0x68], 0xffffffe5
jl 0x411131
ret 0x8a4a
dec edx
mov ch, byte [ecx - 0x6ed6d85]
jnp 0x4110c5
adc bh, cl
mov bl, 0xe3
or al, byte [esi - 0x29ef8977]
retf
mov word [ecx], ss
push ecx
adc byte [edx], ch
cwde
sbb byte [ebp - 0x70], ch
cmp al, 0
retf
in eax, dx
lodsb al, byte [esi]
bound edi, qword [edx - 0x35ef16be]
xor dword [0xc856df53], ebp
mov al, byte [0x8452dcf4]
out 0x34, al
shr byte [ebx], cl
xor cl, dl
fldcw word [edx + 0xb31dd8]
loope 0x4111fd
dec byte [esi + 0x70]
inc ecx
pop ds
mov byte [0x778b0a4], al
invalid