joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406920
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00407740
mov ecx, esi
call fcn.00407c30
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esi + 0x40]
call fcn.00411c80
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40694f
mov ecx, esi
call fcn.00407950
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407e30
mov ecx, 0x5eb638
call fcn.00495050
push 0
call fcn.0045dfc0
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call sub.gdiplus.dll_GdiplusShutdown
mov esi, dword [esi + 4]
test esi, esi
je 0x406985
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4069d0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004acae0
mov eax, dword [0x51079c]
push edi
test eax, eax
mov edi, ecx
je 0x4069f3
mov eax, 0x5107a0
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x54
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 0x4f6580
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 0x406a4f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x406a6d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x406ad6
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x406ad6
push 0x4f684c
push esi
call ebx
test eax, eax
je 0x406a7e
lea esi, [eax + 6]
jmp 0x406a96
push 2
push 0x4f6844
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x406a96
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x406ad6
push esi
push 0x4f6580
push 0x1047
push 0x5107a0
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x5107a0
mov word [0x51282e], 0
call fcn.0046ef00
push 0x5107a0
call fcn.0046f5d0
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x51079c], 1
mov eax, 0x5107a0
pop edi
add esp, 0x2090
ret
Function at 0x406af0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
lea ecx, [esp + 8]
lea eax, [esi + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x10]
push edx
call fcn.00427b50
lea eax, [esp + 0x14]
push eax
call fcn.0046efd0
add esp, 0x10
lea ecx, [esp + 8]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0xc], eax
je 0x406c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406c2a
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6e0e6c]
test eax, eax
je 0x406c2a
lea ecx, [esp + 4]
push edi
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [esp + 0x218]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x406bba
mov ecx, dword [0x6e0e6c]
push eax
mov eax, dword [esi + 0x24]
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
push 0x4f6854
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x406bf4
mov edx, dword [esi + 0x24]
mov eax, dword [0x6e0e6c]
push 0x1e0000
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
jne 0x406c0a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406c1a
mov ecx, dword [0x6e0e6c]
push edi
push ecx
call fcn.00433df0
add esp, 8
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
xor eax, eax
pop esi
add esp, 0x20c
ret 4

Function at 0x406d80
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 0x4f685c
push ecx
call fcn.004335c0
add esp, 0x10
test eax, eax
je 0x406e2e
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 0x4f6870
push 0x50ff74
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x50fd6c
call esi
push 2
lea ecx, [esp + 0x214]
push 0x50fd6c
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.0046ff40
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x406f00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push 0x103
push ecx
push 0x4f685c
push eax
call fcn.004335c0
add esp, 0x10
test eax, eax
pop edi
je 0x406f51
lea edx, [esp]
push edx
call fcn.0041afd0
mov ecx, eax
call fcn.0041ca80
add esp, 0x208
ret 4

Function at 0x407190
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x5e8084]
sub esp, 0x218
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
jne 0x4071f3
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x54]
lea ecx, [esp + 0x1c]
push eax
push str._s_taihang_cookieevent
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x2c]
push edx
call fcn.00427b50
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
pop edi
call fcn.00428590
call fcn.004285f0
call fcn.004286b0
lea ecx, [esp + 8]
push ebx
lea edx, [esi + 8]
push ecx
push edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdiplusStartup
push 1
call fcn.0045dfc0
push section..taihang
call fcn.004698c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], eax
call fcn.00411aa0
mov ecx, 0x5e6a20
call fcn.00455ed0
mov ecx, esi
call fcn.004078f0
mov eax, dword [0x5e8070]
pop esi
cmp eax, ebx
pop ebx
je 0x407271
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 1
add esp, 0x218
ret
Function at 0x4076a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4c], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x407540
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4076e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00407770
pop esi
pop ecx
ret 4

Function at 0x407740
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x407700
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40776e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4078f0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x407916
mov eax, dword [0x6b409c]
test eax, eax
je 0x407916
call fcn.004138c0
test eax, eax
jne 0x407916
push eax
call fcn.00413760
mov ecx, eax
call fcn.00414860
push 1
call fcn.0044f270
push 1
push 2
push 9
call fcn.0044f240
push 1
push 2
push 0xf
call fcn.0044f240
push 1
push 2
push 0xa
call fcn.0044f240
push 0
call fcn.0044f270
add esp, 0x2c
jmp 0x434750
sub esp, 0x214
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x4347dd
lea eax, [esp + 0x14]
push 0x5020f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4347dd
push 8
push 0x5020f0
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5e8084]
test eax, eax
je 0x43484f
mov eax, dword [0x6b5560]
mov dword [esp + 8], 0
test eax, eax
je 0x434820
push 1
push 0x51017c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00433ee0
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x434848
push 0x51017c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esp + 8]
push 4
push edx
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5e8080]
pop edi
test eax, eax
pop esi
jne 0x43486e
push 1
push 0x51017c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00433ee0
add esp, 0xc
mov eax, dword [0x5e8070]
test eax, eax
je 0x43488b
push 0
push 0x51017c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00433ee0
add esp, 0xc
push 0
push 0x51017c
push 0x501d14
call fcn.00433ee0
add esp, 0x220
ret
Function at 0x407950
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40796f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5eb514]
push 0x208
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
lea edx, [esp + 0x10]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x208
ret

Function at 0x4079f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5e8070]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x407a0a
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 0x407ae7
mov eax, dword [esp + 8]
cmp eax, edi
je 0x407ae7
lea edx, [esp + 0xc]
add esi, 0x25c
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 0x407add
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x407add
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 0x407af0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, ecx
push esi
cmp word [ebp + 0x874], 0
lea esi, [ebp + 0x874]
jne 0x407b85
mov eax, dword [0x5e8070]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x407b68
call fcn.004079f0
test eax, eax
je 0x407b68
push edi
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]
lea ecx, [esp + 0x10]
push 0x4f6a90
push ecx
push 0x4f6a80
push 0x103
push esi
call ebx
add esp, 0x14
pop edi
cmp word [esi], 0
jne 0x407b85
add ebp, 0x25c
push ebp
push 0x4f6580
push 0x103
push esi
call ebx
add esp, 0x10
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x407e30
Capabilities:
Delete directory

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x407e80
mov eax, dword [esi + 0x4c]
mov esi, dword [esi + 0x2c]
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
push ecx
mov dword [esp + 0xc], 0x29
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x6e0e6c]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x210
ret 8
mov eax, dword [esp + 0x220]
test eax, eax
je 0x407e96
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
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
mov edi, dword [esp + 0x21c]
push 0
lea eax, [esp + 0x14]
push 0x103
push eax
push edi
mov ecx, esi
call fcn.00407d80
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.00427ab0
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00470250
add esp, 0x18
cmp edi, 0xffffffff
je 0x407f17
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push 0x103
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407d80
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
add esp, 0x210
ret 8

Function at 0x407f30
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x6d5524]
sub esp, 0x208
test eax, eax
je 0x407f72
push 0x4f6b0c
call fcn.00407ba0
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x4f6580
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 0x4f6b0c
push eax
dec ecx
push 0x4f6614
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8

Function at 0x4089e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004ab030
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00414b40
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x62ac8]
mov dword [esi], 0x4e5b9c
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x62ed8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x62cd0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408f2e
Capabilities:
Delete file
Read .ini file

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
push esi
mov esi, ecx
push edi
push ebx
lea edi, [esi + 0x62cd0]
push 0x103
push edi
push 0x50fd10
push 0x4f6c34
push 0x4f6c28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.0.7.8
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x408f8d
push ebx
mov ecx, esi
call fcn.004090d0
test eax, eax
je 0x408f8d
mov ecx, esi
call fcn.00409000
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
add esp, 0x208
ret 4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x408fe5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5eb510]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0xc37a
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x32
call fcn.00464780
add esp, 4
lea edx, [esp + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
add esp, 0x208
ret 4

Function at 0x4090d0
Capabilities:
Get geographical location
Read .ini file

Disassembly:
sub esp, 0x21c
xor eax, eax
push ebx
mov dword [esp + 6], eax
push esi
mov dword [esp + 0xe], eax
mov esi, ecx
mov dword [esp + 0x12], eax
push edi
mov dword [esp + 0x1a], eax
mov ecx, 0x81
lea edi, [esp + 0x22]
mov word [esp + 0x1e], ax
mov word [esp + 0x20], ax
push 9
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov word [esp + 0x10], 0
push ecx
push 3
push 0x50fd6c
stosw word es:[edi], ax
call fcn.004346d0
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.0046efd0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push str.url__s_extinside
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [esp + 0x23c]
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esi, 0x62ed8
push edi
push 0x823
push esi
lea edx, [esp + 0x2c]
push 0x50fd10
push edx
push 0x4f6c34
call ebx
cmp word [esi], 0
jne 0x4091a0
push edi
push 0x823
push esi
push 0x50fd10
push 0x4f660c
push 0x4f6c34
call ebx
xor eax, eax
pop edi
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x21c
ret 4
Function at 0x409310
Capabilities:
Delete file
Hide graphical window

Disassembly:
sub esp, 0x208
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x409334
mov ecx, 0x50fd18
call fcn.004068f0
pop esi
pop ebx
add esp, 0x208
ret
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x62ac8]
push 0x103
push esi
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004095a0
push esi
call fcn.00427cf0
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 4
lea eax, [esp + 0x10]
push esi
push str._stheworld.zip
push 0x103
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebx + 0x34]
mov ecx, esi
call fcn.004150f0
mov ecx, esi
call fcn.00415430
mov ecx, esi
call fcn.00415110
lea edx, [esi + 0x5d0c8]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x4f6580
push 0x104
push edx
call ebp
lea edx, [esi + 0x5d4d8]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [ebx + 0x62ed8]
push ecx
push 0x4f6580
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x2694], 0x409600
mov dword [esi + 0x2690], ebx
call fcn.00415040
pop edi
pop ebp
test eax, eax
je 0x409474
mov edx, dword [ebx + 0x28]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x28]
push 0
push 0
push 0x402
push 0x3f0
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x28]
push 5
push 0x3f0
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc36c
call fcn.00464780
mov edx, dword [ebx + 0x28]
add esp, 4
push eax
push 0x42e
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x4095a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [esp + 0x214]
mov eax, dword [esp + 0x210]
lea ecx, [esp + 4]
push ecx
push str._sTheWorld_
push edx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
add esp, 0x208
ret 8
Function at 0x40963c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004acae0
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x28]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0x62ac8]
lea ebp, [esi + 0x5d0fc]
push ebx
push ebp
call fcn.004abaa0
add esp, 8
test eax, eax
je 0x4097cd
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], 0
rep stosd dword es:[edi], eax
push 0x4f6c34
push ebx
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4f6614
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4f685c
push 5
push str._tp:
push str._s_d__s_s
push 0x823
push eax
call edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x30]
add esp, 0x1c
rep stosd dword es:[edi], eax
mov eax, dword [0x5e8070]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x50fd6c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x409739
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4097cd
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc366
mov dword [esi + 0x30], 1
call fcn.00464780
mov edx, dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 0x42e
push edx
call edi
push 0xc368
call fcn.00464780
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.00464780
mov ecx, dword [esi + 0x28]
add esp, 4
push eax
push 2
push ecx
call edi
mov edx, dword [esi + 0x28]
push 1
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4097d4
mov ecx, esi
call fcn.004097f0
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128c
ret