joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c90e
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 + 0x62ee0]
push 0x103
push edi
push 0x4fff00
push str.TheWorld.exe
push 0x4e536c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.5.0.6
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x40c96d
push ebx
mov ecx, esi
call fcn.0040cab0
test eax, eax
je 0x40c96d
mov ecx, esi
call fcn.0040c9e0
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 0x40c9c5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5dae38]
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.0047b6a0
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 0x40cab0
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 0x4fff70
stosw word es:[edi], ax
call fcn.004422f0
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.00488f00
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, 0x630e8
push edi
push 0x823
push esi
lea edx, [esp + 0x2c]
push 0x4fff00
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x40cb80
push edi
push 0x823
push esi
push 0x4fff00
push 0x4e4acc
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 0x40ccf0
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 0x40cd14
mov ecx, 0x4fff10
call fcn.004093e0
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 + 0x62cd8]
push 0x103
push esi
mov ecx, ebx
stosw word es:[edi], ax
call fcn.0040cf80
push esi
call fcn.004332a0
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.0041bf80
mov ecx, esi
call fcn.0041c2d0
mov ecx, esi
call fcn.0041bfa0
lea edx, [esi + 0x5d0d0]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x4e49c0
push 0x104
push edx
call ebp
lea edx, [esi + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [ebx + 0x630e8]
push ecx
push 0x4e49c0
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x269c], 0x40cfe0
mov dword [esi + 0x2698], ebx
call fcn.0041bed0
pop edi
pop ebp
test eax, eax
je 0x40ce54
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.0047b6a0
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 0x40cf80
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 0x40d01c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004cd000
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 + 0x62cd8]
lea ebp, [esi + 0x5d104]
push ebx
push ebp
call fcn.004cbfc0
add esp, 8
test eax, eax
je 0x40d1ad
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 0x4e4ad4
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4e4e38
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 [0x5d6c18]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x4fff70
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x40d119
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40d1ad
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.0047b6a0
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.0047b6a0
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.0047b6a0
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 0x40d1b4
mov ecx, esi
call fcn.0040d1d0
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 0x40d1d0
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.0047b6a0
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.0047b6a0
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, 0x62cd8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40dfe0
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push esi
push edi
push str.360se_iecompat_filter
push 0
mov edi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
xor esi, esi
test ebx, ebx
mov dword [esp + 0xc], esi
jne 0x40e079
cmp word [edi], si
je 0x40e102
push esi
push 0x80
push 4
push esi
push esi
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e102
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x14
jb 0x40e056
push str.360se_iecompat_filter
push esi
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x208], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [edi + 0x208]
mov dword [edi + 0x20c], esi
test ebx, ebx
mov dword [esp + 0xc], 1
je 0x40e102
push ebp
push 0
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x40e0f2
push ebp
mov ecx, edi
call fcn.0040e610
test eax, eax
je 0x40e0eb
test esi, esi
jne 0x40e0ab
mov esi, dword [ebp + 4]
shl esi, 8
add esi, 0x14
cmp esi, dword [edi + 0x214]
jbe 0x40e0cf
mov ecx, edi
call fcn.0040dfb0
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x210], eax
mov dword [edi + 0x214], esi
mov edi, dword [edi + 0x210]
test edi, edi
je 0x40e0eb
mov ecx, esi
mov esi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
pop ebp
test eax, eax
jne 0x40e102
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40e210
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebx
push ebp
push esi
mov esi, dword [esp + 0x150]
test esi, esi
push edi
mov ebx, ecx
je 0x40e3da
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x50]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e3da
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40e2cd
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40e328
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x50]
push edx
push edi
call ebp
add esp, 8
test eax, eax
je 0x40e3da
mov eax, dword [ebx + 0x210]
add edi, 0x100
inc esi
cmp esi, dword [eax + 4]
jb 0x40e2a6
jmp 0x40e328
push 0x6414
mov dword [ebx + 0x214], 0x6414
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov eax, dword [ebx + 0x210]
mov ebp, dword [ebx + 0x214]
mov ecx, dword [eax + 4]
shl ecx, 8
add ecx, 0x114
cmp ebp, ecx
jae 0x40e38a
add ebp, 0x6400
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040dfb0
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x214], ebp
mov dword [ebx + 0x210], eax
mov eax, dword [ebx + 0x210]
lea edx, [esp + 0x50]
mov esi, 0x100
mov ecx, dword [eax + 4]
shl ecx, 8
lea eax, [ecx + eax + 0x14]
sub edx, eax
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x40e3be
mov cl, byte [edx + eax]
test cl, cl
je 0x40e3be
mov byte [eax], cl
inc eax
dec esi
jne 0x40e3a5
jmp 0x40e3c2
test esi, esi
jne 0x40e3c3
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040e110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret 4
Function at 0x40e3f0
Capabilities:
Parse url

Disassembly:
sub esp, 0x13c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14c]
test esi, esi
push edi
mov ebx, ecx
je 0x40e4ee
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e4ee
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40e4ee
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
lea esi, [eax + 0x14]
jbe 0x40e4ee
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x4c]
push edx
push esi
call ebp
add esp, 8
test eax, eax
je 0x40e4b0
mov eax, dword [ebx + 0x210]
add esi, 0x100
inc edi
cmp edi, dword [eax + 4]
jb 0x40e482
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4
mov edx, dword [ebx + 0x210]
lea eax, [edi + 1]
mov ecx, eax
mov edi, dword [edx + 4]
shl ecx, 0x18
sub ecx, eax
lea eax, [esi + 0x100]
add ecx, edi
shl ecx, 8
push ecx
push eax
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebx + 0x210]
add esp, 0xc
mov ecx, dword [eax + 4]
dec ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040e110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4

Function at 0x40e500
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x210]
test eax, eax
jne 0x40e523
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret 4
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [esp + 0x150]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40e58d
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov al, byte [esp + 0x4c]
push ebp
test al, al
mov dword [esp + 0x10], 0
je 0x40e5f0
mov eax, dword [ebx + 0x210]
xor esi, esi
mov ecx, dword [eax + 4]
lea edi, [eax + 0x14]
test ecx, ecx
jbe 0x40e5f0
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x50]
push edx
push edi
call ebp
add esp, 8
test eax, eax
je 0x40e5e8
mov eax, dword [ebx + 0x210]
add edi, 0x100
inc esi
cmp esi, dword [eax + 4]
jb 0x40e5b6
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
Function at 0x40e640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cb4b0
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.0048eee0
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x1e70], al
mov dword [esi + 0x1e74], edi
mov dword [esi + 0x1e78], edi
mov dword [esi + 0x1e7c], edi
xor ecx, ecx
mov dword [esi], 0x4d4ca8
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1e6c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40e7a0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esi + 0x3c]
mov dword [esi + 0x1e6c], eax
push edx
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x4fff58]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [esi + 0x6c]
mov ecx, 0x4600004c
test edi, edi
mov edx, 0x80
mov eax, 0xfffffffd
je 0x40e7fd
xor eax, eax
mov ecx, 0x84000000
test edi, edi
mov edx, 0x8000080
mov edi, 0x4fff00
jne 0x40e801
mov edi, dword [esp + 0x1c]
push 0
push eax
push ebx
push ecx
push edi
push str.Container
push edx
mov ecx, esi
call fcn.004cb5a0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e849
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40e849
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40e849
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40e849
push 1
push 0
push 9
mov ecx, esi
call fcn.0040f880
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x40e860
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]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x40fa90
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x24]
test eax, eax
je 0x40fafe
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x4c]
test eax, eax
je 0x40fafe
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x40fae2
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.0040fbb0
pop edi
pop esi
test eax, eax
pop ebp
jne 0x40fafe
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x413c20
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004134e0
cmp dword [esi + 0x5694], 2
jne 0x413c56
mov eax, dword [esi + 0x5628]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.004138c0
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x5630]
test eax, eax
je 0x413cb9
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x413cb9
mov ecx, dword [esi + 0x5624]
mov edx, dword [esi + 0x5620]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x5694], 1
jne 0x413cb2
mov eax, dword [esi + 0x562c]
mov ecx, dword [esi + 0x5688]
push eax
push ecx
call fcn.004808d0
mov ecx, eax
call fcn.00480d10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.004138c0
pop edi
pop esi
ret 4
Function at 0x417a20
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x5682e4
call fcn.00417d60
push 0x40
push 0x4d4d30
push 0x5682e4
push 0x5682e4
call fcn.00417c80
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x417aab
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4e5698]
mov ecx, 8
mov esi, eax
mov edi, 0x5682c4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417bc0
mov ecx, dword [0x4e5694]
mov edx, dword [0x4e5698]
push 0x20
push ecx
push edx
call fcn.00417cd0
mov edi, dword [0x4e5694]
add esp, 0x14
mov ecx, 8
mov esi, 0x5682c4
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417a5f
jmp 0x417b04
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4e5694]
mov ecx, 8
mov esi, eax
mov edi, 0x5682c4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417bc0
mov ecx, dword [0x4e5698]
mov edx, dword [0x4e5694]
push 0x20
push ecx
push edx
call fcn.00417cd0
mov edi, dword [0x4e5698]
add esp, 0x14
mov ecx, 8
mov esi, 0x5682c4
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417aba
push 0x40
push 0x4d4d70
push 0x5682e4
push 0x5682e4
call fcn.00417c80
mov eax, dword [esp + 0x24]
push 0x40
push 0x5682e4
push eax
call fcn.00417da0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x417b40
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x568284
call fcn.00417d60
push 0x38
push str.91__
push 0x568284
push 0x568284
call fcn.00417c80
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4d4e68]
mov edx, dword [0x4e569c]
push ecx
push 0x1c
push edx
call fcn.00417d00
movsx eax, byte [esi + 0x4d4e68]
mov ecx, dword [0x4e56a0]
push eax
push 0x1c
push ecx
call fcn.00417d00
push 0x30
push 0x4d4e38
push 0x568284
push edi
call fcn.00417c80
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x417b72
pop edi
pop esi
ret

Function at 0x417bc0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4d4db0
push esi
push 0x568254
call fcn.00417c80
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x568254
call fcn.00417cd0
push 0x568254
push esi
call fcn.00417c10
push 0x20
push 0x4d4de0
push esi
push esi
call fcn.00417c80
add esp, 0x34
pop esi
ret

Function at 0x417cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x417cf2
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 0x417ce4
pop ebx
pop esi
ret