joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dbc9
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x40dbe9
jl 0x40dbe0
test ebx, ebx
jne 0x40dbe9
xor eax, eax
xor edx, edx
jmp 0x40dcac
cmp dword [ebp + 0x38], 0
je 0x40dbff
push esi
push ebx
push dword [esp + 0x18]
call fcn.00404d78
jmp 0x40dcac
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40dc43
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x40dc43
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.0040331d
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x40dc4b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x40dca2
mov ecx, ebp
call fcn.0040b2fc
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x40dc8d
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.004188cb
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x40dca2
jmp 0x40dc5e
test edx, edx
je 0x40dca2
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.004188cb
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x401f10
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414ee8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41cbc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0x4163a0
push eax
mov dword [ebp - 4], 0
call fcn.0040b233
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x401f91
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi]
add ecx, 4
push ecx
add ebx, esi
call fcn.0040b16c
mov edx, dword [esi + 0x44]
add edx, 4
push edx
mov edi, eax
push 0
push edi
call fcn.0040ae40
mov eax, dword [esi + 0x44]
push eax
push ebx
push edi
call fcn.0040b250
mov eax, dword [esi + 0x44]
shr eax, 2
add esp, 0x1c
inc eax
mov ecx, edi
je 0x401fdc
mov edi, edi
xor dword [ecx], 0x15032001
add ecx, 4
dec eax
jne 0x401fd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x44]
push ecx
push edx
push 1
push edi
call fcn.0040b0f2
push edi
mov ebx, eax
call fcn.0040a378
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040af27
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp ebx, dword [esi + 0x44]
mov dword [ebp - 4], 0xffffffff
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40202c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x407aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0040ae40
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.open
mov ecx, 1
sub ecx, dword [eax - 4]
add esp, 0xc
or ecx, dword [eax - 8]
jge 0x407ae0
push 0
mov ecx, esi
call fcn.00401340
mov edx, dword [esi]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x409480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40949b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4094d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4094ce
jmp 0x4094c0
cmp esi, eax
jae 0x4094d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4094c0
cmp esi, eax
jb 0x4094d9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x409b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00408d40
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [ebp - 8], 0xffffffff
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x409c5e
push 0xf0
push edi
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
test eax, eax
je 0x409bd4
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x409c3b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x409c3b
push edi
push ebx
call fcn.00409570
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov edi, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov esi, eax
test esi, esi
je 0x409c1e
cmp esi, 0xffffffff
jne 0x409c27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp edi, ebx
je 0x409c47
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x409c47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x409c55
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409f59
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x41db38], 0
push esi
push edi
jne 0x409ecf
call fcn.00409e3b
test eax, eax
je 0x409f14
mov eax, dword [0x41db38]
cmp eax, 1
jne 0x409ef0
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x409f14
jmp 0x409f56
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x409f56
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x409f18
xor eax, eax
jmp 0x409f56
mov eax, dword [esi]
push dword [0x41db38]
call edi
mov edi, eax
test edi, edi
je 0x409f3a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x409f56
lea edi, [esi + 0xff0]
push esi
push dword [0x41db38]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x409f40
mov eax, esi
pop edi
pop esi
ret
jmp 0x409ebb

Function at 0x40a889
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41cbc8]
jne 0x40a893
repz ret
jmp fcn.0040ca6b
Function at 0x41114f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41cbc8]
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.0040db04
and dword [ebp - 0x14], 0
cmp dword [0x41e850], 0
mov dword [ebp - 0x18], eax
jne 0x411202
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4112aa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4112aa
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4182ec
push ebx
mov dword [0x41e850], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41e854], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41e858], eax
call edi
push eax
call esi
mov dword [0x41e860], eax
test eax, eax
je 0x411202
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41e85c], eax
mov eax, dword [0x41e85c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41125b
cmp dword [0x41e860], ecx
je 0x41125b
push eax
call esi
push dword [0x41e860]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41125b
test ebx, ebx
je 0x41125b
call edi
test eax, eax
je 0x411252
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411252
test byte [ebp - 8], 1
jne 0x41125b
or dword [ebp + 0x10], 0x200000
jmp 0x41128e
mov eax, dword [0x41e854]
cmp eax, dword [ebp - 0x18]
je 0x41128e
push eax
call esi
test eax, eax
je 0x41128e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41128e
mov eax, dword [0x41e858]
cmp eax, dword [ebp - 0x18]
je 0x41128e
push eax
call esi
test eax, eax
je 0x41128e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41e850]
call esi
test eax, eax
je 0x4112aa
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4112ac
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a889
leave
ret
Function at 0x407c70
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4015e8
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea ecx, [ebp - 0x18]
xor eax, eax
push ecx
push 0x20006
push eax
lea edx, [ebp - 0x2c]
push 0x403718
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call edi
push eax
push 0x80000002
call fcn.00402ff0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x18]
push eax
push edx
call fcn.00403080
call esi
mov eax, dword [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004030b4
call esi
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x2c]
push edx
push 0x20006
push 0
push 0x40377c
push eax
call edi
push eax
push 0x80000002
call fcn.00402ff0
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push ecx
push edx
call edi
push eax
mov eax, dword [ebx]
push 1
push 0
lea ecx, [ebp - 0x2c]
push eax
push ecx
call edi
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.00403038
call esi
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
push eax
push ebx
call edi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call edi
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
call fcn.004030b4
call esi
push 0x407dd4
jmp 0x407dd3
ret
Function at 0x408908
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408923
or ebx, ebx
xor dword [ecx], esi
sub ebx, edi
inc ecx
sub edi, edi
dec edi
cmp ecx, edx
jne fcn.00408908
push edi
pop edi
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push ebx
push esi
sub eax, 0xa
mov dword [ebp - 8], ecx
movzx eax, ax
xor esi, esi
push edi
movzx edi, ax
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
call fcn.10008514
add esp, 4
mov dword [ebp + 0x14], eax
cmp word [ebp - 4], si
jbe 0x1000110a
call dword [0x100120bc]
push eax
call fcn.100084e5
mov esi, dword [ebp + 0x14]
mov ebx, edi
add esp, 4
mov edi, 0x5e
call fcn.100084c4
cdq
lea esi, [esi + 1]
idiv edi
add dl, 0x20
mov byte [esi - 1], dl
sub ebx, 1
jne 0x10001052
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push edi
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov word [esi + 8], ax
lea eax, [esi + 0xa]
push eax
mov dword [ebp + 0x10], eax
call fcn.10007f50
mov ebx, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x100010c4
add esi, edi
mov eax, ecx
cdq
idiv edi
mov eax, dword [ebp + 0x14]
mov dl, byte [edx + eax]
mov eax, dword [ebp + 8]
mov al, byte [ecx + eax]
test al, al
je 0x100010bb
cmp al, dl
je 0x100010bb
xor al, dl
mov byte [esi + ecx + 0xa], al
inc ecx
cmp ecx, ebx
jl 0x100010a0
xor esi, esi
mov dword [ebp - 0x18], 0x37313826
mov dword [ebp - 0x14], 0x2f414030
mov word [ebp - 0x10], 0x3e63
test edi, edi
je 0x10001102
nop
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp + eax - 0x18]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x100010e0
mov eax, dword [ebp + 0x14]
mov esi, 1
push eax
call fcn.100084f7
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100015a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x22a]
push 0x1ea
mov edx, 0x5c
mov dword [ebp - 0x248], 0x3a0043
push 0
push eax
mov dword [ebp - 0x244], 0x50005c
mov dword [ebp - 0x240], 0x6f0072
mov dword [ebp - 0x23c], 0x720067
mov dword [ebp - 0x238], 0x6d0061
mov dword [ebp - 0x234], 0x610044
mov dword [ebp - 0x230], 0x610074
mov word [ebp - 0x22c], dx
call fcn.10006250
mov esi, dword [0x1001201c]
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x6f0043
mov dword [ebp - 0x10], 0x6d006d
mov dword [ebp - 0xc], 0x5c0073
push eax
lea eax, [ebp - 0x248]
push eax
call esi
xor eax, eax
mov dword [ebp - 0x40], 0x69004d
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x3c], 0x720063
push eax
mov dword [ebp - 0x38], 0x73006f
mov dword [ebp - 0x34], 0x66006f
mov dword [ebp - 0x30], 0x5c0074
call esi
xor eax, eax
mov dword [ebp - 0x28], 0x690057
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x24], 0x64006e
push eax
mov dword [ebp - 0x20], 0x77006f
mov dword [ebp - 0x1c], 0x5c0073
call esi
lea eax, [ebp - 0x248]
push eax
push edi
call dword [0x10012020]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004cce
mov esp, ebp
pop ebp
ret 4
Function at 0x10001b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001140b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10006250
push 0x208
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.10006250
mov esi, dword [0x10012030]
lea eax, [ebp - 0x1c]
add esp, 0x18
mov dword [ebp - 0x1c], 0x696b6447
mov dword [ebp - 0x18], 0x694e676e
mov dword [ebp - 0x14], 0x746867
push eax
lea eax, [ebp - 0x22c]
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x128]
push eax
call esi
mov byte [ebp - 0x128], 0x4d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
push 1
xor esi, esi
push esi
call dword [0x10012024]
mov ebx, dword [0x10012028]
mov edi, eax
test edi, edi
je 0x10001c3c
call dword [0x1001202c]
cmp eax, 0xb7
mov ecx, 1
push edi
cmove esi, ecx
call ebx
push edi
mov edi, dword [0x10012034]
call edi
mov eax, dword [ebp - 0x20]
test esi, esi
jne 0x10001cf4
test eax, eax
je 0x10001c5c
push eax
call ebx
push dword [ebp - 0x20]
call edi
lea eax, [ebp - 0x128]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0
call dword [0x10012024]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10001cc7
mov esi, dword [0x10012048]
push 0
push 0
push 0
push 0x10001b50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10001910
push 0
push 0
mov dword [ebp - 0x230], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x230]
cmp eax, 0xffffffff
je 0x10001cbb
cmp ecx, 0xffffffff
jne 0x10001d35
push 0
push eax
call dword [0x10012040]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10001cd9
push ecx
call ebx
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x10001ced
push eax
call ebx
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10001cf7
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10001d06
push ecx
call ebx
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x10001d19
push eax
call ebx
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004cce
mov esp, ebp
pop ebp
ret
call fcn.10002210
int3
Function at 0x10001d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40ac
call fcn.10011080
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x40ac]
mov dword [ebp - 0xa8], 0x4f0053
push eax
push 2
xor edi, edi
mov dword [ebp - 0xa4], 0x540046
push edi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa0], 0x410057
push eax
push 0x80000001
mov dword [ebp - 0x9c], 0x450052
mov dword [ebp - 0x98], 0x4d005c
mov dword [ebp - 0x94], 0x630069
mov dword [ebp - 0x90], 0x6f0072
mov dword [ebp - 0x8c], 0x6f0073
mov dword [ebp - 0x88], 0x740066
mov dword [ebp - 0x84], 0x57005c
mov dword [ebp - 0x80], 0x6e0069
mov dword [ebp - 0x7c], 0x6f0064
mov dword [ebp - 0x78], 0x730077
mov dword [ebp - 0x74], 0x43005c
mov dword [ebp - 0x70], 0x720075
mov dword [ebp - 0x6c], 0x650072
mov dword [ebp - 0x68], 0x74006e
mov dword [ebp - 0x64], 0x650056
mov dword [ebp - 0x60], 0x730072
mov dword [ebp - 0x5c], 0x6f0069
mov dword [ebp - 0x58], 0x5c006e
mov dword [ebp - 0x54], 0x750052
mov dword [ebp - 0x50], 0x6e
call dword [0x10012004]
test eax, eax
jne 0x10001f89
push 0x2000
push eax
mov dword [ebp - 0x14], eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x40a8]
push eax
mov dword [ebp - 0x24], 0x690057
mov dword [ebp - 0x20], 0x42006e
mov dword [ebp - 0x1c], 0x6f006f
mov dword [ebp - 0x18], 0x74
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x40a8]
push eax
call fcn.100015a0
mov esi, dword [0x1001201c]
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40a8]
mov dword [ebp - 0x34], 0x740053
push eax
mov dword [ebp - 0x30], 0x720061
mov dword [ebp - 0x2c], 0x5c0074
call esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40a8]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40a8]
push eax
call esi
push 0x2000
lea eax, [ebp - 0x20a8]
push edi
push eax
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x20a8]
push 0x10016c18
push eax
call dword [0x10012020]
lea eax, [ebp - 0x40a8]
push eax
lea eax, [ebp - 0x20a8]
push eax
call esi
push 0x10016c1c
lea eax, [ebp - 0x20a8]
push eax
call esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x62002f
push eax
lea eax, [ebp - 0x20a8]
mov dword [ebp - 0x48], 0x630061
push eax
mov dword [ebp - 0x44], 0x67006b
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x6e0075
mov dword [ebp - 0x38], 0x64
call esi
lea eax, [ebp - 0x20a8]
push eax
call dword [0x10012064]
add eax, eax
push eax
lea eax, [ebp - 0x20a8]
push eax
push 1
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40ac]
call dword [str.anner_aO]
test eax, eax
mov ecx, 1
cmove edi, ecx
push dword [ebp - 0x40ac]
call dword [0x10012008]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004cce
mov esp, ebp
pop ebp
ret
Function at 0x64002970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6401c014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x6401cf28]
push edi
xor edi, edi
test esi, esi
jne 0x64002a70
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push str._sdriversetchosts
push edx
call fcn.64004b03
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea esi, [ebp - 0x210]
call fcn.64002550
test eax, eax
jne 0x64002ab0
mov esi, dword [ebp - 0x210]
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
jne 0x64002a2b
mov edi, dword [ebp - 0x210]
call fcn.64001930
test eax, eax
je 0x64002a13
mov ecx, dword [0x6401cf28]
mov dword [edi + 0x10], ecx
mov dword [0x6401cf28], edi
jmp 0x64002a1a
mov eax, edi
call fcn.64001a60
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
je 0x640029f3
mov eax, dword [esi + 4]
test eax, eax
je 0x64002a42
push eax
call fcn.64003b3b
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x64002a59
push eax
call fcn.640041a3
add esp, 4
mov dword [esi + 8], 0
push esi
call fcn.64003b3b
mov esi, dword [0x6401cf28]
add esp, 4
test esi, esi
je 0x64002a85
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.64001990
test eax, eax
jne 0x64002a99
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x64002a70
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4

Function at 0x64003b2c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6401c014]
jne 0x64003b36
repz ret
jmp fcn.64006f23

Function at 0x6400ab64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x6400ab86
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.6400a898
hlt