joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437a70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468903
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045c721
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00461dba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004632d6
test eax, eax
je 0x437b8c
mov ecx, dword [esp + 0x3c]
call fcn.00461de7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x437b50
push edi
mov ecx, esi
call fcn.0045f448
mov ecx, esi
call fcn.00437cf0
cmp dword [esp + 0x38], 1
jne 0x437b85
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f583
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a5c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a5f3
push esi
call fcn.0043d6b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a5ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a679
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a662
mov eax, dword [esi + 8]
test eax, eax
je 0x43a617
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a65e
cmp eax, 2
je 0x43a662
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a60a
cmp eax, 3
je 0x43a63d
cmp eax, 1
jne 0x43a60a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a60a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a60a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a6a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a688
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a6a0
add esp, 4
pop esi
ret

Function at 0x449080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4490c3
mov eax, dword [esi]
jmp 0x4490c5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x4490e6
push 0x486510
push edi
push eax
call fcn.00458a51
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x449146
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x449146
mov eax, dword [esi]
test eax, eax
je 0x44912d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x44913d
push eax
call fcn.0045aedd
add esp, 4
push esi
call fcn.0045aedd
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x45d517
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d54f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045b5ce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b5a6
jmp 0x45d55b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ec05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45ec47
call fcn.004646bc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45ec47
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45ec3e
xor eax, eax
jmp 0x45ec4f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045ec55
pop edi
pop esi
pop ebx
ret 4

Function at 0x464bec
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x464c1a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464c38
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464b52
jmp 0x464c38
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464c38
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464b52
test edi, edi
mov eax, edi
jne 0x464c22
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402255
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0xc80
push dword [esi + 4]
mov dword [esi + 0x594], 1
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x40228e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x1c]
call fcn.00404830
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x402584
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, eax
je 0x4025a3
cmp dword [esp + 8], eax
jle 0x4025a3
xor byte [eax + ecx], 0xe3
inc eax
cmp eax, dword [esp + 8]
jl 0x402594
xor eax, eax
jmp 0x4025a6
or eax, 0xffffffff
ret 8

Function at 0x402639
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x1000
push 0x449a68
xor ebx, ebx
mov esi, ecx
push edi
push ebx
push 4
mov eax, dword [esi + 0x5ac]
push ebx
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x5ac], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x5ac], ebx
je 0x40273e
lea eax, [ebp - 8]
push ebx
push eax
push 1
push str.S:_ML__NW___LW_
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x4026d8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x4026cf
push dword [ebp - 0x10]
push ebx
push ebx
push ebx
push 0x10
push 6
push dword [esi + 0x5ac]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
push ebx
push ebx
push 6
push dword [esi + 0x5ac]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x402730
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
cmp esi, ebx
je 0x402720
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402720
cmp esi, dword [ebp + 8]
je 0x402720
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
cmp dword [ebp - 4], 0x400
jl 0x4026f5
jmp 0x402729
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx*4], eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x14], ebx
je 0x40273e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x402745
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push edi
je 0x4027a2
push 0x449a68
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x4027a2
push 0x1000
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x40279b
xor ecx, ecx
mov edx, eax
cmp dword [edx], ebx
je 0x402790
inc ecx
add edx, 4
cmp ecx, 0x400
jl 0x40277e
jmp 0x402794
and dword [eax + ecx*4], 0
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
ret 4

Function at 0x4027a7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
and word [ebp - 0x820], 0
push ebx
push esi
mov ebx, 0x103
push edi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x81e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x208
lea eax, [ebp - 0x820]
push esi
push eax
push 6
call fcn.0041dc67
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [ebp - 0x820]
push 0x44996c
push eax
call edi
lea eax, [ebp - 0x820]
push 0x449980
push eax
call edi
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.0040df01
and word [ebp - 0x410], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x820]
push str.mainpage
push eax
push str._s_s.cab
lea eax, [ebp - 0x410]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 0x24
test eax, eax
jne 0x40286d
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x410]
push eax
push 0x457208
push 0x71
push dword [0x45d018]
call fcn.0040d203
and word [ebp - 0xc30], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xc2e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x820]
push 0x44998c
push eax
push 0x4571fc
lea eax, [ebp - 0xc30]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 0x2c
test eax, eax
pop edi
pop esi
pop ebx
jne 0x4028ec
lea eax, [ebp - 0xc30]
push 3
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0040cecb
add esp, 0xc
leave
ret
Function at 0x4028ee
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40297e
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x402917
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40297e
and dword [esp + 0x14], 0
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
jne 0x402935
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40296a
cmp eax, ebp
je 0x402977
push 0
push eax
call ebx
push 0
push ebp
mov esi, eax
call ebx
mov edi, eax
cmp esi, edi
je 0x402955
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, edi
je 0x40296a
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x402922
jmp 0x40297e
push ebp
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x402b28
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x402b66
push dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x402b4c
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
and dword [esi + 8], 0
test eax, eax
je 0x402b66
mov ecx, dword [esi + 4]
mov dword [eax], ecx
pop esi
ret 8

Function at 0x402bad
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4451da
call sub.MSVCRT.dll__EH_prolog
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x449b6c
lea edi, [esi + 0x3c]
mov dword [ebp - 4], 6
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
push edi
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.00402ed8
push ebx
push 0x3e8
mov ecx, esi
call fcn.00402b28
lea eax, [esi + 0x3c]
mov dword [esi + 0x38], 0x449b78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 4
call fcn.004033ef
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call fcn.00403a89
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.00403a89
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00403a89
lea ecx, [esi + 0x10]
mov byte [ebp - 4], bl
call fcn.00403a89
push ebx
push ebx
mov ecx, esi
mov dword [esi], 0x449b7c
call fcn.00402b28
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x402c87
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x402c94
xor eax, eax
pop esi
ret
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x402cb8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 8], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
ret
Function at 0x403e2e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
push ebx
push esi
mov esi, 0x81
push edi
xor ebx, ebx
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x40e]
mov word [ebp - 0x410], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xc0e]
mov word [ebp - 0xc10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc10]
push 0x400
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov ebx, str.EB3FBEA6_170A_4928_BBDE_BF90D9CAAC37
stosw word es:[edi], ax
push ebx
mov edi, 0x103
push str.CLSID_sLocalServer32
lea eax, [ebp - 0x208]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0xc10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0xc10]
push eax
push 1
lea eax, [ebp - 0x208]
push 0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x403f42
push 0x208
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_memset
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerLow_Rights
push str._sElevationPolicy_s
lea eax, [ebp - 0x208]
push edi
push eax
call esi
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00403d5c
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403f47
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.EB3FBEA6_170A_4928_BBDE_BF90D9CAAC37
mov ebx, 0x103
push str.CLSID_s
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
push SysReAllocString
call edi
push 0x208
lea eax, [ebp - 0x208]
push 0
push eax
call sub.MSVCRT.dll_memset
push str.EB3FBEA6_170A_4928_BBDE_BF90D9CAAC37
push str.SOFTWAREMicrosoftInternet_ExplorerLow_Rights
push str._sElevationPolicy_s
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x208]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403fe4
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5e0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 8]
xor ebx, ebx
push ecx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0xc], ebx
cmp esi, ebx
je 0x404066
cmp dword [ebp - 8], 2
jl 0x404066
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str._Register
push dword [esi + 4]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x404035
call fcn.00403e2e
jmp 0x40419a
push str._UnRegister
push dword [esi + 4]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40404f
call fcn.00403f47
jmp 0x40419a
push str._minimized
push dword [esi + 4]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x404066
mov dword [ebp - 0xc], 1
push str.6713BBA7_45B8_4F49_BF3E_58D1990C9B71_Game36Desktop
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4040a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4040a6
push str.CED57B3C_7B7C_48D3_8367_07187E6CCF9E
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push ebx
push ebx
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40419a
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [ebp + 8]
mov esi, 0x45d020
push edi
push ebx
push esi
mov dword [0x45d090], 0x457540
mov dword [0x45d0e8], esi
mov dword [0x45d020], 0x84
mov dword [0x45d084], 0x300
call fcn.004041a3
mov eax, 0x449c68
mov ecx, eax
test ecx, ecx
je 0x4040fc
push 0x10
push eax
push 0x45d0d8
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x5e0]
mov dword [0x45d018], edi
call fcn.00401085
push ebx
push ebx
lea ecx, [ebp - 0x5e0]
call fcn.004042d6
cmp dword [ebp - 0xc], ebx
jne 0x404123
push 5
jmp 0x404125
push 2
push dword [ebp - 0x5dc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
call edi
test eax, eax
je 0x404175
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x5dc]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40416c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
jmp 0x40413e
push esi
call fcn.00404226
cmp dword [ebp - 4], ebx
je 0x404189
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x5e0]
call fcn.004013ac
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4065da
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
push edi
xor ebx, ebx
push str.406A9880_7B5A_4F58_B763_66A80E7B0531_GameExternalHandle
push ebx
push 4
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
cmp edi, ebx
je 0x406627
push esi
push 4
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x406618
mov ebx, dword [esi]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406618
mov ebp, ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
ret

Function at 0x40662d
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x4066b8
cmp word [ebx], si
je 0x4066b8
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jne 0x4066b8
lea eax, [ebp - 0x208]
push str.Internet_Exploreriexplore.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push 0x104
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 5
push esi
lea eax, [ebp - 0x208]
push ebx
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebx
leave
ret 4

Function at 0x40698e
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4069f0
cmp dword [ebp + 0xc], 0x400
jne 0x4069f0
push str.740DE4EC_D8E2_489F_AF3F_FB54E0C5B2E6_ToolbarHandle
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4069f0
push esi
mov esi, 0x1000
push edi
push esi
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4069e5
push esi
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 8
Function at 0x407820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x40784e
push ebx
call fcn.004073e0
test eax, eax
jne 0x40784e
push ebx
push 0x46100c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4078cf
mov edx, 0x81
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
mov word [ebp - 0x410], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40e]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
mov esi, 0x104
push edi
push ebx
lea eax, [ebp - 0x208]
push esi
push eax
push dword [ebp + 8]
push edi
call fcn.0041f243
push edi
push ebx
lea eax, [ebp - 0x410]
push esi
push eax
push dword [ebp + 8]
push 2
call fcn.0041f243
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x30
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
jne 0x4078d3
lea eax, [ebp - 0x410]
push eax
call esi
test eax, eax
jne 0x4078d3
xor eax, eax
jmp 0x4078d5
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4