joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076e0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x407706
mov eax, dword [0x5b509c]
test eax, eax
je 0x407706
call fcn.00413100
test eax, eax
jne 0x407706
push eax
call fcn.00412fa0
mov ecx, eax
call fcn.004140a0
push 1
call fcn.0044ea50
push 1
push 2
push 9
call fcn.0044ea20
push 1
push 2
push 0xf
call fcn.0044ea20
push 1
push 2
push 0xa
call fcn.0044ea20
push 0
call fcn.0044ea50
add esp, 0x2c
jmp 0x433d60
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 0x433ded
lea eax, [esp + 0x14]
push 0x4cebc8
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x433ded
push 8
push 0x4cebc8
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5b0064]
test eax, eax
je 0x433e5f
mov eax, dword [0x5b6560]
mov dword [esp + 8], 0
test eax, eax
je 0x433e30
push 1
push 0x4dae0c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00433870
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x433e58
push 0x4dae0c
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 [0x5b0060]
pop edi
test eax, eax
pop esi
jne 0x433e7e
push 1
push 0x4dae0c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00433870
add esp, 0xc
mov eax, dword [0x5b0050]
test eax, eax
je 0x433e9b
push 0
push 0x4dae0c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00433870
add esp, 0xc
push 0
push 0x4dae0c
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BLOCK_LMZ_SCRIPT
call fcn.00433870
add esp, 0x220
ret
Function at 0x407740
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 0x40775f
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 [0x5b36fc]
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 0x4077e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5b0050]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x4077fa
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 0x4078d7
mov eax, dword [esp + 8]
cmp eax, edi
je 0x4078d7
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 0x4078cd
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4078cd
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 0x4078e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
mov edx, ecx
cmp word [edx + 0x874], 0
push ebx
push esi
lea esi, [edx + 0x874]
push edi
jne 0x4079c5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.LoginEnrolLoginEnrol.dll
add edx, 0x25c
push str.Extensions
stosw word es:[edi], ax
push edx
push 0x4c3a20
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x407970
push str.GetProfilePath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407969
push 0x103
push esi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [esi], 0
jne 0x4079c5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x214]
push edx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x214]
push str.360SE
push eax
push 0x4c39f4
push 0x103
push esi
call ebx
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x410
ret

Function at 0x407d40
Capabilities:
Delete directory

Disassembly:
sub esp, 0x418
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
je 0x407d8e
mov eax, dword [esi + 0x4c]
mov esi, dword [esi + 0x2c]
lea ecx, [esp + 4]
mov dword [esp + 8], 0
push ecx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x5d6540]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 0x418
ret 8
mov eax, dword [esp + 0x424]
test eax, eax
je 0x407da4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
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
mov edi, dword [esp + 0x428]
push 0
lea eax, [esp + 0x18]
push 0x103
push eax
push edi
mov ecx, esi
call fcn.00407c40
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004284f0
push 0
push 0
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0046f560
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x18
cmp edi, 0xffffffff
je 0x407e29
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x14]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push 0x103
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407c40
lea ecx, [esp + 0x14]
push ecx
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], 0
rep stosd dword es:[edi], eax
push 0
lea edx, [esp + 0x220]
push 0x103
push edx
mov ecx, esi
stosw word es:[edi], ax
call fcn.00407bc0
lea eax, [esp + 0x21c]
push eax
call ebx
pop edi
pop ebx
pop esi
add esp, 0x418
ret 8
Function at 0x407e80
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5d6524]
sub esp, 0x208
test eax, eax
je 0x407ec2
push 0x4c3ae0
call fcn.004079e0
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x4c3574
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 0x4c3ae0
push eax
dec ecx
push 0x4c3608
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8

Function at 0x408930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b0268
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.004ab670
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00414370
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], 0x4b4b5c
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 0x408ba0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x25c
mov ax, word [0x4da9a0]
mov edx, dword [0x5b36fc]
push edi
mov word [esp + 0x58], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5a]
push str.seup.exe
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.00428380
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x34], 0x44
push eax
push 0
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x408c43
mov ecx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
pop esi
add esp, 0x25c
ret 4
Function at 0x408d5e
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 0x4da9a0
push str.TheWorld.exe
push 0x4c3b3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.1.0.2
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x408dbd
push ebx
mov ecx, esi
call fcn.00408f00
test eax, eax
je 0x408dbd
mov ecx, esi
call fcn.00408e30
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 0x408e15
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5b36f8]
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.00463f90
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 0x408f00
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 0x4da9fc
stosw word es:[edi], ax
call fcn.00433ce0
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.0046e3b0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push str.url__s
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 0x4da9a0
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x408fd0
push edi
push 0x823
push esi
push 0x4da9a0
push 0x4c3600
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 0x409140
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 0x409164
mov ecx, 0x4da9a8
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.004093d0
push esi
call fcn.00428780
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.00414920
mov ecx, esi
call fcn.00414c60
mov ecx, esi
call fcn.00414940
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 0x4c3574
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 0x4c3574
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x2694], 0x409430
mov dword [esi + 0x2690], ebx
call fcn.00414870
pop edi
pop ebp
test eax, eax
je 0x4092a4
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.00463f90
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 0x4093d0
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 0x40946c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004ad150
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.004ac100
add esp, 8
test eax, eax
je 0x4095fd
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 0x4c3608
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4c3840
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 [0x5b0050]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x4da9fc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x409569
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4095fd
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.00463f90
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.00463f90
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.00463f90
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 0x409604
mov ecx, esi
call fcn.00409620
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
Function at 0x409620
Capabilities:
Delete directory
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 0x28]
push 0
push 0x3f0
push eax
mov dword [esi + 0x30], 0
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xc36a
call fcn.00463f90
mov ecx, dword [esi + 0x28]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 1
push ecx
call ebp
push 0xc367
call fcn.00463f90
mov edx, dword [esi + 0x28]
add esp, 4
push eax
push 0x42e
push edx
call ebp
mov eax, dword [esi + 0x28]
push 5
push 1
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x28]
push 1
push 1
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 0x62ac8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40a5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b02a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004ab670
xor eax, eax
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.00473690
lea ecx, [esi + 0x30]
xor eax, eax
mov dword [esi], 0x4b4c50
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40a6b0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [0x4da9e4]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [esi + 0x50]
mov ecx, 0x4600004c
test edi, edi
mov edx, 0x80
mov eax, 0xfffffffd
je 0x40a704
xor eax, eax
mov ecx, 0x8400004c
test edi, edi
mov edx, 0x8000080
mov edi, 0x4da9a0
jne 0x40a708
mov edi, dword [esp + 0x18]
push 0
push eax
push ebx
push ecx
push edi
push str.Container
push edx
mov ecx, esi
call fcn.004ab760
mov eax, dword [esi + 4]
test eax, eax
je 0x40a74e
mov ecx, dword [esi + 0x50]
test ecx, ecx
jne 0x40a74e
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40a74e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40a74e
push 0
push 9
mov ecx, esi
call fcn.0040ae50
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x40a760
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x40af60
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push edi
mov eax, dword [esi + 0x2c]
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esi + 4]
push 0x80
push 0xffffffffffffffec
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, eax
push 1
push edi
push ebx
call ebp
test eax, eax
je 0x40afaf
push 0
push edi
push ebx
call ebp
mov eax, dword [esi + 4]
push 0x8000080
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.0040b010
test eax, eax
jne 0x40afd9
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40e4a0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.0040de30
cmp dword [esi + 0x5638], 2
jne 0x40e4cd
mov eax, dword [esi + 0x55d0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.0040e180
pop esi
ret
mov ecx, dword [esi + 0x55d8]
push edi
push ecx
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x40e4f8
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x5638]
pop edi
cmp eax, 1
jne 0x40e517
mov edx, dword [esi + 0x5630]
push edx
call fcn.00468740
mov ecx, eax
call fcn.00468b60
mov ecx, esi
call fcn.0040e180
pop esi
ret

Function at 0x410ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b039b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x5648
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x410b00
mov ecx, eax
call fcn.0040b0b0
mov esi, eax
jmp 0x410b02
xor esi, esi
mov eax, dword [0x5b8658]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x410b20
mov eax, dword [0x5b865c]
mov ecx, esi
push eax
call fcn.0040fc30
mov eax, dword [esp + 0x28]
test eax, eax
je 0x410b2e
mov dword [esi + 0x5634], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
push ecx
push edi
call fcn.00468740
mov ecx, eax
call fcn.00468af0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push edi
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0040b760
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18