joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a8b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add ecx, edi
mov ebp, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x41a90a
mov ecx, dword [ecx + esi*4]
add ecx, edi
call fcn.0041a870
cmp eax, dword [esp + 0x10]
je 0x41a914
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x14]
jb 0x41a8ef
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [ebp + esi*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x41a90c

Function at 0x41daa7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41dac9
xor eax, eax
jmp UuidCreateSequential
add edx, 0xfffffffc
add edx, eax
mov dword [ebp - 8], edx
push edi
lea edi, [ebx + eax]
cmp edi, edx
jae 0x41dae9
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41dae6
inc edi
cmp edi, edx
jb 0x41dad9
mov eax, dword [ebp - 4]
mov ecx, edi
sub ecx, ebx
mov ebx, edi
sub ecx, eax
sub ebx, eax
cmp edi, edx
jae 0x41dbb5
cmp ecx, 2
jbe 0x41db74
xor esi, esi
movzx edx, byte [edi + 4]
lea eax, [edx + 1]
test al, 0xfe
jne 0x41dba4
movzx eax, byte [edi + 3]
add ebx, 5
shl edx, 8
or edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
sub edx, ebx
test esi, esi
je 0x41db54
and esi, 6
mov eax, edx
shl esi, 2
mov ecx, esi
shr eax, cl
inc eax
test al, 0xfe
jne 0x41db52
mov eax, 0x100
shl eax, cl
dec eax
xor edx, eax
sub edx, ebx
xor esi, esi
mov eax, edx
mov byte [edi + 1], dl
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
and dl, 1
neg dl
mov byte [edi + 3], al
mov byte [edi + 4], dl
jmp 0x41dbaa
shr esi, cl
test esi, esi
je 0x41db02
cmp esi, 4
ja 0x41db99
cmp esi, 3
je 0x41db99
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edi + 1]
inc eax
test al, 0xfe
jne 0x41db02
mov eax, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x41dad2
or esi, 8
shr esi, 1
inc ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x41dad2
push 2
shr esi, cl
pop eax
cmp eax, ecx
mov eax, dword [ebp + 0xc]
pop edi
sbb ecx, ecx
not ecx
and ecx, esi
mov dword [eax], ecx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0xdd013c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
ret
mov dword [ebp - 8], eax
jmp 0x10f81f7
ja 0x10f8a76
mov eax, esi
cmc
sub eax, dword [edx + ecx + 0x10]
jmp 0x8f9778
je 0x100783c
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0x1007836
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x108fbf5
js 0x10f81f7
jmp 0x10916ce
je 0x100783c
mov eax, dword [eax + ecx + 0x7c]
push ebx
push edi
cmc
stc
clc
mov dword [ebp - 0x10], eax
cmp edx, 0x2e0a6da1
jmp 0xff3b00
mov dword [ebp - 0xc], eax
jmp 0x93e126
dec edi
jmp 0x94f960
push ebp
mov ebp, esp
clc
mov ecx, dword [ebp + 8]
sub esp, 0x114
clc
push esi
clc
test ecx, ecx
jmp 0xdde412
je 0x100783c
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x91bd13
mov dword [ebp - 8], 0xffffffff
cmp ax, dx
clc
cmp esi, 0xffff
jmp 0x90b70a
je 0x9300f0
sub eax, eax
cmove si, bp
bswap esi
pop esi
jmp 0x10e0cc9
jne 0x100783c
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
test edx, edx
jmp 0x9479c0
mov esp, ebp
pop ebp
jmp 0x8ec2bb
mov edi, dword [edx + ecx + 0x18]
test eax, esi
test edi, edi
je 0x10f81f7
mov eax, dword [edx + ecx + 0x20]
lea eax, [eax + ecx]
sub ebx, ebx
jmp 0x96ce48
Function at 0x401970
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x417fcc
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4219cc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push connect
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b1a
mov eax, dword [esp + 0x14]
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
push edi
lea edx, [esp + 0x40]
push edx
push edi
push edi
push edi
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x401a0e
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401b1a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
cmp dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 1
jbe 0x401b13
mov ecx, dword [esp + 0x14]
push edi
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push ebp
mov esi, 0x100
push ecx
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x401b13
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x20019
push edi
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b44
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
push str.DisplayName
push edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call ebx
cmp esi, edi
mov dword [esp + 0x20], edi
jne 0x401b06
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x238], edi
call dword [sym.imp.MFC80.DLL_Ordinal_4081]
push edi
push str.chrome
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
test eax, eax
jge 0x401b4b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x238], 0xffffffff
call dword [sym.imp.MFC80.DLL_Ordinal_578]
add ebp, 1
cmp ebp, dword [esp + 0x24]
jb 0x401a2c
mov edx, dword [esp + 0x14]
push edx
call ebx
xor al, al
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00417312
add esp, 0x228
ret
mov eax, dword [esp + 0x14]
push eax
jmp 0x401b18
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov al, 1
jmp 0x401b1c
Function at 0x402570
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00401950
mov byte [esi], 0x80
pop esi
ret
Function at 0x403680
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4181f9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x24]
lea edi, [esi + 0x40]
push eax
mov ecx, edi
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80.DLL_Ordinal_781]
fld dword [esp + 0x28]
fst dword [esi + 0x44]
mov cl, byte [esp + 0x30]
fmul qword [0x41bcd0]
mov dl, byte [esp + 0x34]
mov al, byte [esp + 0x38]
mov bl, byte [esp + 0x2c]
fdiv qword [0x41bcc8]
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], cl
mov byte [esi + 0x4a], dl
mov byte [esi + 0x4b], al
call fcn.00417510
neg bl
mov ebp, eax
sbb ebx, ebx
and ebx, 0x12c
add ebx, 0x190
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x4c]
mov ecx, ebx
call sub.MFC80.DLL_Ordinal_1934
mov ecx, edi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
xor ecx, ecx
cmp byte [esi + 0x4b], cl
push 0
setne cl
push 0
xor edx, edx
cmp byte [esi + 0x4a], dl
push 0
push 0
setne dl
xor eax, eax
cmp byte [esi + 0x49], al
push 1
push ecx
mov ecx, dword [esp + 0x48]
setne al
push edx
push eax
push ecx
push 0
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, ebx
call sub.MFC80.DLL_Ordinal_1280
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
Function at 0x405250
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x418402
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.HControl.0
call dword [sym.imp.MFC80.DLL_Ordinal_310]
xor ebx, ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x34], ebx
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edi, [esi + 0x40]
mov ecx, edi
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ebp, [esi + 0x4c]
mov dword [ebp + 4], ebx
mov dword [ebp], vtable.CFont.0
lea ecx, [esi + 0x5c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esi + 0x60]
call fcn.00403c40
push 0x41ba68
mov ecx, edi
mov byte [esp + 0x38], 6
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], 0xffffff
mov dword [esi + 0x30], ebx
mov byte [esi + 9], 1
call dword [sym.imp.MFC80.DLL_Ordinal_784]
fld dword [0x41bd58]
mov ecx, edi
fstp dword [esi + 0x44]
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x4b], bl
call dword [sym.imp.MFC80.DLL_Ordinal_876]
fld dword [esi + 0x44]
fmul qword [0x41bd50]
cmp byte [esi + 0x4b], bl
fld qword [0x41bcc8]
mov edi, eax
mov al, byte [esi + 0x48]
fdiv st(1), st(0)
setne byte [esp + 0x14]
cmp byte [esi + 0x4a], bl
setne byte [esp + 0x18]
cmp byte [esi + 0x49], bl
setne byte [esp + 0x1c]
neg al
sbb eax, eax
and eax, 0x12c
add eax, 0x190
mov dword [esp + 0x20], eax
fxch st(1)
call fcn.00417510
fld dword [esi + 0x44]
fmul qword [0x41bcd0]
mov dword [esp + 0x24], eax
fdivrp st(1)
call fcn.00417510
movzx ecx, byte [esp + 0x14]
movzx edx, byte [esp + 0x18]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
movzx ecx, byte [esp + 0x38]
push edx
push ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, ebp
call sub.MFC80.DLL_Ordinal_1280
mov dword [esi + 0x54], ebx
mov dword [esi + 0x24], 2
mov dword [esi + 0x34], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x38], ebx
mov byte [esi + 8], bl
mov dword [esi + 0x3c], 0xff000000
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x406030
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4185a3
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4219cc]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, dword [esp + 0x148]
push 0x104
lea eax, [esp + 0x34]
xor esi, esi
push eax
push esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
cmp ebp, esi
je 0x40615d
push ebp
push 2
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
push eax
lea ecx, [esp + 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0x41bea4
push ebx
call sub.VERSION.dll_VerQueryValueA
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x1c]
mov cx, word [eax + 0x16]
mov dx, word [eax + 0x14]
mov bx, word [eax + 0x12]
mov bp, word [eax + 0x10]
mov word [esp + 0x2c], cx
mov ecx, edi
mov word [esp + 0x2e], dx
call dword [sym.imp.MFC80.DLL_Ordinal_310]
movzx eax, word [esp + 0x2e]
movzx ecx, word [esp + 0x2c]
push eax
push ecx
movzx edx, bp
push edx
movzx eax, bx
push eax
push str._d._d._d._d
push edi
mov dword [esp + 0x158], 0
mov dword [esp + 0x2c], 1
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00417312
add esp, 0x130
ret
Function at 0x406190
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4185eb
mov eax, dword fs:[0]
push eax
mov eax, 0x286c
call fcn.004175c0
mov eax, dword [0x4219cc]
xor eax, esp
mov dword [esp + 0x2868], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x2880]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2894]
mov ebp, dword [esp + 0x2890]
xor esi, esi
push esi
push 4
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [esp + 0x7c]
push ebp
push 4
lea edx, [esp + 0x84]
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
cmp edi, esi
jle 0x4062af
lea ecx, [esp + 0x14]
call fcn.00416800
lea ecx, [esp + 0x14]
mov dword [esp + 0x2888], esi
call fcn.00416830
lea ecx, [esp + 0x14]
call fcn.004168c0
mov eax, edi
sub eax, esi
cmp eax, 0x2800
jle 0x406245
mov eax, 0x2800
mov ecx, dword [esp + 0x2894]
push 0
push eax
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
push ebp
mov ebx, eax
push ebx
lea edx, [esp + 0x84]
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esi, ebx
mov eax, esi
imul eax, eax, 0x64
cdq
idiv edi
add esp, 0x10
lea ecx, [esp + 0x14]
push eax
call fcn.00416940
call fcn.00401c40
cmp esi, edi
jl 0x406235
lea ecx, [esp + 0x14]
call fcn.004168e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2888], 0xffffffff
call fcn.00416820
mov ecx, dword [esp + 0x2880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2868]
xor ecx, esp
call fcn.00417312
add esp, 0x2878
ret
Function at 0x4065a0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4186a9
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call sub.MFC80.DLL_Ordinal_1084
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x44]
push 0x41beac
push 0xb9
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x406694
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406694
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x406694
push ebp
call sub.MFC80.DLL_Ordinal_265
add esp, 4
test ebp, ebp
mov esi, eax
jbe 0x406642
mov ecx, edi
sub ecx, esi
mov edi, ebp
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor dl, 0xa5
not dl
mov byte [eax], dl
add eax, 1
sub edi, 1
jne 0x406630
push 0x41bea8
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov edi, eax
push edi
push ebp
push 1
push esi
call dword [sym.imp.MSVCR80.dll_fwrite]
push edi
call dword [sym.imp.MSVCR80.dll_fclose]
push esi
call sub.MFC80.DLL_Ordinal_266
add esp, 0x20
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x40f360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x419500
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.HonicMain.0
lea ecx, [esi + 0xcb4]
mov dword [esp + 0x14], 0x24
call fcn.0040aba0
lea ecx, [esi + 0xca8]
mov byte [esp + 0x14], 0x23
call fcn.0040f0d0
lea ecx, [esi + 0xc9c]
mov byte [esp + 0x14], 0x22
call fcn.00408dc0
lea ecx, [esi + 0xc90]
mov byte [esp + 0x14], 0x21
call fcn.0040a8e0
lea ecx, [esi + 0xc84]
mov byte [esp + 0x14], 0x20
call fcn.00408dc0
lea ecx, [esi + 0xc78]
mov byte [esp + 0x14], 0x1f
call fcn.00408dc0
lea ecx, [esi + 0xc6c]
mov byte [esp + 0x14], 0x1e
call fcn.00408dc0
lea ecx, [esi + 0xc60]
mov byte [esp + 0x14], 0x1d
call fcn.00408dc0
lea ecx, [esi + 0xc54]
mov byte [esp + 0x14], 0x1c
call fcn.00408dc0
lea ecx, [esi + 0xc48]
mov byte [esp + 0x14], 0x1b
call fcn.00408dc0
lea ecx, [esi + 0xc3c]
mov byte [esp + 0x14], 0x1a
call fcn.00408dc0
lea ecx, [esi + 0xc30]
mov byte [esp + 0x14], 0x19
call fcn.00408dc0
lea ecx, [esi + 0xc24]
mov byte [esp + 0x14], 0x18
call fcn.00408dc0
lea ecx, [esi + 0xba8]
mov byte [esp + 0x14], 0x17
call fcn.00409230
mov byte [esp + 0x14], 0x16
lea ecx, [esi + 0xb3c]
call fcn.004053e0
lea ecx, [esi + 0xad0]
mov byte [esp + 0x14], 0x15
call fcn.004053e0
lea ecx, [esi + 0xa54]
mov byte [esp + 0x14], 0x14
call fcn.00409230
lea ecx, [esi + 0x9d0]
mov byte [esp + 0x14], 0x13
call fcn.004053e0
lea ecx, [esi + 0x954]
mov byte [esp + 0x14], 0x12
call fcn.00409230
lea ecx, [esi + 0x8e8]
mov byte [esp + 0x14], 0x11
call fcn.004053e0
lea ecx, [esi + 0x87c]
mov byte [esp + 0x14], 0x10
call fcn.004053e0
lea ecx, [esi + 0x810]
mov byte [esp + 0x14], 0xf
call fcn.004053e0
lea ecx, [esi + 0x794]
mov byte [esp + 0x14], 0xe
call fcn.00409230
lea ecx, [esi + 0x728]
mov byte [esp + 0x14], 0xd
call fcn.004053e0
lea ecx, [esi + 0x6bc]
mov byte [esp + 0x14], 0xc
call fcn.004053e0
lea ecx, [esi + 0x650]
mov byte [esp + 0x14], 0xb
call fcn.004053e0
lea ecx, [esi + 0x5e4]
mov byte [esp + 0x14], 0xa
call fcn.004053e0
lea ecx, [esi + 0x578]
mov byte [esp + 0x14], 9
call fcn.004053e0
lea ecx, [esi + 0x50c]
mov byte [esp + 0x14], 8
call fcn.004053e0
lea ecx, [esi + 0x4a0]
mov byte [esp + 0x14], 7
call fcn.004053e0
lea ecx, [esi + 0x434]
mov byte [esp + 0x14], 6
call fcn.004053e0
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x14], 5
call fcn.004053e0
lea ecx, [esi + 0x35c]
mov byte [esp + 0x14], 4
call fcn.004053e0
lea ecx, [esi + 0x2f0]
mov byte [esp + 0x14], 3
call fcn.004053e0
lea ecx, [esi + 0x284]
mov byte [esp + 0x14], 2
call fcn.004053e0
lea ecx, [esi + 0x218]
mov byte [esp + 0x14], 1
call fcn.004053e0
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x14], 0
call fcn.004053e0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00410e80
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x417312
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4219cc]
jne 0x41731c
repz ret
jmp fcn.004179e3
Function at 0x1002f270
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 0x1002f2ae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002f2a6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002f2b0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002f296
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002f380
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1002f3b1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1002f3b1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1002f3b1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10036265
Capabilities:
Encode data using xor

Disassembly:
call 0x100361de
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 0x1003620e
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 0x1003622a
xor edx, 0
jmp 0x10036235
xor edx, edx
jmp 0x1003624c
jmp 0x10036258
xor eax, eax
push 0x8427d7c0
call 0x10036265
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100362a1
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 0x1003627a
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 0x100362b8
add eax, 0
jno 0x100362bd
add esi, 0
ret 0x10
Function at 0x10037026
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 0x10037048
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 0x100371ea
cmp edi, dword [ebp + 0x10]
jb 0x100371ea
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.10036b12
inc edi
jmp 0x100370d1
jmp 0x100370de
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036b12
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036b12
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 0x10037132
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 0x10037116
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10037160
add dword [eax], 0x39
jle 0x1003713c
sub al, 0xf5
mov ch, al
call fcn.10037175
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10038e4d
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 0x10038e63
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 0x10038e74
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10038eb5
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