joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d87
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00401ec0
push ebx
push esi
push edi
call fcn.00401492
xor ebx, ebx
push ebx
push 0xa
push 0x401338
push dword [0x40206c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x401dbd
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
and byte [ebp - 0x2000], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x1fff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x4c650
push 0
lea eax, [ebp - 0x2000]
push 0x2000
push eax
push dword [0x40206c]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x401e53
lea eax, [ebp - 0x2000]
push edi
push eax
mov eax, dword [0x402068]
lea eax, [eax + ebx + 0x4c650]
push eax
call sub.MSVCRT.dll_memcpy
add ebx, edi
add esp, 0xc
cmp ebx, esi
jne 0x401ddb
mov eax, dword [0x402068]
push esi
lea ecx, [eax + 0x4c650]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [0x402068]
push 0x248
add eax, 0x4c408
push 0x4010f0
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
push 0
call dword [sym.imp.MSVCRT.dll_exit]
int3

Function at 0x401eef
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4013b8
push 0x402022
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40208c], 0xffffffff
or dword [0x402090], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x402088]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x402084]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x402094], eax
call fcn.00402021
cmp dword [0x4013b0], 0
jne 0x401f72
push 0x40201e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040200c
push 0x4010e4
push 0x4010e0
call sub.MSVCRT.dll__initterm
mov eax, dword [0x402080]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40207c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x4010dc
push 0x4010d4
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401414
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push str.GlobalPCI_651
push 0
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
mov dword [0x4c6a8c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4c7460
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [esp + 0x10]
mov edi, eax
push edx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 1
push edi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test ebx, ebx
je 0x417cb4
mov eax, dword [0x4c6a90]
push 0x4c677c
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4ba6e1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3348
cmp edx, dword [eax]
je 0x4ba703
add eax, 8
inc ecx
cmp eax, 0x4c33d8
jl 0x4ba6f4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3348]
jne 0x4ba831
mov eax, dword [0x4c7cdc]
cmp eax, 1
je 0x4ba80b
test eax, eax
jne 0x4ba734
cmp dword [0x4c3274], 1
je 0x4ba80b
cmp edx, 0xfc
je 0x4ba831
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba76b
lea eax, [ebp - 0x1a4]
push 0x4bfa58
push eax
call fcn.004bb0c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb550
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba7ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb550
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa54
push edi
call fcn.004bd420
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfa38
push eax
call fcn.004bb0c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb0d0
lea eax, [ebp - 0xa0]
push 0x4bfa34
push eax
call fcn.004bb0d0
push dword [esi + 0x4c334c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb0d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfa0c
push eax
call fcn.004bd394
add esp, 0x2c
pop edi
jmp 0x4ba831
lea eax, [ebp + 8]
lea esi, [esi + 0x4c334c]
push 0
push eax
push dword [esi]
call fcn.004bb550
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403b52
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push esi
lea esi, [esp + 0x40]
mov dword [esi], 0x4f4c45
mov dword [esi + 4], 0
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
cmp dword [esi], 0x6f6c65
jne 0x403b83
cmp eax, esi
je 0x403b84
leave
ret 4
add byte [ebx - 0x17a7dbcc], cl
sbb byte [eax], al
add byte [eax], al
mov esi, dword [esp]
pop eax
call fcn.00403ba5
cmp eax, 0
je 0x403b9c
cmp edx, eax
jbe 0x403bb3
jmp eax
push eax
notrack jmp dword ds:[sym.imp.KERNEL32.dll_LeaveCriticalSection]
in al, 0x10
inc ebx
add byte [ebx], ah
lds eax, [eax + 0x3b]
les esp, [esi]
jp 0x403bc2
call dword es:[sym.imp.USER32.dll_GetKeyState]
dec eax
mov esp, 0x48004310
and eax, 0x7ffe
sub ax, 0x7ffc
xchg ecx, eax
push ecx
ror dword [esp], 4
rol dword [esp], 7
pop ecx
xchg ecx, eax
call dword cs:[eax*4 + sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
dec eax
and eax, 6
lea eax, [eax*2 - 0x5b]
mov edx, 0x40ccb2
add eax, edx
je 0x403bc2
ret

Function at 0x403ba5
Capabilities:
Log keystrokes via polling

Disassembly:
push esp
push 0
mov eax, ebp
push 0
push 0
push 0xffffffffffffffff
call dword es:[sym.imp.GDI32.dll_EnumICMProfilesA]
and eax, ebp
inc eax
cmp eax, esp
jp 0x403bc2

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001000
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.1000ffc0
mov eax, dword [esp + 0x1008]
push esi
push 0x10015ce4
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0
or esi, 0xffffffff
call fcn.10006f52
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x10001042
pop esi
add esp, 0x1004
ret 4
push 0x8000
push eax
call fcn.10007262
add esp, 4
push eax
call fcn.10007389
mov edx, dword [esp + 0xc]
push edx
push 0x1000
lea eax, [esp + 0x18]
push 1
push eax
call fcn.10007245
add esp, 0x18
test eax, eax
je 0x100010bc
push edi
xor ecx, ecx
test eax, eax
jle 0x1000109e
lea ebx, [ebx]
movzx edx, byte [esp + ecx + 0xc]
mov edi, esi
and edi, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [edx*4 + 0x1001a078]
inc ecx
cmp ecx, eax
jl 0x10001080
mov eax, dword [esp + 8]
push eax
push 0x1000
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.10007245
add esp, 0x10
test eax, eax
jne 0x10001074
pop edi
mov edx, dword [esp + 4]
push edx
call fcn.100074f7
mov eax, esi
add esp, 4
not eax
pop esi
add esp, 0x1004
ret 4

Function at 0x10001750
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0xc
call fcn.10002c80
push str.WarMP
push str.ThunderRT6Main
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10001779
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x100029a0
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
Function at 0x10001a80
Capabilities:
Terminate thread

Disassembly:
push esi
call fcn.1000636a
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100066c0
push 0x10004bc0
push 0x1001d204
call fcn.10006986
push 0x10004c40
push 0x1001a070
call fcn.10006986
call fcn.10006a87
mov eax, dword [0x1001b3f4]
xor esi, esi
cmp eax, esi
je 0x10001ac8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x1001b3ec]
mov dword [eax + 0x5c], esi
mov dword [eax + 0x64], esi
mov dword [0x1001b3f4], esi
mov dword [0x1001f404], esi
mov dword [0x1001f400], esi
pop esi
ret
Function at 0x100027f0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x14]
push ecx
push 0x10002890
call ebx
push 0x1f4
push esi
call ebp
test eax, eax
je 0x1000286d
push str.Launching_Warcraft_III
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10002850
xor edi, edi
inc edi
cmp edi, 0x28
jb 0x10002825
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x10002940
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0xc
push esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 4]
mov esi, eax
mov eax, dword [esp + 0x14]
push ecx
push 0x100029a0
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret 8
Function at 0x10002a60
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push ebx
push ebp
lea eax, [esp + 8]
push eax
xor ebp, ebp
mov ebx, 1
push ebx
push ebp
push str.SYSTEMCurrentControlSet_servicesWinSock2ParametersProtocol_Catalog9
push reloc.WS2_32.dll_bind
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 8]
cmp eax, ebp
jne 0x10002aa9
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.Num_Catalog_Entries
push eax
mov dword [esp + 0x2c], 4
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], ebx
jb 0x10002c4d
jmp 0x10002af0
push ebx
lea eax, [esp + 0x22c]
push str.SYSTEMCurrentControlSet_servicesWinSock2ParametersProtocol_Catalog9Catalog_Entries_.12u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 1
push ebp
lea edx, [esp + 0x234]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x10002c66
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x24]
push edx
push ebp
push str.PackedCatalogItem
push eax
call edi
mov eax, dword [esp + 0x14]
push eax
call fcn.10007bf3
mov ecx, dword [esp + 0x18]
push ecx
mov esi, eax
push ebp
push esi
call fcn.10008880
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ebp
push str.PackedCatalogItem
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.10007b8d
push str.kickdll
push esi
call fcn.10007cc0
add esp, 0x10
test eax, eax
jne 0x10002c5d
push 0x104
lea ecx, [esp + 0x128]
push ebp
push ecx
call fcn.10008880
push 0x104
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.10008880
push esi
lea eax, [esp + 0x140]
push 0x104
push eax
call fcn.1000811c
push esi
call fcn.10007928
lea ecx, [esp + 0x14c]
push str._systemroot_
push ecx
call fcn.10007cc0
mov esi, eax
add esp, 0x30
lea edx, [esp + 0x20]
cmp esi, ebp
je 0x10002c1d
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
add esi, 0xc
push esi
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.10008289
jmp 0x10002c30
lea ecx, [esp + 0x124]
push ecx
push 0x104
push edx
call fcn.1000811c
add esp, 0xc
push ebp
lea eax, [esp + 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x10002c66
inc ebx
cmp ebx, dword [esp + 0x18]
jbe 0x10002af0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
push esi
call fcn.10007928
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
Function at 0x10002c80
Capabilities:
Create process on windows
Get common file path
Get file version info

Disassembly:
sub esp, 0x46c
push edi
push 0x208
lea eax, [esp + 0x26c]
push 0
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.10008880
push 0x208
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.10008880
add esp, 0x18
push 0x104
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x64]
push 0x104
push ecx
call fcn.1000834e
push str._netsh.exe
lea edx, [esp + 0x70]
push 0x104
push edx
call fcn.1000820c
add esp, 0x18
push 0
lea eax, [esp + 0x64]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10002e3b
push esi
push edi
call fcn.10007bf3
push edi
mov esi, eax
push 0
push esi
call fcn.10008880
add esp, 0x10
push esi
push edi
push 0
lea ecx, [esp + 0x70]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10002d56
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push 0x10016328
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10002d68
push esi
call fcn.10007928
add esp, 4
pop esi
pop edi
add esp, 0x46c
ret
mov eax, dword [esp + 8]
mov edi, dword [eax + 8]
push ebx
mov ebx, dword [eax + 0xc]
push esi
call fcn.10007928
push 0x1001632c
lea ecx, [esp + 0x70]
push 0x104
push ecx
call fcn.1000820c
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call fcn.10008880
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
mov word [esp + 0x54], ax
cmp edi, 0x50001
jne 0x10002e0b
cmp ebx, 0xa280884
jb 0x10002e39
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x278]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebx
pop esi
pop edi
add esp, 0x46c
ret
jbe 0x10002e39
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x278]
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x88]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebx
pop esi
pop edi
add esp, 0x46c
ret

Function at 0x10003300
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push edi
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000331a
xor eax, eax
pop edi
add esp, 0x1c
ret
push esi
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x1c
call sub.KERNEL32.dll_Thread32First
lea ecx, [esp + 8]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
mov esi, eax
test esi, esi
je 0x10003357
nop
cmp dword [esp + 0x14], ebx
je 0x10003357
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Thread32Next
mov esi, eax
test esi, esi
jne 0x10003340
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
je 0x10003313
mov eax, dword [esp + 0xc]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
pop edi
add esp, 0x1c
ret
Function at 0x10003380
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov eax, ecx
push esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], ebx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100033a0
sub eax, esi
je 0x10003505
xor eax, eax
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push 0x14
push eax
call fcn.1000811c
push 0x10016418
lea ecx, [esp + 0x28]
push 0x18
push ecx
call fcn.10008289
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 4
lea ecx, [esp + 0x44]
add eax, 0x55538
push ecx
push eax
push edi
mov dword [esp + 0x50], eax
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call esi
test eax, eax
je 0x10003505
cmp dword [esp + 0x10], ebx
jne 0x10003505
add dword [esp + 0x3c], 0x5330
mov dword [esp + 0xc], ebx
cmp ebp, ebx
je 0x100034d2
push ebp
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push 0x18
lea eax, [esp + 0x20]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp ebp, ebx
je 0x100034f5
push ebp
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [esp + 0xc], ebx
je 0x10003505
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
Function at 0x10003510
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016fc0
push 0x10012608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, esi
jne 0x1000366d
mov byte [ebp - 0x30], 0xe9
mov byte [ebp - 0x2f], 0xda
mov byte [ebp - 0x2e], 0x37
mov byte [ebp - 0x2d], 0x6d
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x30]
push ecx
lea edx, [esi + 4]
push edi
mov ecx, dword [ebp - 0x1c]
call fcn.10002710
cmp eax, 1
je 0x10003588
add esi, 0x10000
cmp esi, 0x10000000
jb 0x10003563
jmp 0x1000358e
lea ebx, [esi + 0x4120]
test ebx, ebx
jne 0x10003597
mov ebx, 0x470ff0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100035a5
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp + 8]
mov byte [eax + 0xf], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0x10
push eax
push ebx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call esi
cmp dword [ebp - 0x1c], 0
je 0x10003649
mov byte [ebp - 0x30], 0xb8
mov dword [ebp - 0x2f], ebx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 5
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x5a0549
push edx
push edi
call esi
cmp dword [ebp - 0x1c], 0
je 0x10003649
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 5
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x594331
push edx
push edi
call esi
cmp dword [ebp - 0x1c], 0
je 0x10003649
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 5
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x59405e
push edx
push edi
call esi
cmp dword [ebp - 0x1c], 0
je 0x10003649
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10003657
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf], 0
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0x1c]
push edx
push 0x10
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x10003694
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10