joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x1001b018]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
lea esi, [esp + 0x28]
call section..text
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xc
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1000bf5c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10011004
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
cmp cx, word [eax + edx + 6]
jae 0x1000bfd1
mov ecx, dword [eax + edx + 0x104]
add ecx, edx
mov edx, dword [eax + edx + 0x100]
or eax, 0xffffffff
mov dword [esp + 0x10], edx
mov esi, ecx
test edx, edx
je 0x1000bfac
lea esp, [esp]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esp + edi*4 + 0x28]
inc esi
dec edx
jne 0x1000bf90
mov edx, dword [esp + 0x10]
not eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.1000d400
push eax
lea edi, [esp + 0x10]
call fcn.1000cc60
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10011004
mov esp, ebp
pop ebp
ret

Function at 0x1000bff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x10125fc8]
mov edx, dword [edi]
cmp edx, edi
je 0x1000c09c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000c051
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x1000c030
mov edi, dword [0x10125fc8]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000c0af
cmp byte [edx + 0x1d], 0
jne 0x1000c098
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000c07d
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000c098
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000c071
jmp 0x1000c098
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000c096
cmp edx, dword [eax + 8]
jne 0x1000c096
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000c086
mov edx, eax
cmp edx, edi
jne 0x1000c020
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011004
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10011004
mov esp, ebp
pop ebp
ret
Function at 0x1000da40
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x10125fdc], 0
push esi
je 0x1000daab
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10125fe0]
cmp eax, 0x1388
jbe 0x1000daab
push 0x1012600c
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000daab
call esi
mov dword [0x10125fe0], eax
test eax, eax
je 0x1000daa0
call fcn.1000d990
test al, al
jne 0x1000daa0
push 0x1388
xor ecx, ecx
call fcn.10005d50
push eax
push 2
mov eax, 0x10120990
call fcn.1000dee0
add esp, 0xc
pop esi
ret
push 0x1012600c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x1000db10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x1000db42
jmp 0x1000db30
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000db30
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000db50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012066
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001b018]
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
mov eax, dword [ebp + 8]
mov dx, word [0x10017f24]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x10017f20]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000dd78
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000dbd0
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000dc86
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000dc13
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.1000ecb0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000dc40
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.1000e4e0
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000dca5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000dc86
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x1000dc86
cmp word [ebx], di
je 0x1000dd78
mov esi, dword [ebp - 0x660]
jmp 0x1000dbd0
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000dcc7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.1000ecb0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000dcf1
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.1000e350
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000dd32
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1000dd46
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1000dd74
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1000dd7a
xor al, al
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.10011004
mov esp, ebp
pop ebp
ret
Function at 0x1000dee0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x100
push 0
push 0x10126340
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10017040]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10126340], cl
inc eax
cmp eax, 0x100
jb 0x1000df00
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x10126340
push 0
mov ecx, 0x1011b678
call fcn.100055f0
mov eax, dword [0x10120744]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000df70
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x10120e9c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x10120744], 0
call ebx
mov eax, dword [0x1012086c]
test eax, eax
je 0x1000df9b
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x10120e9c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012086c], 0
call ebx
mov eax, dword [0x10120994]
test eax, eax
je 0x1000dfc6
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x10120e9c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10120994], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000dfec
dec eax
je 0x1000dfe0
dec eax
jne 0x1000dff8
mov eax, 0x6a
mov ecx, 0x2b2bb9
jmp 0x1000dffe
mov eax, 0x69
mov ecx, 0x116896
jmp 0x1000dffe
mov eax, 0x67
mov ecx, 0x9ca476
jmp 0x1000dffe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000d660
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000de40
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000e07f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000e07f
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e07a
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x10120e9c]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov dword [esi + 4], 0
call ebx
call fcn.1000dab0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000e150
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10126340
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x10014640]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10126340], dl
inc eax
cmp eax, 0x100
jb 0x1000e173
mov eax, 0x10126340
ret
Function at 0x1000edf0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1011b64c]
push edi
cmp esi, dword [0x1011b650]
je 0x1000eebe
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1000ee2e
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x1000ee43
add esi, 0x105
cmp esi, dword [0x1011b650]
jne 0x1000ee10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1011b650]
mov esi, dword [0x1011b64c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000eea6
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000ee82
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1011b64c]
mov ecx, dword [0x1011b650]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x1000ee66
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.100031c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000f1c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000f0e4
cmp dword [ebp - 4], 0x50000000
jb 0x1000f061
cmp dword [ebp - 4], 0x80000000
ja 0x1000f061
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000f03a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f087
jmp 0x1000f0e4
cmp dword [ebp - 0x14], 0x10000
jne 0x1000f0ca
cmp dword [ebp - 0x18], 0x10000
jb 0x1000f0ca
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000f0bd
mov eax, dword [ebp - 8]
jmp 0x1000f0e6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f0df
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000f1c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f03a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000f1f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000f1ac
cmp dword [ebp - 4], 0x50000000
jb 0x1000f12c
cmp dword [ebp - 4], 0x80000000
ja 0x1000f12c
mov dword [ebp - 4], 0x80010000
jmp 0x1000f105
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f152
jmp 0x1000f1ac
cmp dword [ebp - 0x14], 0x10000
jne 0x1000f195
cmp dword [ebp - 0x18], 0x10000
jb 0x1000f195
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000f188
mov eax, dword [ebp - 8]
jmp 0x1000f1ae
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f1a7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000f1f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f105
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f920
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x1000f935
xor eax, eax
jmp 0x1000f9aa
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x1000f962
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x1000f9a5
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x1000f9a3
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x1000f99f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x1000f9a3
xor eax, eax
jmp 0x1000f9aa
jmp 0x1000f959
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1000fb70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10120ac0]
mov dword [ebp - 4], eax
jmp 0x1000fb89
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000fba6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000fb80
mov esp, ebp
pop ebp
ret
Function at 0x10010000
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10120ad0], eax
je 0x1001001e
mov eax, 0x10dd
jmp 0x100100ff
mov eax, dword [0x10120ae0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001009c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1001007a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1001007a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000f690
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10010026
mov dword [0x10120ae0], 0
call fcn.1000f9b0
mov ecx, dword [0x10120adc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100100e9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100100b4
mov dword [0x10120adc], 0
mov dword [0x10120ad0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100105f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10120ad4], 0
je 0x10010609
mov eax, dword [0x10120ad4]
jmp 0x100106a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1001061b
xor eax, eax
jmp 0x100106a9
push 8
call fcn.10011118
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10010671
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1001065a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10120ad4], eax
mov dword [0x10120ad8], 0
mov eax, dword [ebp - 8]
jmp 0x100106a9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001068b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001063b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10120adc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10120adc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10011004
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001b018]
jne 0x1001100e
repz ret
jmp fcn.10011547
Function at 0x4058b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d908]
jne 0x4058c1
repz ret
jmp fcn.0040db86

Function at 0x4159fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d908]
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.00404e2c
and dword [ebp - 0x14], 0
cmp dword [0x445b2c], 0
mov dword [ebp - 0x18], eax
jne 0x415aae
push 0x403360
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415b56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403354
push ebx
call edi
test eax, eax
je 0x415b56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403344
push ebx
mov dword [0x445b2c], eax
call edi
push eax
call esi
push 0x403330
push ebx
mov dword [0x445b30], eax
call edi
push eax
call esi
push 0x403314
push ebx
mov dword [0x445b34], eax
call edi
push eax
call esi
mov dword [0x445b3c], eax
test eax, eax
je 0x415aae
push 0x4032fc
push ebx
call edi
push eax
call esi
mov dword [0x445b38], eax
mov eax, dword [0x445b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x415b07
cmp dword [0x445b3c], ecx
je 0x415b07
push eax
call esi
push dword [0x445b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x415b07
test ebx, ebx
je 0x415b07
call edi
test eax, eax
je 0x415afe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415afe
test byte [ebp - 8], 1
jne 0x415b07
or dword [ebp + 0x10], 0x200000
jmp 0x415b3a
mov eax, dword [0x445b30]
cmp eax, dword [ebp - 0x18]
je 0x415b3a
push eax
call esi
test eax, eax
je 0x415b3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415b3a
mov eax, dword [0x445b34]
cmp eax, dword [ebp - 0x18]
je 0x415b3a
push eax
call esi
test eax, eax
je 0x415b3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x445b2c]
call esi
test eax, eax
je 0x415b56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415b58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004058b7
leave
ret
Function at 0x41a6e0
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1c08
call fcn.00418150
cmp dword [0x7f52e4], 0x37
jne 0x41a7a8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [esp + 0xc0c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x403498
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push 0
lea edx, [esp + 0x140c]
push edx
push 0x403504
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7f56f8]
mov edx, dword [0x7f4dc8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1c08
ret