joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f00]
test eax, eax
je 0x404827
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4048e0
mov ecx, dword [esi + 0x3f00]
lea eax, [esi + 0x4ff8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3f00]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
call fcn.00404460
mov edx, dword [0x5e3f3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esi + 4]
sub eax, ecx
push 0
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0x44000080
push 0x560ec0
push str.edit
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x3f00], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esi + 0x3ef8], eax
mov eax, dword [esi + 0x3f00]
push esi
push str.CLASSPROC
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x3f00]
push 0x403d00
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.00404c00
mov ecx, esi
call fcn.00404a90
mov eax, dword [esi + 0x3f00]
lea edx, [esi + 0x4ff8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f00]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret

Function at 0x406793
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 2
call fcn.00500dd0
mov eax, dword [esp + 0x14]
push 1
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4067e7
mov eax, dword [esi + 0x7088]
cmp eax, 0xffffffff
je 0x4067e7
cmp eax, dword [esp + 4]
jne 0x4067e0
mov eax, dword [esi + 0x708c]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x4067e7
mov ecx, esi
call fcn.00407b70
mov ecx, esi
call fcn.004064c0
mov edx, dword [esi + 0x3efc]
mov ecx, 0x20
cmp edx, ecx
jne 0x40680d
test eax, eax
je 0x406820
mov dword [esi + 0x3efc], 0x10
jmp 0x406817
test eax, eax
jne 0x406820
mov dword [esi + 0x3efc], ecx
push 1
mov ecx, esi
call fcn.00407420
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00406620
test eax, eax
je 0x406837
push 0x7f01
jmp 0x406847
mov ecx, esi
call fcn.004065a0
test eax, eax
je 0x406856
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, esi
call fcn.00407450
pop esi
add esp, 8
ret 8
Function at 0x407ab0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [esi + 0x1e50], 0
mov dword [esi + 0x1e54], 0
call fcn.00407a20
push 1
push 0
mov ecx, esi
call fcn.004073a0
mov eax, dword [esi + 0x3f00]
push 0x560ec0
push eax
mov dword [esi + 0x1e5c], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f00]
push 0
push ecx
mov dword [esi + 0x1e5c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.00407c80
push 0x560ec0
mov ecx, esi
call fcn.00406320
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x407b3e
mov edx, dword [esi + 4]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x409090
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.00512b50
mov eax, dword [0x561980]
push edi
test eax, eax
mov edi, ecx
je 0x4090b3
mov eax, 0x561984
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 0x52e450
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 0x40910f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40912d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x40919c
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x40919c
push 0x52e674
push esi
call ebx
test eax, eax
je 0x40913e
lea esi, [eax + 4]
jmp 0x409156
push 2
push 0x52e66c
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x409156
add esi, 4
cmp word [esi], 0
je 0x40919c
push esi
push 0x52e450
push 0x1047
push 0x561984
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x561984
mov word [0x563a12], 0
call fcn.004b9010
push 0x561984
call fcn.004b9710
push 0x561984
call fcn.004b9010
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x561980], 1
mov eax, 0x561984
pop edi
add esp, 0x2090
ret
Function at 0x4092e0
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.0043dd60
lea eax, [esp + 0x1c]
push eax
call fcn.004b90e0
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 + 0xc], eax
je 0x409484
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409484
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.004091c0
test eax, eax
mov dword [0x5deb7c], eax
jne 0x409370
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x409347
mov eax, dword [0x5deb7c]
test eax, eax
je 0x409484
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov edx, dword [0x5deb7c]
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]
cmp word [edi], 0
jne 0x4093f9
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4093d3
push str.PhoenixStudioTaiHang_Simple_Message
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 1
push eax
mov dword [esi + 0x2c], eax
call fcn.004bbe00
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x5deb7c]
push 0
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 0x52e694
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x409455
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40942c
push str.PhoenixStudioTaiHang_Simple_Message
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 1
push eax
mov dword [esi + 0x2c], eax
call fcn.004bbe00
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x5deb7c]
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.0040acc0
test eax, eax
je 0x409473
mov edx, dword [0x5deb7c]
push edi
push 0
push edx
call fcn.0044edf0
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 0x409790
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 0x52e6f0
push ecx
call fcn.0044e2f0
add esp, 0x10
test eax, eax
je 0x40983e
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 0x52da78
push 0x561154
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x560f4c
call esi
push 2
lea ecx, [esp + 0x214]
push 0x560f4c
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004ba6b0
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4

Function at 0x409850
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 0x52e6f0
push esi
call fcn.0044e2f0
add esp, 0x10
test eax, eax
je 0x4098d9
cmp word [esp + 8], 0
je 0x4098d9
push 0
push 0x52e70c
push esi
call fcn.0044e260
add esp, 0xc
cmp eax, 1
jne 0x4098c8
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0043e630
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00404a20
mov ecx, eax
call fcn.0042eb40
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x4098f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x41c
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call fcn.0040a430
push eax
lea eax, [esp + 0x18]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov cx, word [0x560ec0]
xor eax, eax
mov word [esp + 0x228], cx
mov ecx, 0x81
lea edi, [esp + 0x22a]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_time]
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], esi
call fcn.00493fc0
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, esi
je 0x4099bb
lea edx, [esp + 0x21c]
push 0x103
push edx
push 0x52e7c8
push str.Main
push eax
call fcn.00494800
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push str.UsedTime
push str.Main
push ecx
call fcn.004949f0
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.004941b0
add esp, 0x2c
mov edi, dword [esp + 0x428]
mov eax, dword [0x5de228]
cmp edi, esi
je 0x4099df
cmp eax, esi
je 0x4099fa
cmp dword [esp + 0x42c], esi
je 0x4099fa
call fcn.004bc440
jmp 0x4099fa
cmp eax, esi
je 0x4099f1
cmp dword [esp + 0x42c], esi
jne 0x4099f1
call fcn.004bc450
push esi
call fcn.00423580
add esp, 4
cmp dword [0x5de238], esi
je 0x409a28
cmp edi, esi
je 0x409a28
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocStringLen
mov dword [esp + 0x28], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0x41c
ret 8

Function at 0x409f10
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 0x409db0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x409f52
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040a020
pop esi
pop ecx
ret 4

Function at 0x409fd0
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 0x40a016
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x409f70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a016
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40a180
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 0x40a2a1
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 0x52e704
push eax
push 0x52e6f0
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 0x40a2a1
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 0x40a2b1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0040bef0
test eax, eax
je 0x40a2ea
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40bd00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40a2ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40a320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5de220]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40a33a
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
push edi
mov dword [esp + 0x24], 0x4df0c730
mov word [esp + 0x28], 0xdf9d
mov word [esp + 0x2a], 0x4ae3
mov byte [esp + 0x2c], 0x91
mov byte [esp + 0x2d], 0x53
mov byte [esp + 0x2e], 0xaa
mov byte [esp + 0x2f], 0x6b
mov byte [esp + 0x30], 0x82
mov byte [esp + 0x31], 0xe9
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0x5a
mov dword [esp + 0x14], 0x8be2d872
mov word [esp + 0x18], 0x86aa
mov word [esp + 0x1a], 0x4d47
mov byte [esp + 0x1c], 0xb7
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0xcc
mov byte [esp + 0x20], 0xa4
mov byte [esp + 0x21], 0xc
mov byte [esp + 0x22], 0x70
mov byte [esp + 0x23], 0x18
call dword [sym.imp.ole32.dll_CoInitialize]
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 + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40a41e
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40a41e
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 0x40a414
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40a414
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret

Function at 0x40a430
Capabilities:
Set file attributes

Disassembly:
cmp word [0x564a60], 0
jne 0x40a48e
push 0x103
push 0x564a60
call fcn.0040b860
push 0
push 0x564a60
mov dword [0x6159d0], eax
call fcn.0043db40
add esp, 8
test eax, eax
je 0x40a477
push 0x80
push 0x564a60
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x564a60
ret
push 0x564a60
call fcn.0043df50
push 0x564a60
call fcn.00450000
add esp, 8
mov eax, 0x564a60
ret
Function at 0x40a520
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 0x40a5c0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
add edx, 0x26c
push str.LoginEnrolLoginEnrol.dll
stosw word es:[edi], ax
push edx
push 0x52e930
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, 0x560ee8
call fcn.0040ad60
test eax, eax
je 0x40a5c0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40a5c0
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a5b9
mov ecx, dword [esp + 0x224]
dec ecx
push ecx
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [ebx], 0
jne 0x40a60d
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x10]
push str.360SE
push eax
dec ecx
push 0x52e904
push ecx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc
Function at 0x40a9e0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x41c
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40aa4f
mov ecx, dword [esi + 0x5c]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x29
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [esp + 0xc], ecx
jne 0x40aa29
push str.PhoenixStudioTaiHang_Process_Message
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 1
push eax
mov dword [esi + 0x3c], eax
call fcn.004bbe00
add esp, 8
mov esi, dword [esi + 0x3c]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [0x5deb7c]
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 0x41c
ret 8
mov eax, dword [esp + 0x428]
test eax, eax
je 0x40aa65
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x42c]
push 0
lea ecx, [esp + 0x1c]
push 0x103
push ecx
push edi
mov ecx, esi
call fcn.0040a8e0
lea edx, [esp + 0x18]
push 1
push edx
call fcn.0043dcc0
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004baae0
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x18
cmp edi, 0xffffffff
je 0x40aaea
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x18]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push 0x103
push ecx
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040a8e0
lea edx, [esp + 0x18]
push edx
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea eax, [esp + 0x224]
push 0x103
push eax
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x220]
push ecx
call ebx
pop edi
pop ebx
pop esi
add esp, 0x41c
ret 8

Function at 0x40ab40
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x61577c]
sub esp, 0x208
test eax, eax
je 0x40ab84
push 0
push 0x52ea0c
call fcn.0040a620
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x52e450
dec eax
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
add esp, 0x208
ret 8
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
push edx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x210]
lea eax, [esp + 4]
push 0x52ea0c
push eax
dec ecx
push 0x52e930
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8
Function at 0x40ad60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push eax
call fcn.004aa540
add esp, 4
test eax, eax
jne 0x40ae29
mov eax, dword [esp + 0x210]
test eax, eax
je 0x40ae1e
push esi
push edi
call fcn.00445af0
mov eax, dword [eax + 0x298]
test eax, eax
je 0x40ada2
mov esi, dword [eax + 0x28]
test esi, esi
jne 0x40adaa
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov edx, dword [0x5e3f38]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0xc389
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40044
push 0xc38b
call fcn.00499730
add esp, 4
push eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
cmp eax, 6
pop esi
jne 0x40ae0f
push 0x52ea64
call fcn.0044f1c0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
add esp, 0x208
ret 8
mov eax, 1
add esp, 0x208
ret 8
Function at 0x40b860
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x824
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bx
rep stosd dword es:[edi], eax
push 0x56135c
mov dword [esp + 0x14], ebx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 4
push eax
lea eax, [esp + 0x42c]
push 0x56135c
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push 5
lea ecx, [esp + 0x438]
push str..ini
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x1c
lea edx, [esp + 0x21c]
mov ecx, esi
push 0x103
push edx
push 1
call fcn.0040a520
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x424]
lea ecx, [esp + 0x21c]
push eax
push ecx
push 0x52e930
lea edx, [esp + 0x20]
push 0x103
push edx
call ebp
add esp, 0x14
mov ecx, esi
call fcn.00409090
test eax, eax
je 0x40b954
lea ecx, [esp + 0x10]
push ecx
push 0x52ebf8
push eax
call fcn.0044e260
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40b9b4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x21c]
push str.ie6_mode
stosw word es:[edi], ax
push edx
push 0x52e930
lea eax, [esp + 0x638]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x640]
push 0
push ecx
call fcn.0043db40
add esp, 0x1c
test eax, eax
je 0x40b9b4
mov ebx, 1
mov eax, ebx
sub eax, 0
je 0x40ba18
dec eax
jne 0x40ba18
mov eax, dword [esp + 0x83c]
mov edi, dword [esp + 0x838]
lea edx, [esp + 0x21c]
push str.360seie6.ini
push edx
dec eax
push 0x52e930
push eax
push edi
call ebp
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ba38
push 1
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0043e7d0
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040b780
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x824
ret 8
mov eax, dword [esp + 0x83c]
mov ecx, dword [esp + 0x838]
lea edx, [esp + 0x14]
dec eax
push edx
push 0x52e450
push eax
push ecx
call ebp
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x824
ret 8