joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c7a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403c90
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x403c9a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x32d8]
test eax, eax
je 0x403d42
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x32d8]
lea eax, [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
push ecx
mov ecx, dword [esi + 0x32d8]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004baae0
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00403790
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.00402840
mov eax, dword [esi + 0x3308]
test eax, eax
je 0x403d7d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push edi
mov ecx, esi
call fcn.00403bb0
push edi
mov ecx, esi
call fcn.004039f0
push edi
mov ecx, esi
call fcn.00403ad0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
sub edx, eax
push edi
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x88]
pop edi
test eax, eax
pop ebp
je 0x403e09
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop esi
pop ebx
add esp, 0x74
ret 4
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
add esp, 0x74
ret 4
Function at 0x404baa
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004d2930
push esi
mov esi, ecx
cmp word [esi + 0x3368], 0
lea eax, [esi + 0x3368]
je 0x404bcb
push eax
mov eax, dword [esi + 0x32d0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x32d0]
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x824
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
push eax
call fcn.0048c2f0
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x4ef2d8
push ecx
call edi
add esp, 8
test eax, eax
je 0x404c26
mov word [eax], 0x2e
jmp 0x404c0c
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00403e40
mov eax, dword [esi + 0x1218]
pop edi
test eax, eax
je 0x404c73
mov eax, dword [esi + 0x1214]
push 0
push 0
push 0
test eax, eax
push 0
je 0x404c58
push 0x759c
jmp 0x404c5d
push 0x7595
call fcn.00421ea0
mov ecx, eax
call fcn.00421f30
mov dword [esi + 0x1218], 0
mov eax, dword [esi + 0x121c]
cmp eax, 3
jbe 0x404c8d
push 0
push 0
push 0
push 0
push 0x7596
jmp 0x404cb6
jne 0x404c9e
push 0
push 0
push 0
push 0
push 0x7597
jmp 0x404cb6
push 0
push 0
test eax, eax
push 0
push 0
ja 0x404cb1
push 0x7599
jmp 0x404cb6
push 0x7598
call fcn.00421ea0
mov ecx, eax
call fcn.00421f30
mov eax, dword [esp + 0x1050]
test eax, eax
jne 0x404cd4
mov ecx, esi
call fcn.004048c0
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
and eax, 0xffff
or eax, 0xb0000
push eax
mov eax, dword [esi + 0x32d4]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x2009
push ecx
mov word [esi + 0x1230], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.004056c0
pop esi
add esp, 0x1048
ret 4
Function at 0x4055c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x214
push esi
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4056b2
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x40560f
xor ebx, ebx
jmp 0x405621
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x405621
mov ebx, 0x18
mov ecx, dword [0x4ef360]
mov edx, dword [0x4ef364]
mov dword [esp + 0x18], ecx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x4056a5
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x40565c
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [edx - 8]
test ecx, ecx
jle 0x40569b
lea eax, [esp + 0x22]
push 0xa
push eax
push edi
call ebp
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
inc edi
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x405658
pop ebp
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x214
ret
Function at 0x405c10
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1050
call fcn.004d2930
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
push edi
mov edi, dword [esp + 0x1070]
mov ebx, ecx
push ebp
mov esi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x106c]
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x405da1
push eax
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x405cbd
push 7
push 0x4ef38c
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405c89
mov eax, dword [esp + 0x10]
lea esi, [edi + 0xe]
push eax
push ebp
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x405cbd
push 0xb
push str.http:__www.
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405da1
mov ecx, dword [esp + 0x10]
lea esi, [edi + 0x16]
push ecx
push ebp
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405da1
mov eax, dword [0x5e910c]
test eax, eax
je 0x405da1
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x32d0]
lea edx, [esp + 0x18]
push 0x823
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x405d3d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea eax, [esi + edx*2]
push eax
push ebp
push 0x4ef368
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebx + 0x32d0]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
mov dword [ebx + 0x32c4], 0
call edi
push esi
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x32d0]
add esp, 8
push eax
push ecx
push 0xb1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0x4ef254
lea eax, [ebx + 0x3368]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esp + 0x107c]
mov edi, dword [esp + 0x1080]
add esp, 0x10
mov dword [ecx], 0
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1078]
mov edx, dword [ebx + 0x4c]
push eax
mov eax, dword [esp + 0x1078]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x107c]
add ebx, 0x4c
push eax
push edi
mov eax, dword [ecx]
mov ecx, ebx
push eax
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1050
ret 0x1c
Function at 0x4094d0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004d2930
mov eax, dword [0x50bc2c]
push edi
test eax, eax
mov edi, ecx
je 0x4094f3
mov eax, 0x50bc30
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x64
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push esi
push 0x4ef254
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x40954f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x409571
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x4095e4
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x4095e4
push 0x4ef690
push esi
call ebx
test eax, eax
je 0x409582
lea esi, [eax + 4]
jmp 0x40959a
push 2
push 0x4ef688
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40959a
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x4095e4
push esi
push 0x4ef254
push 0x1047
push 0x50bc30
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x50bc30
mov word [0x50dcbe], 0
call fcn.0048c2f0
push 0x50bc30
call fcn.0048c9c0
push 0x50bc30
call fcn.0048c2f0
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x50bc2c], 1
mov eax, 0x50bc30
pop edi
add esp, 0x2090
ret
Function at 0x409710
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x64]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x18]
push edx
call fcn.004337d0
lea eax, [esp + 0x1c]
push eax
call fcn.0048c3c0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0x10], eax
je 0x40987b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40987b
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.00409600
test eax, eax
mov dword [0x5e30a0], eax
jne 0x4097a0
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x409777
mov eax, dword [0x5e30a0]
test eax, eax
je 0x40987b
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov edx, dword [0x5e30a0]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [esp + 0x21c]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x409810
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x5e30a0]
push eax
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
push 0x4ef698
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40984c
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x5e30a0]
push 0x1e0000
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
push edi
mov ecx, esi
call fcn.0040b2d0
test eax, eax
je 0x40986a
mov edx, dword [0x5e30a0]
push edi
push 0
push edx
call fcn.004423c0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20c
ret 4

Function at 0x409ad0
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x420]
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push eax
push 0x4ef6cc
push ecx
call fcn.00441b10
add esp, 0x10
test eax, eax
je 0x409b7e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4ee788
push 0x50b3fc
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x50b1f4
call esi
push 2
lea ecx, [esp + 0x214]
push 0x50b1f4
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.0048d520
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x409ce0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push 0x103
push eax
push 0x4ef6cc
push esi
call fcn.00441b10
add esp, 0x10
test eax, eax
je 0x409d69
cmp word [esp + 8], 0
je 0x409d69
push 0
push 0x4ef6f4
push esi
call fcn.00441a80
add esp, 0xc
cmp eax, 1
jne 0x409d58
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004340a0
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00423c70
mov ecx, eax
call fcn.004259b0
pop edi
pop esi
add esp, 0x208
ret 4

Function at 0x409eb0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x5e2774]
sub esp, 0x208
test eax, eax
push esi
mov esi, ecx
jne 0x409f34
mov eax, dword [0x5e2778]
test eax, eax
jne 0x409f34
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x64]
lea ecx, [esp + 8]
push eax
push str._s_taihang_cookieevent
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x18]
push edx
call fcn.004337d0
add esp, 0x14
lea eax, [esp + 8]
push eax
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov eax, dword [0x5e2774]
test eax, eax
pop edi
jne 0x409f34
mov eax, dword [0x5e2778]
test eax, eax
jne 0x409f34
call fcn.00434390
call fcn.004343f0
call fcn.004c7040
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], eax
call fcn.00418930
mov ecx, 0x5e0c98
call fcn.0046c480
mov ecx, esi
call fcn.0040a7d0
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 1
call fcn.0040b840
add esp, 4
mov eax, 1
pop esi
add esp, 0x208
ret
Function at 0x40a4c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x5c], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x40a360
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a502
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040a5d0
pop esi
pop ecx
ret 4

Function at 0x40a580
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 4], eax
je 0x40a5c6
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40a520
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a5c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x40a7d0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
lea esi, [edx + 0x64]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40a838
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.00462ea0
push 1
push 2
push 9
call fcn.00462e70
push 1
push 2
push 0xf
call fcn.00462e70
push 1
push 2
push 0xa
call fcn.00462e70
push 0
call fcn.00462ea0
add esp, 0x2c
mov dword [0x5ea560], 1
call fcn.004429b0
pop edi
pop esi
add esp, 0x210
ret
Function at 0x40a890
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x470
push ebx
push esi
xor ebx, ebx
mov esi, ecx
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
push ebx
lea ecx, [esp + 0x20]
push 1
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x40a9b1
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6e]
mov word [esp + 0x6c], bx
mov word [esp + 0x274], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x276]
lea edx, [esp + 0x6c]
rep stosd dword es:[edi], eax
push 0x103
push edx
push ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [esi + 0x20]
push 0x4ef6e0
push eax
push 0x4ef6cc
push 0xc
lea ecx, [esp + 0x80]
push str._tp:
push ecx
push str._s__s_d__s_d__s_d
lea edx, [esp + 0x294]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x54]
add esp, 0x28
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x28]
push ecx
mov dword [esp + 0x14], eax
push edx
push ebx
mov dword [esp + 0x20], eax
push ebx
push ebx
mov dword [esp + 0x2c], eax
push 1
push ebx
lea eax, [esp + 0x290]
push ebx
push eax
push ebx
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 0x80
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x40a9b1
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
pop esi
pop ebx
add esp, 0x470
ret
Function at 0x40a9f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5e2760]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40aa0a
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x34], 0x4df0c730
mov word [esp + 0x38], 0xdf9d
mov word [esp + 0x3a], 0x4ae3
mov byte [esp + 0x3c], 0x91
mov byte [esp + 0x3d], 0x53
mov byte [esp + 0x3e], 0xaa
mov byte [esp + 0x3f], 0x6b
mov byte [esp + 0x40], 0x82
mov byte [esp + 0x41], 0xe9
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x43], 0x5a
mov dword [esp + 0x24], 0x8be2d872
mov word [esp + 0x28], 0x86aa
mov word [esp + 0x2a], 0x4d47
mov byte [esp + 0x2c], 0xb7
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0x32
mov byte [esp + 0x2f], 0xcc
mov byte [esp + 0x30], 0xa4
mov byte [esp + 0x31], 0xc
mov byte [esp + 0x32], 0x70
mov byte [esp + 0x33], 0x18
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40aae7
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40aae7
lea edx, [esp + 0xc]
add esi, 0x26c
push edx
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x40aadd
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40aadd
mov ecx, dword [eax]
push eax
mov edi, 1
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret

Function at 0x40ac20
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
push edi
mov edx, ecx
jne 0x40acb0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
push str.LoginEnrolLoginEnrol.dll
add edx, 0x26c
push str.Extensions
push edx
stosw word es:[edi], ax
push 0x4ef960
lea eax, [esp + 0x20]
push 0x103
push eax
call ebp
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40acb0
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40aca9
mov edx, dword [esp + 0x224]
dec edx
push edx
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [ebx], 0
jne 0x40acfd
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0x10]
push str.360SE
push ecx
dec edx
push 0x4ef934
push edx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc