joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4106b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_AfxVariantInit
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push edi
push str.SELECT__FROM_dmwh_tab_WHERE_dmbmc_s
push ecx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0x4c0]
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ecx]
push ebx
push eax
push 0xffffffffffffffff
call dword [edx + 0x1c]
mov ecx, dword [esi + 0x4c0]
call sub.MFC42.DLL_CDaoRecordset::IsEOF
cmp eax, ebx
jne 0x40aa85
mov ecx, dword [esi + 0x4c0]
lea eax, [ebp - 0x30]
push eax
push str.zhggsj
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040f528
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::TrimLeft
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40aa85
mov dword [ebp - 0x1c], 1
mov ecx, dword [esi + 0x4c0]
mov edx, dword [ecx]
call dword [edx + 0x20]
jmp 0x40aa9e
push edi
lea eax, [ebp - 0x14]
push str.DELETE_FROM_dmwh_tab_WHERE_dmbmc_s
push eax
mov dword [ebp - 4], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 0x80
push ecx
mov ecx, dword [esi + 0x4c8]
call sub.MFC42.DLL_CDaoDatabase::Execute
push edi
lea ecx, [ebp - 0x18]
call fcn.0040f528
lea edx, [ebp + 8]
push 2
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x416ad8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp + 8]
test eax, eax
sete bl
call fcn.0040f504
test bl, bl
je 0x40ab14
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
push edi
push str.INSERT_INTO_dmwh_tab__dmbmc_zhggsj_fsbz_VALUES__s__s_1_
push ecx
jmp 0x40ab22
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edx
push edi
push str.INSERT_INTO_dmwh_tab__dmbmc_zhggsj_VALUES__s__s_
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push 0x80
push ecx
mov ecx, dword [esi + 0x4c8]
call sub.MFC42.DLL_CDaoDatabase::Execute
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040f504
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f504
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40dc20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x410d13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CSocket::CSocket
lea edi, [esi + 0x30]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0040bb90
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x412c3c
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x14], ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40dcb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x410d33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x412c3c
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], 1
test eax, eax
mov dword [esi + 0x1c], 0
je 0x40dcf1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x30]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0040bbd0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0040f864
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40e120
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jle 0x40e13e
mov ecx, dword [esp + 4]
push ebx
mov bl, byte [eax + ecx]
xor bl, 0x18
mov byte [eax + ecx], bl
inc eax
cmp eax, edx
jl 0x40e12f
pop ebx
ret 8
Function at 0x40e430
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410d93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x18]
push str.SELECT_send_flag_FROM_jb_tab_WHERE_rzsj____s_AND_rzsj____s
push edx
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x68]
add esp, 0x10
mov bl, 1
lea ecx, [ebp - 0xb0]
push eax
mov byte [ebp - 4], bl
call fcn.0040f654
mov ecx, dword [ebp - 0x18]
push edi
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CDaoRecordset::Open
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::GetRecordCount
cmp eax, edi
jle 0x40e511
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::MoveFirst
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::IsEOF
cmp eax, edi
jne 0x40e520
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
inc eax
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CDaoRecordset::Edit
push 0x416268
push 0x416798
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::SetFieldValue
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::Update
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::MoveNext
jmp 0x40e4c3
push edi
push edi
push 0x4174a4
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CDaoRecordset::Close
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CDaoRecordset::CDaoRecordset
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f504
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401650
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0x208
call fcn.00402e45
xor ebx, ebx
push 0x208
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x5a], bx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x58], bx
call fcn.00402e45
add esp, 8
mov esi, eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._arp.exe
push 0x104
push esi
mov byte [0x433d55], 1
call fcn.004104ac
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.__d_
push esi
call edi
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edx
call ebp
push 0x208
call fcn.00402e45
add esp, 4
mov esi, eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._nbtstat.exe
push 0x104
push esi
call fcn.004104ac
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push 0x42a240
push esi
call edi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call ebp
push 0x208
call fcn.00402e45
add esp, 4
mov esi, eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.ipconfig.exe
push 0x104
push esi
call fcn.004104ac
add esp, 0xc
cmp dword [0x433d60], ebx
jne 0x4017c8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.__flushdns
push esi
call edi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.__release
push esi
call edi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.__renew
push esi
call edi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.__registerdns
push esi
call edi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
mov esi, eax
call ebp
pop edi
mov eax, esi
mov byte [0x433d55], bl
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401960
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x433d5c]
test eax, eax
jne 0x4019f7
push eax
push eax
mov eax, dword [esi + 0x450]
push 0x147
push eax
mov byte [0x433d54], 1
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x4019af
sub eax, 1
je 0x4019a3
sub eax, 1
jne 0x4019b9
mov dword [0x433d58], 2
jmp 0x4019b9
mov dword [0x433d58], 1
jmp 0x4019b9
mov dword [0x433d58], 0
push 0x42a2bc
push 0x3f0
mov ecx, esi
call fcn.0040be02
mov ecx, dword [esi + 0x20]
push 0
push 0xfa
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0
push 0x401830
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x433d5c], eax
xor edx, edx
test eax, eax
setne dl
mov eax, edx
ret

Function at 0x401b70
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x401bd6
or eax, 0xffffffff
pop esi
add esp, 0x18
ret
push 0x384
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
or esi, 4
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
pop esi
add esp, 0x18
ret

Function at 0x40b413
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40b456
call fcn.0040c987
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b456
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40b471
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040afcd
test ebx, ebx
mov esi, eax
je 0x40b46f
test edi, edi
je 0x40b46f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40d72a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40d758
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40d776
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040d694
jmp 0x40d776
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40d776
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040d694
test edi, edi
mov eax, edi
jne 0x40d760
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x432e44]
test ecx, ecx
je 0x40d839
jmp 0x40d729
ret 8
Function at 0x41032e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fd58]
jne 0x410338
repz ret
jmp fcn.00414efa

Function at 0x41b9af
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004148e1
xor ebx, ebx
cmp dword [0x433c1c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41ba84
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41b9ef
xor eax, eax
jmp 0x41bb48
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x428b98
push edi
call esi
cmp eax, ebx
je 0x41b9e8
push eax
call fcn.0041487e
mov dword [esp], 0x428b88
push edi
mov dword [0x433c1c], eax
call esi
push eax
call fcn.0041487e
mov dword [esp], 0x428b74
push edi
mov dword [0x433c20], eax
call esi
push eax
call fcn.0041487e
mov dword [0x433c24], eax
lea eax, [ebp - 8]
push eax
call fcn.00411263
test eax, eax
pop ecx
pop ecx
je 0x41ba52
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415232
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41ba84
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041487e
cmp eax, ebx
pop ecx
mov dword [0x433c2c], eax
je 0x41ba84
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041487e
pop ecx
mov dword [0x433c28], eax
mov eax, dword [0x433c28]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41bafd
cmp dword [0x433c2c], esi
je 0x41bafd
push eax
call fcn.004148ea
pop ecx
call eax
cmp eax, ebx
je 0x41baca
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x433c2c]
call fcn.004148ea
pop ecx
call eax
test eax, eax
je 0x41baca
test byte [ebp - 0x18], 1
jne 0x41bafd
lea eax, [ebp - 0xc]
push eax
call fcn.0041129a
test eax, eax
pop ecx
je 0x41bae5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415232
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41baf4
or dword [ebp + 0x10], 0x200000
jmp 0x41bb2e
or dword [ebp + 0x10], 0x40000
jmp 0x41bb2e
mov eax, dword [0x433c20]
cmp eax, esi
je 0x41bb2e
push eax
call fcn.004148ea
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41bb2e
mov eax, dword [0x433c24]
cmp eax, esi
je 0x41bb2e
push dword [ebp - 4]
push eax
call fcn.004148ea
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x433c1c]
call fcn.004148ea
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4247be
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42fd58]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00424753
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00411660
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42480d
cmp dword [ebp - 0x1c], 5
jb 0x424825
jmp 0x424821
cmp dword [ebp - 0x10], 1
jne 0x424825
cmp dword [ebp - 0x1c], 4
ja 0x424821
jne 0x424825
cmp dword [ebp - 0x18], 0
jbe 0x424825
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x429e50
call fcn.00424627
test eax, eax
jge 0x424846
mov byte [0x433e28], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041032e
add ebp, 0x78
leave
ret
Function at 0x10008f00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10080510
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.100097d0
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009123
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10009116
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d70
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d70
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d70
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008d70
add esp, 0x20
cmp byte [0x100b9ed8], 0
jne 0x100090d9
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10009052
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x100090d9
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b9ad7], al
test al, al
jne 0x10009060
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b92d7], al
test al, al
jne 0x10009080
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b9ed7], al
test al, al
jne 0x100090a0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b96d7], al
test al, al
jne 0x100090c0
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1000911c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1007f179
mov esp, ebp
pop ebp
ret
Function at 0x1000a200
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000a281
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [esi]
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
push 4
push esi
call edi
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x1000a250
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0xcc]
push 0
push dword [ebp - 0xd0]
mov dword [esi], eax
push 4
push esi
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007f179
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000a2e7
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x1000a2c4
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f179
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1007f179
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100805bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x100b88c8], 0x10
mov eax, 0x100b88b4
cmovae eax, dword [0x100b88b4]
cmp byte [eax], 0
je 0x1000a41a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x1000a41a
cmp dword [0x100b850c], 0x10
mov eax, 0x100b84f8
cmovae eax, dword [0x100b84f8]
cmp byte [eax], 0
je 0x1000a41a
mov esi, 0x100bed10
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x1000a376
mov edx, 0x100bace8
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1000a390
mov ecx, dword [0x100bf5c8]
mov edx, 0x100b88b4
cmp dword [0x100b88c8], 0x10
push 0x100bed10
cmovae edx, dword [0x100b88b4]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x1000a41a
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100a4bc0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x1000a3ed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x1000a3d0
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x100ba6f0]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x100ba6f0]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100805ed
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000a470
sub esi, ecx
push esi
call fcn.1007faad
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x1000a49b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x1000a490
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000a4d1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a4c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a4c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007fa9f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1000b5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
js 0x1000b5e7
nop
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jle 0x1000b5d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007f179
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ebx, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [edi], ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.1007f179
mov esp, ebp
pop ebp
ret 8