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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f18]
test eax, eax
je 0x406037
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4060f0
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.00405b70
mov edx, dword [0x58d1a4]
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 0x56d150
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 0x4053f0
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.004063f0
mov ecx, esi
call fcn.00406240
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 0x4081e3
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 2
call fcn.0050b1d0
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 0x408237
mov eax, dword [esi + 0x70a0]
cmp eax, 0xffffffff
je 0x408237
cmp eax, dword [esp + 4]
jne 0x408230
mov eax, dword [esi + 0x70a4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x408237
mov ecx, esi
call fcn.004096b0
mov ecx, esi
call fcn.00407dc0
mov edx, dword [esi + 0x3f14]
mov ecx, 0x20
cmp edx, ecx
jne 0x40825d
test eax, eax
je 0x408270
mov dword [esi + 0x3f14], 0x10
jmp 0x408267
test eax, eax
jne 0x408270
mov dword [esi + 0x3f14], ecx
push 1
mov ecx, esi
call fcn.00408ec0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00407fa0
test eax, eax
je 0x408287
push 0x7f01
jmp 0x4082a2
mov ecx, esi
call fcn.00407ea0
test eax, eax
jne 0x40829d
mov ecx, esi
call fcn.00407f20
test eax, eax
je 0x4082b1
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.00408ef0
pop esi
add esp, 8
ret 8
Function at 0x4095f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [esi + 0x1e68], 0
mov dword [esi + 0x1e6c], 0
call fcn.004c85a0
push 1
push 0
mov ecx, esi
call fcn.00408e40
mov eax, dword [esi + 0x3f18]
push 0x56d150
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.004097c0
push 0x56d150
mov ecx, esi
call fcn.00407c10
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40967e
mov edx, dword [esi + 4]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x40ac60
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.0051d1f0
mov eax, dword [0x56dc20]
push edi
test eax, eax
mov edi, ecx
je 0x40ac83
mov eax, 0x56dc24
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 0x5394a4
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 0x40acdf
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40acfd
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x40ad6c
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x40ad6c
push 0x5399e0
push esi
call ebx
test eax, eax
je 0x40ad0e
lea esi, [eax + 4]
jmp 0x40ad26
push 2
push 0x5399d8
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40ad26
add esi, 4
cmp word [esi], 0
je 0x40ad6c
push esi
push 0x5394a4
push 0x1047
push 0x56dc24
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x56dc24
mov word [0x56fcb2], 0
call fcn.004bed90
push 0x56dc24
call fcn.004bf490
push 0x56dc24
call fcn.004bed90
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x56dc20], 1
mov eax, 0x56dc24
pop edi
add esp, 0x2090
ret
Function at 0x40aeb0
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.0043f340
lea eax, [esp + 0x1c]
push eax
call fcn.004bee60
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 0x40b05f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b05f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.0040ad90
test eax, eax
mov dword [0x587dd4], eax
jne 0x40af40
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x40af17
mov eax, dword [0x587dd4]
test eax, eax
je 0x40b05f
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov edx, dword [0x587dd4]
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 0x40afc6
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40afa0
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c1ed0
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x587dd4]
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 0x539a18
push edi
call ebx
add esp, 8
test eax, eax
jne 0x40b021
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40aff8
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c1ed0
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x587dd4]
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 0x40b04e
push edi
mov ecx, esi
call fcn.0040c930
test eax, eax
je 0x40b04e
mov edx, dword [0x587dd4]
push edi
push 0
push edx
call fcn.00450340
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 0x40b360
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 0x539a2c
push ecx
call fcn.0044f840
add esp, 0x10
test eax, eax
je 0x40b40e
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 0x538acc
push 0x56d3f4
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x56d1ec
call esi
push 2
lea ecx, [esp + 0x214]
push 0x56d1ec
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004c0780
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4

Function at 0x40b420
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 0x539a2c
push esi
call fcn.0044f840
add esp, 0x10
test eax, eax
je 0x40b4a9
cmp word [esp + 8], 0
je 0x40b4a9
push 0
push 0x539a48
push esi
call fcn.0044f7b0
add esp, 0xc
cmp eax, 1
jne 0x40b498
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0043fc10
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.004061d0
mov ecx, eax
call fcn.0042f9a0
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x40b4c0
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.0040c0a0
push eax
lea eax, [esp + 0x18]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov cx, word [0x56d150]
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.00495d90
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, esi
je 0x40b58b
lea edx, [esp + 0x21c]
push 0x103
push edx
push 0x539b04
push str.Main
push eax
call fcn.004965d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push str.UsedTime
push str.Main
push ecx
call fcn.004967c0
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00495f80
add esp, 0x2c
mov edi, dword [esp + 0x428]
mov eax, dword [0x587474]
cmp edi, esi
je 0x40b5af
cmp eax, esi
je 0x40b5ca
cmp dword [esp + 0x42c], esi
je 0x40b5ca
call fcn.004c2510
jmp 0x40b5ca
cmp eax, esi
je 0x40b5c1
cmp dword [esp + 0x42c], esi
jne 0x40b5c1
call fcn.004c2520
push esi
call fcn.00424ed0
add esp, 4
cmp dword [0x587484], esi
je 0x40b5f8
cmp edi, esi
je 0x40b5f8
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 0x40bb10
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 0x40b9b0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bb52
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040bc20
pop esi
pop ecx
ret 4

Function at 0x40bbd0
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 0x40bc16
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40bb70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bc16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40bdf0
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 0x40bf11
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 0x539a40
push eax
push 0x539a2c
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 0x40bf11
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 0x40bf20
Capabilities:
Create thread

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

Disassembly:
mov eax, dword [0x58746c]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40bfaa
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 0x40c08e
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40c08e
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 0x40c084
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40c084
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 0x40c0a0
Capabilities:
Set file attributes

Disassembly:
cmp word [0x570d00], 0
jne 0x40c0fe
push 0x103
push 0x570d00
call fcn.0040d4e0
push 0
push 0x570d00
mov dword [0x5be9d8], eax
call fcn.0043f120
add esp, 8
test eax, eax
je 0x40c0e7
push 0x80
push 0x570d00
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x570d00
ret
push 0x570d00
call fcn.0043f530
push 0x570d00
call fcn.004513e0
add esp, 8
mov eax, 0x570d00
ret
Function at 0x40c190
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 0x40c230
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 0x539c6c
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, 0x56d188
call fcn.0040c9e0
test eax, eax
je 0x40c230
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40c230
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c229
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 0x40c27d
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 0x539c40
push ecx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc
Function at 0x40c650
Capabilities:
Delete directory

Disassembly:
sub esp, 0x41c
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40c6bc
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 0x40c696
push 1
push 0x9057
mov dword [esi + 0x3c], 0x9057
call fcn.004c1ed0
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 [0x587dd4]
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 0x40c6d2
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.0040c550
lea edx, [esp + 0x18]
push 1
push edx
call fcn.0043f2a0
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004c0bb0
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x18
cmp edi, 0xffffffff
je 0x40c757
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.0040c550
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.0040c4d0
lea ecx, [esp + 0x220]
push ecx
call ebx
pop edi
pop ebx
pop esi
add esp, 0x41c
ret 8

Function at 0x40c7a0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5be780]
sub esp, 0x208
test eax, eax
je 0x40c7e4
push 0
push 0x539cfc
call fcn.0040c290
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x5394a4
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 0x539cfc
push eax
dec ecx
push 0x539c6c
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8
Function at 0x40c9e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push eax
call fcn.004adab0
add esp, 4
test eax, eax
jne 0x40caa9
mov eax, dword [esp + 0x210]
test eax, eax
je 0x40ca9e
push esi
push edi
call fcn.00447080
mov eax, dword [eax + 0x298]
test eax, eax
je 0x40ca22
mov esi, dword [eax + 0x28]
test esi, esi
jne 0x40ca2a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov edx, dword [0x58d1a0]
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.0049b640
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 0x40ca8f
push str.http:__se.360.cn
call fcn.00450710
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 0x40d4e0
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 0x56d5fc
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 0x56d5fc
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.0040c190
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x424]
lea ecx, [esp + 0x21c]
push eax
push ecx
push 0x539c6c
lea edx, [esp + 0x20]
push 0x103
push edx
call ebp
add esp, 0x14
mov ecx, esi
call fcn.0040ac60
test eax, eax
je 0x40d5d4
lea ecx, [esp + 0x10]
push ecx
push 0x539ee8
push eax
call fcn.0044f7b0
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d634
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 0x539c6c
lea eax, [esp + 0x638]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x640]
push 0
push ecx
call fcn.0043f120
add esp, 0x1c
test eax, eax
je 0x40d634
mov ebx, 1
mov eax, ebx
sub eax, 0
je 0x40d698
dec eax
jne 0x40d698
mov eax, dword [esp + 0x83c]
mov edi, dword [esp + 0x838]
lea edx, [esp + 0x21c]
push str.360seie6.ini
push edx
dec eax
push 0x539c6c
push eax
push edi
call ebp
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d6b8
push 1
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0043fdb0
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040d400
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 0x5394a4
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 0x40d8b0
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, 0x56d188
stosw word es:[edi], ax
call fcn.0040c160
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