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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f18]
test eax, eax
je 0x406067
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x406120
mov ecx, dword [esi + 0x3f18]
lea eax, [esi + 0x5010]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3f18]
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.00405ba0
mov edx, dword [0x58e22c]
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 0x56e1d0
push str.edit
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x3f18], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esi + 0x3f10], eax
mov eax, dword [esi + 0x3f18]
push esi
push str.CLASSPROC
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x3f18]
push 0x405420
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.00406420
mov ecx, esi
call fcn.00406270
mov eax, dword [esi + 0x3f18]
lea edx, [esi + 0x5010]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f18]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret

Function at 0x408213
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 2
call fcn.0050b7c0
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 0x408267
mov eax, dword [esi + 0x70a0]
cmp eax, 0xffffffff
je 0x408267
cmp eax, dword [esp + 4]
jne 0x408260
mov eax, dword [esi + 0x70a4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x408267
mov ecx, esi
call fcn.004096f0
mov ecx, esi
call fcn.00407df0
mov edx, dword [esi + 0x3f14]
mov ecx, 0x20
cmp edx, ecx
jne 0x40828d
test eax, eax
je 0x4082a0
mov dword [esi + 0x3f14], 0x10
jmp 0x408297
test eax, eax
jne 0x4082a0
mov dword [esi + 0x3f14], ecx
push 1
mov ecx, esi
call fcn.00408ef0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00407fd0
test eax, eax
je 0x4082b7
push 0x7f01
jmp 0x4082d2
mov ecx, esi
call fcn.00407ed0
test eax, eax
jne 0x4082cd
mov ecx, esi
call fcn.00407f50
test eax, eax
je 0x4082e1
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.00408f20
pop esi
add esp, 8
ret 8
Function at 0x409630
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [esi + 0x1e68], 0
mov dword [esi + 0x1e6c], 0
call fcn.004095a0
push 1
push 0
mov ecx, esi
call fcn.00408e70
mov eax, dword [esi + 0x3f18]
push 0x56e1d0
push eax
mov dword [esi + 0x1e74], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f18]
push 0
push ecx
mov dword [esi + 0x1e74], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.00409800
push 0x56e1d0
mov ecx, esi
call fcn.00407c40
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4096be
mov edx, dword [esi + 4]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x40aec0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.0051d7f0
mov eax, dword [0x56eca8]
push edi
test eax, eax
mov edi, ecx
je 0x40aee3
mov eax, 0x56ecac
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 0x53a4a4
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 0x40af3f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40af5d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x40afcc
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x40afcc
push 0x53a9e0
push esi
call ebx
test eax, eax
je 0x40af6e
lea esi, [eax + 4]
jmp 0x40af86
push 2
push 0x53a9d8
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40af86
add esi, 4
cmp word [esi], 0
je 0x40afcc
push esi
push 0x53a4a4
push 0x1047
push 0x56ecac
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x56ecac
mov word [0x570d3a], 0
call fcn.004bf470
push 0x56ecac
call fcn.004bfb70
push 0x56ecac
call fcn.004bf470
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x56eca8], 1
mov eax, 0x56ecac
pop edi
add esp, 0x2090
ret
Function at 0x40b110
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.0043f850
lea eax, [esp + 0x1c]
push eax
call fcn.004bf540
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 0x40b2bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b2bf
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.0040aff0
test eax, eax
mov dword [0x588e5c], eax
jne 0x40b1a0
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x40b177
mov eax, dword [0x588e5c]
test eax, eax
je 0x40b2bf
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov edx, dword [0x588e5c]
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 0x40b226
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40b200
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c25d0
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x588e5c]
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
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x53aa18
push edi
call ebx
add esp, 8
test eax, eax
jne 0x40b281
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40b258
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c25d0
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x588e5c]
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 str._sandboxse
push edi
call ebx
add esp, 8
test eax, eax
je 0x40b2ae
push edi
mov ecx, esi
call fcn.0040cba0
test eax, eax
je 0x40b2ae
mov edx, dword [0x588e5c]
push edi
push 0
push edx
call fcn.004508b0
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 0x40b5c0
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 0x53aa2c
push ecx
call fcn.0044fdb0
add esp, 0x10
test eax, eax
je 0x40b66e
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 0x539acc
push 0x56e47c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x56e274
call esi
push 2
lea ecx, [esp + 0x214]
push 0x56e274
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004c0e80
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4

Function at 0x40b680
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 0x53aa2c
push esi
call fcn.0044fdb0
add esp, 0x10
test eax, eax
je 0x40b709
cmp word [esp + 8], 0
je 0x40b709
push 0
push 0x53aa48
push esi
call fcn.0044fd20
add esp, 0xc
cmp eax, 1
jne 0x40b6f8
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00440120
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00406200
mov ecx, eax
call fcn.0042fe50
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x40b720
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.0040c310
push eax
lea eax, [esp + 0x18]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov cx, word [0x56e1d0]
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.00496280
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, esi
je 0x40b7eb
lea edx, [esp + 0x21c]
push 0x103
push edx
push 0x53ab04
push str.Main
push eax
call fcn.00496be0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push str.UsedTime
push str.Main
push ecx
call fcn.00496dd0
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00496470
add esp, 0x2c
mov edi, dword [esp + 0x428]
mov eax, dword [0x5884fc]
cmp edi, esi
je 0x40b80f
cmp eax, esi
je 0x40b82a
cmp dword [esp + 0x42c], esi
je 0x40b82a
call fcn.004c2c10
jmp 0x40b82a
cmp eax, esi
je 0x40b821
cmp dword [esp + 0x42c], esi
jne 0x40b821
call fcn.004c2c20
push esi
call fcn.00425300
add esp, 4
cmp dword [0x58850c], esi
je 0x40b858
cmp edi, esi
je 0x40b858
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 0x40bd70
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 0x40bc10
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bdb2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040be80
pop esi
pop ecx
ret 4

Function at 0x40be30
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 0x40be76
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40bdd0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40be76
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40c060
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 0x40c181
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 0x53aa40
push eax
push 0x53aa2c
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 0x40c181
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 0x40c190
Capabilities:
Create thread

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

Disassembly:
mov eax, dword [0x5884f4]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40c21a
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 0x40c2fe
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40c2fe
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 0x40c2f4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40c2f4
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 0x40c310
Capabilities:
Set file attributes

Disassembly:
cmp word [0x571d88], 0
jne 0x40c36e
push 0x103
push 0x571d88
call fcn.0040d750
push 0
push 0x571d88
mov dword [0x5bf9d8], eax
call fcn.0043f630
add esp, 8
test eax, eax
je 0x40c357
push 0x80
push 0x571d88
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x571d88
ret
push 0x571d88
call fcn.0043fa40
push 0x571d88
call fcn.00451950
add esp, 8
mov eax, 0x571d88
ret
Function at 0x40c400
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 0x40c4a0
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 0x53ac6c
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, 0x56e210
call fcn.0040cc50
test eax, eax
je 0x40c4a0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40c4a0
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c499
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 0x40c4ed
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 0x53ac40
push ecx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc
Function at 0x40c8c0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x41c
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40c92c
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 0x40c906
push 1
push 0x9057
mov dword [esi + 0x3c], 0x9057
call fcn.004c25d0
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 [0x588e5c]
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 0x40c942
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.0040c7c0
lea edx, [esp + 0x18]
push 1
push edx
call fcn.0043f7b0
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004c12b0
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x18
cmp edi, 0xffffffff
je 0x40c9c7
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.0040c7c0
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.0040c740
lea ecx, [esp + 0x220]
push ecx
call ebx
pop edi
pop ebx
pop esi
add esp, 0x41c
ret 8

Function at 0x40ca10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5bf780]
sub esp, 0x208
test eax, eax
je 0x40ca54
push 0
push 0x53acfc
call fcn.0040c500
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x53a4a4
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 0x53acfc
push eax
dec ecx
push 0x53ac6c
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8
Function at 0x40cc50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push eax
call fcn.004ae180
add esp, 4
test eax, eax
jne 0x40cd19
mov eax, dword [esp + 0x210]
test eax, eax
je 0x40cd0e
push esi
push edi
call fcn.00447590
mov eax, dword [eax + 0x298]
test eax, eax
je 0x40cc92
mov esi, dword [eax + 0x28]
test esi, esi
jne 0x40cc9a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov edx, dword [0x58e228]
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.0049bcd0
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 0x40ccff
push str.http:__se.360.cn
call fcn.00450c80
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 0x40d750
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 0x56e684
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 0x56e684
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.0040c400
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x424]
lea ecx, [esp + 0x21c]
push eax
push ecx
push 0x53ac6c
lea edx, [esp + 0x20]
push 0x103
push edx
call ebp
add esp, 0x14
mov ecx, esi
call fcn.0040aec0
test eax, eax
je 0x40d844
lea ecx, [esp + 0x10]
push ecx
push 0x53aee8
push eax
call fcn.0044fd20
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d8a4
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 0x53ac6c
lea eax, [esp + 0x638]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x640]
push 0
push ecx
call fcn.0043f630
add esp, 0x1c
test eax, eax
je 0x40d8a4
mov ebx, 1
mov eax, ebx
sub eax, 0
je 0x40d908
dec eax
jne 0x40d908
mov eax, dword [esp + 0x83c]
mov edi, dword [esp + 0x838]
lea edx, [esp + 0x21c]
push str.360seie6.ini
push edx
dec eax
push 0x53ac6c
push eax
push edi
call ebp
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d928
push 1
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.004402c0
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040d670
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 0x53a4a4
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

Function at 0x40db20
Capabilities:
Delete file

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
mov ecx, 0x56e210
stosw word es:[edi], ax
call fcn.0040c3d0
push eax
push str._sdataFavouriteBar_Bits.dat
lea eax, [esp + 0xc]
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
add esp, 0x400
ret