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

Disassembly:
push esi
mov esi, ecx
call fcn.00407650
mov ecx, esi
call fcn.00407b40
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esi + 0x40]
call fcn.004115e0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40685f
mov ecx, esi
call fcn.00407860
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407d40
mov ecx, 0x5eb608
call fcn.004953b0
push 0
call fcn.0045e8d0
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call sub.gdiplus.dll_GdiplusShutdown
mov esi, dword [esi + 4]
test esi, esi
je 0x406895
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 0x4068e0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004ace40
mov eax, dword [0x51076c]
push edi
test eax, eax
mov edi, ecx
je 0x406903
mov eax, 0x510770
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 0x4f6574
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 0x40695f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40697d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x4069e6
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x4069e6
push 0x4f6840
push esi
call ebx
test eax, eax
je 0x40698e
lea esi, [eax + 6]
jmp 0x4069a6
push 2
push 0x4f6838
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4069a6
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x4069e6
push esi
push 0x4f6574
push 0x1047
push 0x510770
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x510770
mov word [0x5127fe], 0
call fcn.0046f3e0
push 0x510770
call fcn.0046fab0
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x51076c], 1
mov eax, 0x510770
pop edi
add esp, 0x2090
ret
Function at 0x406a00
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.00428880
lea eax, [esp + 0x14]
push eax
call fcn.0046f4b0
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 0x406b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406b3a
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6d553c]
test eax, eax
je 0x406b3a
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 0x406aca
mov ecx, dword [0x6d553c]
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 0x4f6848
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x406b04
mov edx, dword [esi + 0x24]
mov eax, dword [0x6d553c]
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 0x406b1a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406b2a
mov ecx, dword [0x6d553c]
push edi
push ecx
call fcn.00434b10
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 0x406c90
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 0x4f6850
push ecx
call fcn.004342e0
add esp, 0x10
test eax, eax
je 0x406d3e
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 0x4f6864
push 0x50ff44
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x50fd3c
call esi
push 2
lea ecx, [esp + 0x214]
push 0x50fd3c
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.00470420
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x406e10
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 0x4f6850
push eax
call fcn.004342e0
add esp, 0x10
test eax, eax
pop edi
je 0x406e61
lea edx, [esp]
push edx
call fcn.0041bc60
mov ecx, eax
call fcn.0041d700
add esp, 0x208
ret 4

Function at 0x4070a0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x5e8054]
sub esp, 0x218
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
jne 0x407103
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.00428880
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.004292c0
call fcn.00429320
call fcn.004293e0
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.0045e8d0
push section..taihang
call fcn.0046a330
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], eax
call fcn.00411400
mov ecx, 0x5e69f0
call fcn.00456810
mov ecx, esi
call fcn.00407800
mov eax, dword [0x5e8040]
pop esi
cmp eax, ebx
pop ebx
je 0x407181
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 1
add esp, 0x218
ret
Function at 0x4075b0
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 0x407450
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4075f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00407680
pop esi
pop ecx
ret 4

Function at 0x407650
Capabilities:
Create thread

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

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x407826
mov eax, dword [0x6b409c]
test eax, eax
je 0x407826
call fcn.00413220
test eax, eax
jne 0x407826
push eax
call fcn.004130c0
mov ecx, eax
call fcn.004141c0
push 1
call fcn.0044fb00
push 1
push 2
push 9
call fcn.0044fad0
push 1
push 2
push 0xf
call fcn.0044fad0
push 1
push 2
push 0xa
call fcn.0044fad0
push 0
call fcn.0044fb00
add esp, 0x2c
jmp 0x435470
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 0x4354fd
lea eax, [esp + 0x14]
push 0x5022e0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4354fd
push 8
push 0x5022e0
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5e8054]
test eax, eax
je 0x43556f
mov eax, dword [0x6b5560]
mov dword [esp + 8], 0
test eax, eax
je 0x435540
push 1
push 0x51014c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00434c00
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x435568
push 0x51014c
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 [0x5e8050]
pop edi
test eax, eax
pop esi
jne 0x43558e
push 1
push 0x51014c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00434c00
add esp, 0xc
mov eax, dword [0x5e8040]
test eax, eax
je 0x4355ab
push 0
push 0x51014c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00434c00
add esp, 0xc
push 0
push 0x51014c
push 0x501f04
call fcn.00434c00
add esp, 0x220
ret
Function at 0x407860
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 0x40787f
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 [0x5eb4e4]
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 0x407900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5e8040]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40791a
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 0x4079f7
mov eax, dword [esp + 8]
cmp eax, edi
je 0x4079f7
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 0x4079ed
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4079ed
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 0x407a00
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 0x407a95
mov eax, dword [0x5e8040]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x407a78
call fcn.00407900
test eax, eax
je 0x407a78
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 str.TheWorld
push ecx
push 0x4f6a74
push 0x103
push esi
call ebx
add esp, 0x14
pop edi
cmp word [esi], 0
jne 0x407a95
add ebp, 0x25c
push ebp
push 0x4f6574
push 0x103
push esi
call ebx
add esp, 0x10
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x407d40
Capabilities:
Delete directory

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x407d90
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 [0x6d553c]
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 0x407da6
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.00407c90
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004287e0
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00470730
add esp, 0x18
cmp edi, 0xffffffff
je 0x407e27
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.00407c90
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
add esp, 0x210
ret 8

Function at 0x407e40
Capabilities:
Get common file path

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

Function at 0x4088f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dfb48
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.004ab390
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.004144a0
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], 0x4e5bac
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 0x408e2e
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 0x50fce0
push str.TheWorld.exe
push 0x4f6c1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.1.7.7
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x408e8d
push ebx
mov ecx, esi
call fcn.00408fd0
test eax, eax
je 0x408e8d
mov ecx, esi
call fcn.00408f00
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 0x408ee5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5eb4e0]
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.00465020
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 0x408fd0
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 0x50fd3c
stosw word es:[edi], ax
call fcn.004353f0
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.0046f4b0
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 0x50fce0
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x4090a0
push edi
push 0x823
push esi
push 0x50fce0
push 0x4f6600
push str.TheWorld.exe
call ebx
xor eax, eax
pop edi
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x21c
ret 4
Function at 0x409210
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 0x409234
mov ecx, 0x50fce8
call fcn.00406800
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.004094a0
push esi
call fcn.00428a20
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.00414a50
mov ecx, esi
call fcn.00414d90
mov ecx, esi
call fcn.00414a70
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 0x4f6574
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 0x4f6574
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x2694], 0x409500
mov dword [esi + 0x2690], ebx
call fcn.004149a0
pop edi
pop ebp
test eax, eax
je 0x409374
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.00465020
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 0x4094a0
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 0x40953c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004ace40
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.004abe00
add esp, 8
test eax, eax
je 0x4096cd
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 str.TheWorld.exe
push ebx
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4f6608
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4f6850
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 [0x5e8040]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x50fd3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x409639
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4096cd
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.00465020
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.00465020
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.00465020
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 0x4096d4
mov ecx, esi
call fcn.004096f0
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