joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019ed3
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0xac], 0
jne 0x10019ee8
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0xac]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0xac]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4

Function at 0x10019fb0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x10019fe0
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 9
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 5
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
ret
Function at 0x1001c8b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x104], 0
push edi
jne 0x1001c8f9
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x1001c9c0
push 0
push 0
mov byte [esi + 0x108], 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x104], eax
test eax, eax
je 0x1001c8f9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x10c]
test eax, eax
jl 0x1001c9a5
mov ecx, dword [esi + 0x120]
sub ecx, dword [esi + 0x11c]
sar ecx, 2
cmp eax, ecx
jae 0x1001c9a5
mov ebx, dword [esi + 0x11c]
cmp ebx, dword [esi + 0x120]
jbe 0x1001c932
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0x110]
mov edx, dword [esi + 0x10c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x1001c96a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0xc]
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x1001c975
test edi, edi
je 0x1001c96e
mov edi, dword [edi]
jmp 0x1001c970
mov eax, dword [edi]
jmp 0x1001c956
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x1001c97f
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call edi
jmp 0x1001c985
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1001c9b9
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x1001c998
call edi
mov ecx, dword [ebx]
lea eax, [esi + 0xac]
call fcn.100195f0
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.1001b3f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax]
jmp 0x1001c991
Function at 0x1001f000
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test eax, eax
je 0x1001f015
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], 1
test eax, eax
je 0x1001f053
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001f042
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
ret
Function at 0x1001f9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003026b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x50], 0
je 0x1001f9ef
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x54], 0
mov dword [esp + 0x14], 0
jle 0x1001fae6
push 0x28
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0
test esi, esi
je 0x1001fa42
lea eax, [esi + 4]
push eax
mov dword [esi], 0
call fcn.10020000
push 0
push 0
push 0
push 0
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x1001fa44
xor esi, esi
push 0
lea edi, [esi + 4]
push 0
push edi
push 0x10020190
mov dword [esp + 0x38], 0xffffffff
push 0
push 0
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x1001f5f0
mov dword [edi + 0x10], esi
mov dword [edi + 8], 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
jne 0x1001faab
test esi, esi
je 0x1001fad4
call fcn.1001f000
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001fa99
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.100200d0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1001fad4
mov esi, dword [ebx + 0x6c]
mov edx, dword [esi + 4]
add ebx, 0x58
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.10020550
mov ecx, ebx
mov edi, eax
call fcn.1001ff70
mov ebx, dword [ebp + 8]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [ebx + 0x54]
mov dword [esp + 0x14], eax
jl 0x1001fa01
xor eax, eax
cmp dword [ebx + 0x70], eax
setne al
mov dword [ebx + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001fb10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x1001fb30
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x1001fb3e
cmp edi, eax
je 0x1001fb44
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0xc], esi
je 0x1001fc74
test edi, edi
jne 0x1001fc69
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x1001fb6d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x1001fb89
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x1001fbca
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001fbb9
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x1001fbdf
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x1001fc1d
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001fc0c
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1001fc2b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.100200d0
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x1001fc70
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x1001fc5a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x1001fb30
mov eax, dword [edi]
jmp 0x1001fb5e
mov eax, dword [eax]
jmp 0x1001fc4b
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x1001fcaf
jmp 0x1001fc90
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x1001fc90
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100200d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1002eb5b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1004004c]
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.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x10020141
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10020130
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x10020152
push esi
call fcn.10020250
call fcn.100203a0
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10020179
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x100205e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
lea eax, [esp + 4]
push eax
xor bl, bl
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1002061e
cmp dword [esp + 0x14], 2
jne 0x1002061e
cmp dword [esp + 8], 6
mov al, 1
jae 0x10020620
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.1002c7c6
add esp, 0x118
ret
Function at 0x10020640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x51c
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp edi, ebx
jne 0x1002067b
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.1002c7c6
add esp, 0x51c
ret
push esi
push 0x3ff
lea eax, [esp + 0x129]
push ebx
push eax
mov byte [esp + 0x130], bl
call sub.MSVCR90.dll_memset
push 0xfe
lea edx, [esp + 0x36]
xor ecx, ecx
push ebx
mov esi, 0x400
push edx
mov dword [esp + 0x28], esi
mov word [esp + 0x3c], cx
call sub.MSVCR90.dll_memset
lea eax, [esp + 0x3c]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x100206ee
cmp ecx, ebx
je 0x100206ee
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100206d0
sub eax, esi
inc eax
push eax
lea edx, [esp + 0x28]
push edx
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push 0xffffffffffffffff
shr esi, 1
push esi
mov esi, dword [sym.imp.MSVCR90.dll__snwprintf_s]
lea ecx, [esp + 0x134]
push ecx
call esi
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x130]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10020750
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.1002c7c6
add esp, 0x51c
ret
push 0x400
lea ecx, [esp + 0x128]
push ebx
push ecx
mov dword [esp + 0x20], ebx
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.PnpInstanceID
push edx
call edi
test eax, eax
jne 0x10020848
lea ecx, [esp + 0x124]
push ecx
push 0x10035140
push 0xffffffffffffffff
lea edx, [esp + 0x28]
push 4
push edx
mov word [esp + 0x30], ax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
call esi
lea eax, [esp + 0x30]
push 4
push eax
call dword [sym.imp.MSVCR90.dll__wcslwr_s]
lea ecx, [esp + 0x38]
push 0x10035148
push ecx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 0x24
test eax, eax
jne 0x10020848
call fcn.100205e0
test al, al
je 0x100207f7
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x1a0], 6
jmp 0x10020844
push 0x400
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.MediaSubType
push ecx
mov dword [esp + 0x28], 0x400
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x10020848
cmp dword [esp + 0x124], 1
jne 0x10020848
mov bl, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x524]
pop esi
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.1002c7c6
add esp, 0x51c
ret
Function at 0x100208c0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_malloc]
push 0x288
xor bl, bl
mov dword [esp + 0x14], 0x288
call edi
mov esi, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10020913
push esi
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x14]
push ecx
call edi
add esp, 8
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1002097b
test esi, esi
je 0x1002097b
mov edi, esi
lea ecx, [ecx]
mov ecx, edi
call fcn.10020640
test al, al
jne 0x10020933
mov edi, dword [edi]
test edi, edi
jne 0x10020920
jmp 0x1002093e
mov ecx, ebp
mov eax, edi
call fcn.10020870
mov bl, 1
xor eax, eax
cmp ax, word [ebp]
jne 0x1002097b
mov eax, esi
jmp 0x10020950
lea ecx, [eax + 0x1b0]
test ecx, ecx
jne 0x10020972
mov eax, dword [eax]
test eax, eax
jne 0x10020950
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
mov ecx, ebp
call fcn.10020870
mov bl, 1
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x10021380
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0x18], 0x10
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x68], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], 0x67452301
mov dword [esp + 4], 0xefcdab89
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 0xc], 0x10325476
jb 0x100213d0
mov ecx, dword [ecx + 4]
jmp 0x100213d3
add ecx, 4
push ecx
lea ecx, [esp + 4]
call fcn.10020ad0
cmp byte [esp + 0x68], 0
jne 0x100213f4
push esi
lea esi, [esp + 4]
mov byte [esp + 0x6c], 1
call fcn.10020b70
pop esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, edi
call fcn.1002c7c6
add esp, 0x70
ret
Function at 0x10021550
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push 0
push 2
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100215f9
push 0x22c
lea eax, [esp + 0xc]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100215f2
mov ecx, edi
lea eax, [esp + 0x2c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100215d6
test dx, dx
je 0x100215d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100215d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100215b0
xor eax, eax
jmp 0x100215db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100215f0
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100215a7
jmp 0x100215f2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.1002c7c6
add esp, 0x230
ret
Function at 0x10022e90
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
push 0x114
lea eax, [esp + 0x10]
mov esi, ecx
push 0
push eax
mov dword [esi + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [esp + 0x1c], 2
jne 0x10022efc
mov ecx, esi
call fcn.100231b0
test eax, eax
jne 0x10022f10
mov ecx, esi
call fcn.10023430
test eax, eax
jne 0x10022f10
call fcn.10023620
jmp 0x10022f10
xor edi, edi
mov edi, edi
test eax, eax
jne 0x10022f10
push esi
call fcn.10023050
inc edi
cmp edi, 0xa
jl 0x10022f00
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x10022f52
cmp eax, dword [esi + 0x10]
jge 0x10022f52
mov edx, eax
shl edx, 7
lea ecx, [edx + esi + 0x18]
push ecx
inc eax
push 0x40
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1002c7c6
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1002c7c6
add esp, 0x124
ret
Function at 0x10023620
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x221c
call fcn.1002d240
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x2218], eax
push ebx
push ebp
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jmp 0x10023650
cmp dword [esi + 0x10], 0x20
jge 0x100237c2
push edi
push str..PhysicalDrive_d
lea edx, [esp + 0x2c]
call fcn.100239a0
add esp, 8
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100237b4
mov edi, dword [esi + 0x10]
xor eax, eax
push 0x2000
lea ecx, [esp + 0x228]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x2d1400
push ebp
call ebx
test eax, eax
je 0x1002372c
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x23c]
shl edx, 7
lea ecx, [edx + esi + 0x18]
lea eax, [esp + eax + 0x224]
push ecx
call fcn.100237e0
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call dword [sym.imp.MSVCR90.dll_isalnum]
add esp, 4
test eax, eax
je 0x1002372c
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x10]
jne 0x100237a7
push 0x2000
lea ecx, [esp + 0x228]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0
push 0
push 0x2d0c10
push ebp
call ebx
test eax, eax
je 0x100237a7
mov ecx, dword [esi + 0x10]
shl ecx, 7
lea ebx, [ecx + esi + 0x18]
lea edi, [esp + 0x234]
call fcn.10023960
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call dword [sym.imp.MSVCR90.dll_isalnum]
add esp, 4
test eax, eax
je 0x100237a7
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
xor ebx, ebx
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edi
jl 0x10023650
mov ecx, dword [esp + 0x2224]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002c7c6
add esp, 0x221c
ret
Function at 0x1002c0c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10041930], 0
push esi
jne 0x1002c03b
call fcn.1002bf61
test eax, eax
je 0x1002c07e
mov eax, dword [0x10041930]
cmp eax, 1
jne 0x1002c05c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1002c07e
pop esi
ret
push eax
call dword [0x10041938]
test eax, eax
jne 0x1002c0c6
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 0x1002c082
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10041930]
call dword [0x10041938]
mov edi, eax
test edi, edi
je 0x1002c0a7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1002c0c3
mov edi, esi
add esi, 0xff0
push edi
push dword [0x10041930]
call dword [0x10041934]
add edi, 0x10
cmp edi, esi
jb 0x1002c0af
mov eax, edi
pop edi
pop esi
ret
jmp 0x1002c028

Function at 0x1002c7c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004004c]
jne 0x1002c7d0
repz ret
jmp fcn.1002ceb0