joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d80
Capabilities:
Delete directory

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x44]
test eax, eax
je 0x406dd0
mov eax, dword [esi + 0x40]
mov esi, dword [esi + 0x24]
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 [0x6c0e44]
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 0x406de6
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.00406cd0
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004228d0
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00462290
add esp, 0x10
cmp edi, 0xffffffff
je 0x406e63
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.00406cd0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
add esp, 0x210
ret 8

Function at 0x406e70
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x6b5508]
sub esp, 0x208
test eax, eax
je 0x406eb2
push 0x4de7dc
call fcn.00406b00
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x4de3ac
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 0x4de7dc
push eax
dec ecx
push 0x4de7b4
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8

Function at 0x4078e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9848
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.00494040
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.004127f0
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x628b4]
mov dword [esi], 0x4ceb2c
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x62cc4]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x62abc]
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 0x407d45
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
push ebx
lea edi, [esi + 0x62abc]
push 0x103
push edi
push 0x4f04e0
push str.TheWorld.exe
push 0x4de8c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.0.4.5
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x407d91
push ebx
mov ecx, esi
call fcn.00407e20
test eax, eax
je 0x407d91
mov ecx, esi
call fcn.00407da0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
ret 4

Function at 0x407e20
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 0x4f0530
stosw word es:[edi], ax
call fcn.0042b960
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.00461190
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, 0x62cc4
push edi
push 0x823
push esi
lea edx, [esp + 0x2c]
push 0x4f04e0
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x407ef0
push edi
push 0x823
push esi
push 0x4f04e0
push 0x4de438
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 0x408060
Capabilities:
Delete file
Hide graphical window

Disassembly:
sub esp, 0x208
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x408084
mov ecx, 0x4f04e8
call fcn.00405b90
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 + 0x628b4]
push 0x103
push esi
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004082a0
push esi
call fcn.00422b10
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 + 0x30]
mov ecx, esi
call fcn.00412c10
mov ecx, esi
call fcn.00412eb0
mov ecx, esi
call fcn.00412c30
lea edx, [esi + 0x5cec8]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x4de3ac
push 0x104
push edx
call ebp
lea edx, [esi + 0x5d2d8]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [ebx + 0x62cc4]
push ecx
push 0x4de3ac
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x2690], 0x408300
mov dword [esi + 0x268c], ebx
call fcn.00412bb0
pop edi
pop ebp
test eax, eax
je 0x4081c4
mov edx, dword [ebx + 0x24]
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 + 0x24]
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 + 0x24]
push 5
push 0x3f0
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc36c
call fcn.00457390
mov edx, dword [ebx + 0x24]
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 0x4082a0
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 0x40833c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.00495c50
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x24]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0x628b4]
lea ebp, [esi + 0x5cef8]
push ebx
push ebp
call fcn.00494b30
add esp, 8
test eax, eax
je 0x4084d4
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 0x4de7b4
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4de5e0
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 [0x5c79bc]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x4f0530
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x408439
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4084cd
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 + 0x2c], 1
call fcn.00457390
mov edx, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 0x42e
push edx
call edi
push 0xc368
call fcn.00457390
add esp, 4
push eax
mov eax, dword [esi + 0x24]
push 1
push eax
call edi
push 0xc369
call fcn.00457390
mov ecx, dword [esi + 0x24]
add esp, 4
push eax
push 2
push ecx
call edi
mov edx, dword [esi + 0x24]
push 1
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4084d4
mov ecx, esi
call fcn.004084f0
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 0x4084f0
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 + 0x24]
push 0
push 0x3f0
push eax
mov dword [esi + 0x2c], 0
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xc36a
call fcn.00457390
mov ecx, dword [esi + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 1
push ecx
call ebp
push 0xc367
call fcn.00457390
mov edx, dword [esi + 0x24]
add esp, 4
push eax
push 0x42e
push edx
call ebp
mov eax, dword [esi + 0x24]
push 5
push 1
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x24]
push 1
push 1
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 0x628b4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4094b0
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 [0x4f0518]
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 0x409504
xor eax, eax
mov ecx, 0x8600004c
test edi, edi
mov edx, 0x8000080
mov edi, 0x4f04e0
jne 0x409508
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.00494140
mov eax, dword [esi + 4]
test eax, eax
je 0x40954e
mov ecx, dword [esi + 0x50]
test ecx, ecx
jne 0x40954e
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40954e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40954e
push 0
push 9
mov ecx, esi
call fcn.00409ab0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x409560
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 0x409b60
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 0x409baf
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.00409c10
test eax, eax
jne 0x409bd9
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 0x409f00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov edx, edi
mov esi, ecx
and edx, 2
xor ecx, ecx
mov dword [esi + 0x43c8], edx
mov edx, edi
mov dword [esi + 0x43d8], eax
and edx, 1
sub eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esi + 0x4370], ebx
mov dword [esi + 0x4374], ebp
mov dword [esi + 0x43cc], edx
je 0x40a094
dec eax
je 0x409fb4
dec eax
jne 0x40a0bb
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x3c]
xor eax, eax
push ecx
push edi
lea edx, [esp + 0x1c]
push 2
mov dword [esp + 0x24], eax
push edx
push esi
mov dword [esp + 0x30], eax
push ebp
push ebx
mov dword [esp + 0x3c], eax
call fcn.0040e170
mov ecx, eax
call fcn.0040e320
test eax, eax
je 0x40a0bb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 1
mov dword [esi + 0x437c], eax
mov dword [esi + 0x4380], ecx
jmp 0x40a0c2
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], ecx
push eax
xor edx, edx
push edi
lea ecx, [esp + 0x1c]
push 1
mov dword [esp + 0x24], edx
push ecx
push esi
mov dword [esp + 0x30], edx
push ebp
push ebx
mov dword [esp + 0x3c], edx
call fcn.0040e170
mov ecx, eax
call fcn.0040e320
test eax, eax
je 0x40a0bb
push 2
lea eax, [esi + 0x437c]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [esp + 0x24]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x40a0bb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x4380], eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [esi + 0x4388], ecx
je 0x40a04a
mov edx, dword [esi + 0x437c]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
push 0x14
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x34], eax
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x226
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
call fcn.0040a850
test eax, eax
je 0x40a0bb
mov dword [esp + 0x10], 1
jmp 0x40a0c2
push edi
push esi
push ebp
push ebx
push ecx
mov dword [esi + 0x437c], ecx
mov dword [esi + 0x4380], 0xffffffff
call fcn.00438670
add esp, 0x14
mov dword [esp + 0x10], 1
jmp 0x40a0c2
mov ecx, esi
call fcn.0040c470
mov eax, 4
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
push str.IEFontSize
push 0x4ded24
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40a101
mov edx, dword [esp + 0x48]
mov dword [esi + 0x43b0], edx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x40c650
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.0040c1b0
cmp dword [esi + 0x43d8], 2
jne 0x40c67f
mov eax, dword [esi + 0x437c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.0040c450
pop edi
pop esi
ret
mov ecx, dword [esi + 0x4384]
push ecx
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x40c6a9
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040c450
pop edi
pop esi
ret

Function at 0x40e4d0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x1294
call fcn.00495c50
mov ax, word [0x4f04e0]
push esi
mov esi, ecx
push edi
mov word [esp + 0x4c], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x4e]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x12b0]
mov edx, dword [esp + 0x12a4]
stosw word es:[edi], ax
mov eax, dword [esp + 0x12b4]
push eax
and al, 2
push 0x4de704
push ecx
mov ecx, dword [esp + 0x12b4]
push 0x4de6dc
neg al
push edx
mov edx, dword [esp + 0x12b4]
sbb eax, eax
push 0x4de714
push ecx
and eax, 5
push 0x4de70c
push edx
inc eax
push 0x4de71c
push eax
push str._tp:
push 0x4f0530
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d
lea eax, [esp + 0x84]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], 0
rep stosd dword es:[edi], eax
add esp, 0x40
mov ecx, esi
call fcn.0040e5e0
mov edi, dword [esp + 0x12ac]
lea ecx, [esp + 8]
push edi
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x68]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x40e5c6
mov eax, dword [edi + 4]
test eax, eax
je 0x40e5c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
mov eax, esi
pop edi
pop esi
add esp, 0x1294
ret 0x18
Function at 0x40f250
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x55b2f4
call fcn.0040f590
push 0x40
push 0x4cec48
push 0x55b2f4
push 0x55b2f4
call fcn.0040f4b0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x40f2db
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4def24]
mov ecx, 8
mov esi, eax
mov edi, 0x55b2d4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040f3f0
mov ecx, dword [0x4def20]
mov edx, dword [0x4def24]
push 0x20
push ecx
push edx
call fcn.0040f500
mov edi, dword [0x4def20]
add esp, 0x14
mov ecx, 8
mov esi, 0x55b2d4
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40f28f
jmp 0x40f334
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4def20]
mov ecx, 8
mov esi, eax
mov edi, 0x55b2d4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040f3f0
mov ecx, dword [0x4def24]
mov edx, dword [0x4def20]
push 0x20
push ecx
push edx
call fcn.0040f500
mov edi, dword [0x4def24]
add esp, 0x14
mov ecx, 8
mov esi, 0x55b2d4
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40f2ea
push 0x40
push 0x4cec88
push 0x55b2f4
push 0x55b2f4
call fcn.0040f4b0
mov eax, dword [esp + 0x24]
push 0x40
push 0x55b2f4
push eax
call fcn.0040f5d0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40f370
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x55b294
call fcn.0040f590
push 0x38
push str.91__
push 0x55b294
push 0x55b294
call fcn.0040f4b0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4ced80]
mov edx, dword [0x4def28]
push ecx
push 0x1c
push edx
call fcn.0040f530
movsx eax, byte [esi + 0x4ced80]
mov ecx, dword [0x4def2c]
push eax
push 0x1c
push ecx
call fcn.0040f530
push 0x30
push 0x4ced50
push 0x55b294
push edi
call fcn.0040f4b0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x40f3a2
pop edi
pop esi
ret

Function at 0x40f3f0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4cecc8
push esi
push 0x55b264
call fcn.0040f4b0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x55b264
call fcn.0040f500
push 0x55b264
push esi
call fcn.0040f440
push 0x20
push 0x4cecf8
push esi
push esi
call fcn.0040f4b0
add esp, 0x34
pop esi
ret

Function at 0x40f500
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x40f522
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x40f514
pop ebx
pop esi
ret
Function at 0x4100e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44
lea edx, [esp + 0x10]
push edi
push edx
push 0x44000000
push 0x4f04e0
push str.XWnd
push 0
mov ecx, esi
call fcn.00494140
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.00457390
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x44]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x52c], eax
call fcn.00436d70
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00437230
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.00457390
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2b8]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x530], eax
call fcn.00436d70
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00437230
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x410290
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x4102b0
call fcn.00410210
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x411350
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.004120d0
mov esi, dword [esp + 0x214]
test eax, eax
jne 0x4113eb
push 0
push str._tp:
mov ecx, 0x4f04e8
call fcn.00405c30
push eax
call fcn.0042a880
add esp, 0xc
cmp eax, 2
je 0x4113eb
mov ax, word [0x4f04e0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
push esi
push 0x4de5e0
push 2
push str._tp:
push str._s_d__s_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea edx, [esp + 0xc]
push 5
push 0
push edx
push 0x4f0530
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
jbe 0x411455
test esi, esi
je 0x4113f9
mov dword [0x694098], 1
call fcn.00412620
push esi
call fcn.00411620
push esi
call fcn.00411a40
push esi
call fcn.00411760
push esi
call fcn.00411e00
push esi
call fcn.004124f0
add esp, 0x14
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
add esp, 0x20c
ret