joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008336
Capabilities:
Create thread

Disassembly:
mov eax, 0x100f4de
call fcn.0100e880
push ecx
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
push dword [ebp - 0x10]
lea ecx, [esi + 0xa8]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
push 0x105
push edi
push edi
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, esi
call fcn.0100815b
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x1008388
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp + 8]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x60], eax
jne 0x10083be
push 0x68
call fcn.01008d3c
pop ecx
push edi
push 0x3f6
push 0x111
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10083c1
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x10091bf
Capabilities:
Set registry value

Disassembly:
push esi
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
or dword [0x1013700], esi
cmp esi, 1
je 0x10091ff
push eax
push dword [esp + 0x10]
push 0x93
call fcn.01008d3c
add esp, 0xc
mov eax, esi
pop esi
ret 0xc

Function at 0x1009205
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
or dword [0x1013700], esi
cmp esi, 1
je 0x1009250
push eax
push dword [ebp + 0xc]
push 0x93
call fcn.01008d3c
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1009257
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 4
pop esi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x1009287
and dword [edi], 0
jmp 0x1009295
test eax, eax
jne 0x100929a
cmp dword [ebp + 0x10], esi
jne 0x100929a
cmp dword [ebp - 4], esi
jne 0x100929a
xor esi, esi
inc esi
jmp 0x10092ad
push eax
push dword [ebp + 0xc]
xor esi, esi
push 0x110
call fcn.01008d3c
add esp, 0xc
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x10092b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push edi
mov dword [ebp - 8], 8
mov edi, 0x100
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x1009334
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov dword [ebp - 8], eax
sub eax, ecx
je 0x1009324
dec eax
dec eax
jne 0x1009334
mov word [esi], cx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0100eefe
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
cmp eax, ecx
mov dword [ebp - 4], eax
jne 0x1009358
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0100eefe
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add edi, 0x100
cmp edi, 0x2000
pop ecx
jb 0x10092cd
jmp 0x100935e
cmp dword [ebp - 4], 1
je 0x100930b
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0x93
call fcn.01008d3c
add esp, 0xc
jmp 0x100931b

Function at 0x1009373
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 2
xor edi, edi
push edi
mov esi, 0x1002b20
push esi
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x10093c6
cmp eax, 5
jne 0x10093b2
push 0x91
call fcn.01008d3c
jmp 0x100945d
push eax
push esi
push 0x92
call fcn.01008d3c
add esp, 0xc
jmp 0x100945e
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, 0x1002ba8
push edi
push dword [ebp - 4]
call esi
test eax, eax
je 0x10093e9
cmp eax, 2
je 0x10093e9
push eax
push edi
push 0x96
jmp 0x10093b9
xor ecx, ecx
cmp eax, 2
setne cl
mov edi, 0x1002bcc
push edi
push dword [ebp - 4]
or dword [0x1013700], ecx
call esi
test eax, eax
je 0x1009425
cmp eax, 2
je 0x1009425
push eax
push edi
push 0x96
call fcn.01008d3c
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100945e
push dword [ebp - 4]
xor ecx, ecx
cmp eax, 2
setne cl
or dword [0x1013700], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1013700], 0
mov dword [ebp - 8], 1
je 0x1009453
push 0xff
jmp 0x1009458
push 0xef
call fcn.01008e1d
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret
Function at 0x10096a7
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor esi, esi
inc esi
cmp eax, esi
je 0x10096d7
push 0x91
call fcn.01008d3c
pop ecx
xor eax, eax
jmp 0x1009730
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1002bec
xor edi, edi
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
jne 0x1009717
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
jne 0x1009717
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1009724
push 0x91
xor esi, esi
call fcn.01008d3c
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x100bbd8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f924
call fcn.0100e880
sub esp, 0x40
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_2
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
mov ecx, 0x101377c
call fcn.01008bf0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator_3
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [0x1013754]
and dword [ebp + 0xc], 0
test edi, edi
mov esi, 0x101374c
jle 0x100bc79
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0100a98b
mov ebx, eax
push dword [ebx + 4]
push dword [ebp - 0x14]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x100bc68
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x100bc40
jmp 0x100bc74
add ebx, 0x24
push ebx
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
cmp dword [ebp + 0xc], edi
jl 0x100bcab
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x14]
mov ecx, 0x1013744
call fcn.0100b0f1
test eax, eax
jl 0x100bcae
and dword [0x1013778], 0
push eax
mov ecx, esi
call fcn.0100a98b
add eax, 0x24
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
jmp 0x100bcae
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x100bcc1
push 0x75
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
xor eax, eax
push 0xd
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104c
push dword [eax + 0x1f4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100bd37
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [ebx + 0x20]
mov dword [ebp - 0x1c], 1
call esi
mov edx, eax
test edx, edx
jl 0x100bdb3
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x104b
push dword [ebx + 0x20]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], edx
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x100bfd5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f96b
call fcn.0100e880
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
lea ecx, [ebp - 0x10]
jne 0x100c002
push 0x10c
jmp 0x100c007
push 0x10b
call sub.MFC42u.DLL_CString::LoadStringW
xor eax, eax
push 0xd
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], 1
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104c
push dword [esi + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100ca7f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 6
mov ebx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [ebx + 0x12c]
mov dword [ebp - 0x1c], 1
call esi
mov edx, eax
test edx, edx
jl 0x100cb02
cmp edx, 0xa
jg 0x100cb02
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
and dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x104b
push dword [ebx + 0x12c]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], edx
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100cb0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push 0x10031b0
push 0x20
push eax
mov esi, ecx
call dword [sym.imp.msvcrt.dll__snwprintf]
and word [ebp - 0x36], 0
add esp, 0x10
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104c
push dword [esi + 0x12c]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
leave
ret 8

Function at 0x100d4f1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 6
mov ebx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [ebx + 0x1ac]
mov dword [ebp - 0x1c], 1
call esi
mov edx, eax
test edx, edx
jl 0x100d574
cmp edx, 7
jg 0x100d574
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
and dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x104b
push dword [ebx + 0x1ac]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], edx
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100d57e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104c
push dword [edx + 0x1ac]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
leave
ret 8

Function at 0x100df4c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100faca
call fcn.0100e880
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
xor edi, edi
inc edi
lea ecx, [esi + 0x60]
mov dword [ebp - 0x34], 0x1013704
mov dword [ebp - 0x48], edi
call fcn.010045e0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104d
push dword [esi + 0x80]
call ebx
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x100e003
push dword [ebp + 0xc]
lea ecx, [esi + 0x60]
push eax
call sub.MFC42u.DLL_CListCtrl::SetCheck
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x34], eax
je 0x100e003
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104c
push dword [esi + 0x80]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100df5a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100faca
call fcn.0100e880
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
xor edi, edi
inc edi
lea ecx, [esi + 0x60]
mov dword [ebp - 0x34], 0x1013704
mov dword [ebp - 0x48], edi
call fcn.010045e0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104d
push dword [esi + 0x80]
call ebx
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x100e003
push dword [ebp + 0xc]
lea ecx, [esi + 0x60]
push eax
call sub.MFC42u.DLL_CListCtrl::SetCheck
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x34], eax
je 0x100e003
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104c
push dword [esi + 0x80]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100e686
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10036c8
call fcn.0100e9cc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100e6c1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100e6c1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100e6d9
cmp eax, 0x20b
je 0x100e6c6
mov dword [ebp - 0x1c], edi
jmp 0x100e6ed
cmp dword [ecx + 0x84], 0xe
jbe 0x100e6c1
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100e6e7
cmp dword [ecx + 0x74], 0xe
jbe 0x100e6c1
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10137b0], 0xffffffff
or dword [0x10137b4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10137a0]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x101379c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10137ac], eax
call fcn.0100e9c6
cmp dword [0x1012600], edi
jne 0x100e74a
push fcn.0100e9c6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100e9b4
push 0x1001570
push 0x100156c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1013798]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1013794]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x1001568
push 0x100153c
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x100e7b0
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x100e86a
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x100e7fe
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x100e7cc
cmp ax, 0x22
jne 0x100e7b9
cmp word [esi], 0x22
jne 0x100e7d7
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x100e7e5
cmp ax, 0x20
jbe 0x100e7d2
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x100e80b
movzx eax, word [ebp - 0x48]
jmp 0x100e80e
cmp word [esi], 0x20
jbe 0x100e7d7
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x100e7fe
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x100e82f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100e864
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100ea05
ret
Function at 0x10007f24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101e6798]
jne 0x10007f2e
repz ret
jmp fcn.10009e1f

Function at 0x1000985f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007fbf
and dword [ebp - 4], 0
cmp dword [0x101e86c4], 0
mov ebx, eax
jne 0x10009910
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100099c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100099c1
push eax
call fcn.10007f4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101e86c4], eax
call esi
push eax
call fcn.10007f4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101e86c8], eax
call esi
push eax
call fcn.10007f4d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101e86cc], eax
call esi
push eax
call fcn.10007f4d
pop ecx
mov dword [0x101e86d4], eax
test eax, eax
je 0x10009910
push 0x10195cec
push edi
call esi
push eax
call fcn.10007f4d
pop ecx
mov dword [0x101e86d0], eax
mov eax, dword [0x101e86d0]
cmp eax, ebx
je 0x10009968
cmp dword [0x101e86d4], ebx
je 0x10009968
push eax
call fcn.10007fc8
push dword [0x101e86d4]
mov esi, eax
call fcn.10007fc8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10009968
test edi, edi
je 0x10009968
call esi
test eax, eax
je 0x1000995f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000995f
test byte [ebp - 0xc], 1
jne 0x10009968
or dword [ebp + 0x10], 0x200000
jmp 0x100099a1
mov eax, dword [0x101e86c8]
cmp eax, ebx
je 0x100099a1
push eax
call fcn.10007fc8
pop ecx
test eax, eax
je 0x100099a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100099a1
mov eax, dword [0x101e86cc]
cmp eax, ebx
je 0x100099a1
push eax
call fcn.10007fc8
pop ecx
test eax, eax
je 0x100099a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101e86c4]
call fcn.10007fc8
pop ecx
test eax, eax
je 0x100099c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100099c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret