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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov ecx, 0xb6
mov esi, ebx
lea edi, [ebp - 0x5b0]
push 0x2ce
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x2d6]
push ecx
mov word [ebp - 0x2d8], ax
call fcn.10016660
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000c24e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x5b4]
push eax
add ecx, 0xfffffd28
push ecx
add ebx, 0x2d8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000c239
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x5a8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1000c2b0
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x3a0]
push ecx
lea edx, [ebp - 0x2d8]
push str._s__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x1000c2c4
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x5ac]
sub eax, 0
je 0x1000c2d5
dec eax
jne 0x1000c2e2
push eax
jmp 0x1000c2d7
push 5
lea edi, [ebp - 0x2d8]
call fcn.1000c300
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1000eefa
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c300
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa68
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.10016660
push 0x2e
push edi
call fcn.100106b2
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1000c34b
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000eefa
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41a]
push edx
mov word [ebp - 0x41c], cx
call fcn.10016660
push 0x20
push esi
call fcn.100106b2
add esp, 0x14
push esi
test eax, eax
je 0x1000c39f
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x1000c3bb
cmp word [esi + eax*2], 0x20
je 0x1000c38f
dec eax
test eax, eax
jg 0x1000c381
jmp 0x1000c3bb
push eax
push esi
push 0x104
lea eax, [ebp - 0x41c]
push eax
jmp 0x1000c3b3
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
call fcn.1000fafe
add esp, 0x10
push 1
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x41c]
call fcn.1000c540
test eax, eax
je 0x1000c338
push 0x3e8
lea edx, [ebp - 0xa0c]
push 0
push edx
call fcn.10016660
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xa0c]
push str._s_shellopencommand
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea edx, [ebp - 0x214]
push 0
push edx
call fcn.10016660
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x622]
push ecx
mov word [ebp - 0x624], ax
call fcn.10016660
add esp, 0x30
push 2
lea edx, [ebp - 0x624]
lea ecx, [ebp - 0xa0c]
call fcn.1000c540
test eax, eax
je 0x1000c338
push 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x214]
push 0x100258f4
push ecx
call fcn.1000ff39
add esp, 8
test eax, eax
jne 0x1000c4b7
lea edx, [ebp - 0x214]
push 0x100258fc
push edx
call fcn.1000ff39
add esp, 8
test eax, eax
jne 0x1000c4b7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1002524c
lea eax, [ebp - 0x214]
push eax
call esi
push edi
lea ecx, [ebp - 0x214]
push ecx
call esi
jmp 0x1000c4bf
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea edx, [ebp - 0xa50]
push 0
push edx
call fcn.10016660
add esp, 0xc
cmp dword [ebp + 8], 0
mov dword [ebp - 0xa54], 0x44
je 0x1000c4ee
mov dword [ebp - 0xa4c], str.WinSta0Default
jmp 0x1000c501
xor eax, eax
mov dword [ebp - 0xa28], 1
mov word [ebp - 0xa24], ax
lea ecx, [ebp - 0xa64]
push ecx
lea edx, [ebp - 0xa54]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000eefa
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100265c0
push 0x10014250
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10029210]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x440], SysReAllocString
mov dword [ebp - 0x434], 0
mov ebx, 0x208
push ebx
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.10016660
push ebx
push 0
lea ecx, [ebp - 0x42c]
push ecx
call fcn.10016660
add esp, 0x18
mov dword [ebp - 4], 0
lea edx, [ebp - 0x438]
push edx
push 0x20019
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000c5e8
mov dword [ebp - 0x434], 0xffffffff
jmp case.0x1000c5f5.5
mov eax, dword [ebp + 8]
dec eax
cmp eax, 6
ja case.0x1000c5f5.5
jmp dword [eax*4 + 0x1000c798]
mov dword [ebp - 0x430], ebx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1000c5f5.5
lea ecx, [ebp - 0x224]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1000c744
mov dword [ebp - 0x430], ebx
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1000c5f5.5
lea esi, [ebp - 0x224]
cmp word [esi], 0
je 0x1000c6ba
push ebx
push esi
push 0x104
lea eax, [ebp - 0x42c]
push eax
call fcn.10010755
push ebx
push 0x1002524c
push 0x104
lea ecx, [ebp - 0x42c]
push ecx
call fcn.10010755
add esp, 0x20
push 0
push esi
call fcn.1001037b
add esp, 8
lea esi, [eax + 2]
jmp 0x1000c677
lea edx, [ebp - 0x42c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1000c744
mov dword [ebp - 0x430], 4
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1000c5f5.5
mov ecx, dword [ebp - 0x43c]
push ecx
push 0x10025044
jmp 0x1000c73a
mov dword [ebp - 0x430], ebx
lea edx, [ebp - 0x430]
push edx
push 0
lea eax, [ebp + 8]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1000c5f5.5
mov edx, dword [ebp + 8]
push edx
push str._08X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.1000c77e
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000eefa
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c7c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push 2
push 0
push str.AppEvents
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp + 8]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
lea eax, [ebp + 8]
push eax
push str.AppEvents
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1000c839
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 8]
add eax, eax
push eax
push ebx
push 3
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000c839
mov edx, dword [ebp + 8]
push edx
call edi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
call edi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1000c850
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fe
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x260]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000d550
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x1000d593
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000d58c
mov esi, dword [eax + 0x20]
jmp 0x1000d593
test bl, bl
jns 0x1000d593
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x1000d660
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x3c]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x1000d5e8
mov ecx, dword [ebx]
test cl, 0x40
je 0x1000d5e1
mov edi, dword [eax + 0x20]
jmp 0x1000d5e8
test cl, cl
jns 0x1000d5e8
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x1000d617
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x1000d617
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.1000d4a0
test eax, eax
je 0x1000d67e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x1000d63f
mov eax, dword [ebx]
test eax, 0x2000000
je 0x1000d62e
test dword [ebp - 0x10], 0x2000000
je 0x1000d62e
or dword [ebp - 0x10], eax
jmp 0x1000d639
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x1000d5c0
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.1000d4a0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000e39f
cmp dword [0x10031258], eax
jne 0x1000e39f
push eax
push eax
push eax
push 0x1000de70
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10031258], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000e3b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1000de70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret
Function at 0x1000e3e0
Capabilities:
Check mutex on windows
Delete file
Get common file path
Get file size
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x10030dc0
push 0
push 0
push 0x23
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.DisplaySessionContainers.log
push 0x10030dc0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10030dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [0x1003126c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push 0x10030dc0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x3200000
jbe 0x1000e480
push 0x10030dc0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x1003126c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebx]
xor esi, esi
push esi
push 0x10031260
push 0x10024934
push 0x800
push edx
call dword [sym.imp.DINPUT8.dll_DirectInput8Create]
test eax, eax
jns 0x1000e4bf
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefa
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10031260]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x10031264
push 0x10024954
push eax
call edx
test eax, eax
js 0x1000e4ac
mov eax, dword [0x10031264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0x1002491c
push eax
call edx
test eax, eax
js 0x1000e4ac
mov eax, dword [0x10031264]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx]
mov ecx, dword [eax]
push 0xa
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
js 0x1000e4ac
mov eax, dword [0x10031264]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x3c
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x1000e4ac
mov eax, dword [0x10031264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
test eax, eax
js 0x1000e4ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x14
mov dword [0x10031f48], eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
cmp ax, 0xff81
je 0x1000e57d
mov dword [0x10031724], esi
cmp ax, 1
jne 0x1000e587
mov dword [0x10031724], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000eefa
mov esp, ebp
pop ebp
ret
Function at 0x1000e5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1003126c]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 2
push 4
push 0
push 2
push 0x40000000
push 0x10030dc0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e614
push 2
push 0
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x1003126c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000e620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x800
push 0
push 0x10031730
call fcn.10016660
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x800
push 0x10031730
push eax
mov dword [0x1003172c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x806]
push ecx
xor esi, esi
mov word [ebp - 0x808], ax
call fcn.10016660
mov edx, dword [0x1003172c]
add esp, 0xc
cmp edx, dword [0x10031728]
je 0x1000e729
push 0x10031730
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1000e71d
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
movzx eax, word [ebp - 0x810]
push ecx
movzx ecx, word [ebp - 0x812]
push edx
movzx edx, word [ebp - 0x816]
push eax
movzx eax, word [ebp - 0x818]
push ecx
push edx
push eax
push 0x10031730
lea ecx, [ebp - 0x808]
push 0x100259d0
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edi, [ebp - 0x808]
call fcn.1000e5a0
push 0x800
push esi
push 0x10031730
call fcn.10016660
add esp, 0x30
mov esi, 1
mov edx, dword [0x1003172c]
mov dword [0x10031728], edx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000eefa
mov esp, ebp
pop ebp
ret
Function at 0x1000eefa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029210]
jne 0x1000ef04
repz ret
jmp fcn.10011151

Function at 0x100190ec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10029210]
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.10013b5e
and dword [ebp - 0x14], 0
cmp dword [0x1003094c], 0
mov dword [ebp - 0x18], eax
jne 0x1001919f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10019247
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10019247
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1003094c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10030950], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10030954], eax
call edi
push eax
call esi
mov dword [0x1003095c], eax
test eax, eax
je 0x1001919f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10030958], eax
mov eax, dword [0x10030958]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100191f8
cmp dword [0x1003095c], ecx
je 0x100191f8
push eax
call esi
push dword [0x1003095c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100191f8
test ebx, ebx
je 0x100191f8
call edi
test eax, eax
je 0x100191ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100191ef
test byte [ebp - 8], 1
jne 0x100191f8
or dword [ebp + 0x10], 0x200000
jmp 0x1001922b
mov eax, dword [0x10030950]
cmp eax, dword [ebp - 0x18]
je 0x1001922b
push eax
call esi
test eax, eax
je 0x1001922b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001922b
mov eax, dword [0x10030954]
cmp eax, dword [ebp - 0x18]
je 0x1001922b
push eax
call esi
test eax, eax
je 0x1001922b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1003094c]
call esi
test eax, eax
je 0x10019247
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10019249
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eefa
leave
ret
Function at 0x402c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bc50
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
mov ecx, dword [edi]
cmp ecx, 0xfffffffe
je 0x402cc8
test ecx, ecx
je 0x402cc8
cmp ecx, 0xffffffff
jne 0x402d86
push 0x14
push str.tm_unable_to_handle
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00405210
mov dword [esp + 0x48], 0
mov eax, dword [edi]
cmp eax, 0xfffffffe
jne 0x402d00
xor eax, eax
jmp 0x402d16
test eax, eax
jne 0x402d0b
mov eax, 1
jmp 0x402d16
inc eax
neg eax
sbb eax, eax
and eax, 3
add eax, 2
sub eax, 0
lea ecx, [esp + 0x20]
je 0x402d3c
dec eax
push 0x14
je 0x402d35
dec eax
je 0x402d2e
push str.a_special_date_value
jmp 0x402d43
push str.infinity_date_value
jmp 0x402d43
push str._infinity_date_value
jmp 0x402d43
push 0x15
push str.not_a_date_time_value
call fcn.004066d0
cmp dword [esp + 0x34], 0x10
jb 0x402d59
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
jmp 0x402d61
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.0045a6e8
mov dword [esp + 0x10], vtable.std::out_of_range.0
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x4c], 1
call fcn.00408fd0
mov esi, dword [esp + 0x50]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push ecx
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x1c], eax
push ecx
mov dword [esi + 0x20], eax
call fcn.00408d60
movzx edx, word [esp + 0x18]
movzx ecx, word [esp + 0x1c]
movzx eax, word [esp + 0x1a]
sub edx, 0x76c
mov dword [esi + 0x14], edx
add esp, 8
lea edx, [esp + 0x1e]
dec eax
mov dword [esi + 0xc], ecx
push edx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.00404b70
movzx eax, word [eax]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
mov dword [esi + 0x18], eax
call fcn.00402b30
movzx edx, word [eax]
dec edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x40
ret