joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8ee
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 0x5117f0
push str.TheWorld.exe
push 0x4f5da0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.6.1.7
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x40d94d
push ebx
mov ecx, esi
call fcn.0040da90
test eax, eax
je 0x40d94d
mov ecx, esi
call fcn.0040d9c0
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 0x40d9a5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5ed028]
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.00483030
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 0x40da90
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 0x511864
stosw word es:[edi], ax
call fcn.00444370
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.00490660
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 0x5117f0
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x40db60
push edi
push 0x823
push esi
push 0x5117f0
push 0x4f5360
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 0x40dcd0
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 0x40dcf4
mov ecx, 0x511800
call fcn.00409690
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.0040df60
push esi
call fcn.00435320
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.0041d1d0
mov ecx, esi
call fcn.0041d520
mov ecx, esi
call fcn.0041d1f0
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 0x4f5254
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 0x4f5254
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x269c], 0x40dfc0
mov dword [esi + 0x2698], ebx
call fcn.0041d120
pop edi
pop ebp
test eax, eax
je 0x40de34
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.00483030
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 0x40df60
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 0x40dffc
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004d7fa0
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.004d6f60
add esp, 8
test eax, eax
je 0x40e18d
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 0x4f5368
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4f56cc
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 [0x5e8dd0]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x511864
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x40e0f9
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e18d
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.00483030
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.00483030
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.00483030
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 0x40e194
mov ecx, esi
call fcn.0040e1b0
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 0x40e1b0
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.00483030
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.00483030
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 0x40f060
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 0x40f0f9
cmp word [edi], si
je 0x40f182
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 0x40f182
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x14
jb 0x40f0d6
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 0x40f182
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 0x40f172
push ebp
mov ecx, edi
call fcn.0040f670
test eax, eax
je 0x40f16b
test esi, esi
jne 0x40f12b
mov esi, dword [ebp + 4]
shl esi, 8
add esi, 0x14
cmp esi, dword [edi + 0x214]
jbe 0x40f14f
mov ecx, edi
call fcn.0040f030
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 0x40f16b
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 0x40f182
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40f290
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 0x40f45a
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 0x40f45a
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40f34d
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40f3a8
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 0x40f45a
mov eax, dword [ebx + 0x210]
add edi, 0x100
inc esi
cmp esi, dword [eax + 4]
jb 0x40f326
jmp 0x40f3a8
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 0x40f40a
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.0040f030
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 0x40f43e
mov cl, byte [edx + eax]
test cl, cl
je 0x40f43e
mov byte [eax], cl
inc eax
dec esi
jne 0x40f425
jmp 0x40f442
test esi, esi
jne 0x40f443
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.0040f190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret 4
Function at 0x40f470
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 0x40f56e
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 0x40f56e
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40f56e
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
lea esi, [eax + 0x14]
jbe 0x40f56e
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 0x40f530
mov eax, dword [ebx + 0x210]
add esi, 0x100
inc edi
cmp edi, dword [eax + 4]
jb 0x40f502
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.0040f190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4

Function at 0x40f580
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebx
push esi
mov ebx, ecx
push edi
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 0x40f5f5
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov al, byte [esp + 0x4c]
xor edi, edi
test al, al
push ebp
mov dword [esp + 0x10], edi
je 0x40f65e
mov eax, dword [ebx + 0x210]
cmp eax, edi
je 0x40f65e
mov ecx, dword [eax + 4]
lea esi, [eax + 0x14]
cmp ecx, edi
jbe 0x40f65e
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test esi, esi
je 0x40f633
cmp byte [esi], 0
je 0x40f633
lea edx, [esp + 0x50]
push esi
push edx
call ebp
test eax, eax
jne 0x40f656
mov eax, dword [ebx + 0x210]
add esi, 0x100
inc edi
cmp edi, dword [eax + 4]
jb 0x40f61e
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 0x40f6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4db088
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.004d6450
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.00496640
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x29c8], al
mov dword [esi + 0x29cc], edi
mov dword [esi + 0x29d0], edi
mov dword [esi + 0x29d4], edi
xor ecx, ecx
mov dword [esi], 0x4dfcf0
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 + 0x29c4], 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 0x40f800
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 + 0x29c4], eax
push edx
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x51184c]
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 0x40f85d
xor eax, eax
mov ecx, 0x84000000
test edi, edi
mov edx, 0x8000080
mov edi, 0x5117f0
jne 0x40f861
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.004d6540
mov eax, dword [esi + 4]
test eax, eax
je 0x40f8a9
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40f8a9
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40f8a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40f8a9
push 1
push 0
push 9
mov ecx, esi
call fcn.004108e0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x40f8c0
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 0x410af0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x24]
test eax, eax
je 0x410b5e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x4c]
test eax, eax
je 0x410b5e
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 0x410b42
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.00410c10
pop edi
pop esi
test eax, eax
pop ebp
jne 0x410b5e
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x414db0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.00414650
cmp dword [esi + 0x5698], 2
jne 0x414dd5
mov eax, dword [esi + 0x562c]
push 0
push eax
jmp 0x414e5e
mov eax, dword [esi + 0x5634]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x414e2a
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x414e2a
mov ecx, dword [esi + 0x5628]
mov edx, dword [esi + 0x5624]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x414e21
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414e2e
test bl, bl
je 0x414e64
cmp dword [esi + 0x5698], 1
jne 0x414e51
mov eax, dword [esi + 0x5630]
mov ecx, dword [esi + 0x568c]
push eax
push ecx
call fcn.00488270
mov ecx, eax
call fcn.004886b0
test bl, bl
je 0x414e64
mov edx, dword [esi + 0x562c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004149e0
pop edi
pop esi
pop ebx
ret 8
Function at 0x417980
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x567c]
test eax, eax
je 0x417a92
push ebx
push ebp
push edi
mov edi, dword [esi + 0x5628]
xor ebx, ebx
test edi, edi
jne 0x4179b3
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4179b1
call fcn.00417aa0
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4179c5
mov ebx, 1
jmp 0x417a4d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4179d7
mov ebx, 2
jmp 0x417a4d
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x417a46
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x417a33
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x5618]
mov edx, dword [esi + 0x5610]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x417a2c
mov edx, dword [esi + 0x561c]
mov ecx, dword [esi + 0x5614]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x417a2c
mov ebx, 3
jmp 0x417a38
mov ebx, 4
jmp 0x417a38
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x417a4d
call ebp
mov dword [esi + 0x44], eax
jmp 0x417a4d
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x417a80
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x417a80
mov eax, dword [esi + 0x563c]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x417a80
mov eax, dword [esi + 0x5624]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x417a92
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x418bf0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x579bdc
call fcn.00418f30
push 0x40
push 0x4dfd78
push 0x579bdc
push 0x579bdc
call fcn.00418e50
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x418c7b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4f60d8]
mov ecx, 8
mov esi, eax
mov edi, 0x579bbc
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00418d90
mov ecx, dword [0x4f60d4]
mov edx, dword [0x4f60d8]
push 0x20
push ecx
push edx
call fcn.00418ea0
mov edi, dword [0x4f60d4]
add esp, 0x14
mov ecx, 8
mov esi, 0x579bbc
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x418c2f
jmp 0x418cd4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4f60d4]
mov ecx, 8
mov esi, eax
mov edi, 0x579bbc
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00418d90
mov ecx, dword [0x4f60d8]
mov edx, dword [0x4f60d4]
push 0x20
push ecx
push edx
call fcn.00418ea0
mov edi, dword [0x4f60d8]
add esp, 0x14
mov ecx, 8
mov esi, 0x579bbc
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x418c8a
push 0x40
push 0x4dfdb8
push 0x579bdc
push 0x579bdc
call fcn.00418e50
mov eax, dword [esp + 0x24]
push 0x40
push 0x579bdc
push eax
call fcn.00418f70
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret