joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x618
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov cx, word [0x50b1d0]
xor eax, eax
mov word [esp + 0xc], cx
mov ecx, 0x81
lea edi, [esp + 0xe]
push 0x4ee168
rep stosd dword es:[edi], eax
push 0x5b
stosw word es:[edi], ax
call fcn.0047f2c0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 4
lea edx, [esp + 0x10]
push eax
push 0x103
push edx
call ebx
add esp, 0x10
cmp word [0x614e28], 0
je 0x401df8
push 0x614e28
push 0x4ee160
lea eax, [esp + 0x14]
push 0x103
push eax
call ebx
add esp, 0x10
cmp word [0x613de0], 0
je 0x401e8b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi + 4]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], 0
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x218]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x214]
push 0x613de0
push eax
push str._s__s
lea ecx, [esp + 0x428]
push 0x103
push ecx
call ebx
mov eax, dword [esi + 4]
add esp, 0x14
lea edx, [esp + 0x41c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0xc]
push ecx
push 0x409
push edx
call edi
push str.3.6.1.0
push 0x5c
call fcn.0047f2c0
add esp, 4
push eax
lea eax, [esp + 0x14]
push 0x103
push eax
call ebx
mov edx, dword [esi + 4]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
push 0x40a
push edx
call edi
lea edi, [esi + 8]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00451b80
mov eax, dword [esi + 4]
push 0x40b
push eax
mov ecx, edi
call fcn.00452070
lea edi, [esi + 0x27c]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00451b80
mov ecx, dword [esi + 4]
push 0x40c
push ecx
mov ecx, edi
call fcn.00452070
pop edi
pop esi
pop ebx
add esp, 0x618
ret
Function at 0x403d2a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403d40
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x403d4a
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 0x403df2
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.004bb040
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00403840
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.004028f0
mov eax, dword [esi + 0x3308]
test eax, eax
je 0x403e2d
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.00403c60
push edi
mov ecx, esi
call fcn.00403aa0
push edi
mov ecx, esi
call fcn.00403b80
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 0x403eb9
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 0x404c5a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004d2e90
push esi
mov esi, ecx
cmp word [esi + 0x3368], 0
lea eax, [esi + 0x3368]
je 0x404c7b
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.0048cb10
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x4ef2e4
push ecx
call edi
add esp, 8
test eax, eax
je 0x404cd6
mov word [eax], 0x2e
jmp 0x404cbc
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00403ef0
mov eax, dword [esi + 0x1218]
pop edi
test eax, eax
je 0x404d23
mov eax, dword [esi + 0x1214]
push 0
push 0
push 0
test eax, eax
push 0
je 0x404d08
push 0x759c
jmp 0x404d0d
push 0x7595
call fcn.00422060
mov ecx, eax
call fcn.004220f0
mov dword [esi + 0x1218], 0
mov eax, dword [esi + 0x121c]
cmp eax, 3
jbe 0x404d3d
push 0
push 0
push 0
push 0
push 0x7596
jmp 0x404d66
jne 0x404d4e
push 0
push 0
push 0
push 0
push 0x7597
jmp 0x404d66
push 0
push 0
test eax, eax
push 0
push 0
ja 0x404d61
push 0x7599
jmp 0x404d66
push 0x7598
call fcn.00422060
mov ecx, eax
call fcn.004220f0
mov eax, dword [esp + 0x1050]
test eax, eax
jne 0x404d84
mov ecx, esi
call fcn.00404970
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.00405770
pop esi
add esp, 0x1048
ret 4
Function at 0x405670
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 0x405762
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x4056bf
xor ebx, ebx
jmp 0x4056d1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x4056d1
mov ebx, 0x18
mov ecx, dword [0x4ef36c]
mov edx, dword [0x4ef370]
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 0x405755
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x40570c
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 0x40574b
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 0x405708
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 0x405cc0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1050
call fcn.004d2e90
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 0x405e51
push eax
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x405d6d
push 7
push 0x4ef398
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405d39
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 0x405d6d
push 0xb
push str.http:__www.
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405e51
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 0x405e51
mov eax, dword [0x5e910c]
test eax, eax
je 0x405e51
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 0x405ded
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea eax, [esi + edx*2]
push eax
push ebp
push 0x4ef374
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 0x4ee160
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 0x409550
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004d2e90
mov eax, dword [0x50bc7c]
push edi
test eax, eax
mov edi, ecx
je 0x409573
mov eax, 0x50bc80
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 0x4ee160
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 0x4095cf
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x4095f1
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x409664
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x409664
push 0x4ef69c
push esi
call ebx
test eax, eax
je 0x409602
lea esi, [eax + 4]
jmp 0x40961a
push 2
push 0x4ef694
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40961a
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x409664
push esi
push 0x4ee160
push 0x1047
push 0x50bc80
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x50bc80
mov word [0x50dd0e], 0
call fcn.0048cb10
push 0x50bc80
call fcn.0048d1e0
push 0x50bc80
call fcn.0048cb10
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x50bc7c], 1
mov eax, 0x50bc80
pop edi
add esp, 0x2090
ret
Function at 0x409790
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.00433a10
lea eax, [esp + 0x1c]
push eax
call fcn.0048cbe0
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 0x4098fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4098fb
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.00409680
test eax, eax
mov dword [0x5e30f0], eax
jne 0x409820
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x4097f7
mov eax, dword [0x5e30f0]
test eax, eax
je 0x4098fb
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov edx, dword [0x5e30f0]
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 0x409890
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x5e30f0]
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 0x4ef6a4
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4098cc
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x5e30f0]
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.0040b350
test eax, eax
je 0x4098ea
mov edx, dword [0x5e30f0]
push edi
push 0
push edx
call fcn.00442660
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 0x409b50
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 0x4ef6d8
push ecx
call fcn.00441db0
add esp, 0x10
test eax, eax
je 0x409bfe
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 0x4ee79c
push 0x50b44c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x50b244
call esi
push 2
lea ecx, [esp + 0x214]
push 0x50b244
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.0048dd40
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x409d60
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 0x4ef6d8
push esi
call fcn.00441db0
add esp, 0x10
test eax, eax
je 0x409de9
cmp word [esp + 8], 0
je 0x409de9
push 0
push 0x4ef700
push esi
call fcn.00441d20
add esp, 0xc
cmp eax, 1
jne 0x409dd8
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004342e0
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00423e30
mov ecx, eax
call fcn.00425b60
pop edi
pop esi
add esp, 0x208
ret 4

Function at 0x409f30
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x5e27c4]
sub esp, 0x208
test eax, eax
push esi
mov esi, ecx
jne 0x409fb4
mov eax, dword [0x5e27c8]
test eax, eax
jne 0x409fb4
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.00433a10
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 [0x5e27c4]
test eax, eax
pop edi
jne 0x409fb4
mov eax, dword [0x5e27c8]
test eax, eax
jne 0x409fb4
call fcn.004345d0
call fcn.00434630
call fcn.004d1190
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], eax
call fcn.00418a30
mov ecx, 0x5e0ce8
call fcn.0046c8a0
mov ecx, esi
call fcn.0040a850
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 1
call fcn.0040b8d0
add esp, 4
mov eax, 1
pop esi
add esp, 0x208
ret
Function at 0x40a540
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 0x40a3e0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a582
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040a650
pop esi
pop ecx
ret 4

Function at 0x40a600
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 0x40a646
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40a5a0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a646
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x40a850
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 0x40a8b8
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.00463380
push 1
push 2
push 9
call fcn.00463350
push 1
push 2
push 0xf
call fcn.00463350
push 1
push 2
push 0xa
call fcn.00463350
push 0
call fcn.00463380
add esp, 0x2c
mov dword [0x5ea560], 1
call fcn.00442c50
pop edi
pop esi
add esp, 0x210
ret
Function at 0x40a910
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 0x40aa31
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 0x4ef6ec
push eax
push 0x4ef6d8
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 0x40aa31
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 0x40aa70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5e27b0]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40aa8a
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 0x40ab67
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40ab67
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 0x40ab5d
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40ab5d
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 0x40aca0
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 0x40ad30
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 0x4ef96c
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 0x40ad30
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ad29
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 0x40ad7d
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 0x4ef940
push edx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc