joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a270
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x220
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x22c]
lea eax, [esp + 0x20]
push edi
push 0x4f6170
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [0x5191c4]
add esp, 0x10
test ecx, ecx
mov dword [esp + 8], ebx
je 0x40a2f0
mov eax, dword [0x5191fc]
test eax, eax
jne 0x40a2da
push str.AppKeyExists
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x5191fc], eax
je 0x40a2e8
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push edx
call eax
mov ebx, eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x40a338
xor eax, eax
mov ecx, 0x514ff8
mov dword [esp + 0xe], eax
mov word [esp + 0xc], 0
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call fcn.00407bc0
push eax
lea ecx, [esp + 0x10]
push 8
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor edx, edx
pop edi
cmp edx, eax
pop ebx
sbb eax, eax
neg eax
add esp, 0x220
ret
mov eax, ebx
pop edi
pop ebx
add esp, 0x220
ret

Function at 0x40a710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dc698
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.004d7b60
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00419fc0
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 + 0x62cd8]
mov dword [esi], 0x4e1bbc
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x630e8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x62ee0]
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 0x40a960
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x25c
mov ax, word [0x514ff0]
mov edx, dword [0x5f18c4]
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.00432980
lea eax, [esp + 0x68]
push eax
call fcn.00443800
add esp, 0x14
test eax, eax
je 0x40aa1a
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 4], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 4]
mov dword [esp + 8], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0xc], ecx
push edx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x2c], ecx
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], 0x44
push ecx
push 0
mov word [esp + 0x6c], 5
mov dword [esp + 0x68], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40aa1a
mov edx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop esi
pop edi
add esp, 0x25c
ret 4
Function at 0x40ab3e
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 0x514ff0
push str.TheWorld.exe
push 0x4f7ea8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.3.7.1.2
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x40ab9d
push ebx
mov ecx, esi
call fcn.0040ace0
test eax, eax
je 0x40ab9d
mov ecx, esi
call fcn.0040ac10
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 0x40abf5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5f18c0]
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.004843d0
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 0x40ace0
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 0x515064
stosw word es:[edi], ax
call fcn.00442bd0
add esp, 4
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0xc]
push edx
call fcn.00491ef0
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 0x514ff0
push edx
push str.TheWorld.exe
call ebx
cmp word [esi], 0
jne 0x40adb0
push edi
push 0x823
push esi
push 0x514ff0
push 0x4f7ee4
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 0x40af20
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 0x40af44
mov ecx, 0x514ff8
call fcn.004065a0
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.0040b1b0
push esi
call fcn.00433230
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.0041a590
mov ecx, esi
call fcn.0041a8e0
mov ecx, esi
call fcn.0041a5b0
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 0x4f6170
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 0x4f6170
push 0x824
push edx
call ebp
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x269c], 0x40b210
mov dword [esi + 0x2698], ebx
call fcn.0041a4e0
pop edi
pop ebp
test eax, eax
je 0x40b084
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.004843d0
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 0x40b1b0
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 0x40b24c
Capabilities:
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
mov eax, 0x128c
call fcn.004d9670
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.004d8650
add esp, 8
test eax, eax
je 0x40b3dd
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 0x4f7884
lea ecx, [esp + 0x58]
push 0x103
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x254]
push edx
push 0x4f7624
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 [0x5ed660]
lea ecx, [esp + 0x254]
test eax, eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x515064
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str.open
je 0x40b349
mov dword [esp + 0x1c], str.runas
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40b3dd
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.004843d0
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.004843d0
add esp, 4
push eax
mov eax, dword [esi + 0x28]
push 1
push eax
call edi
push 0xc369
call fcn.004843d0
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 0x40b3e4
mov ecx, esi
call fcn.0040b400
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 0x40b400
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.004843d0
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.004843d0
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 0x40c2e0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.360se_iecompat_filter
push ebx
mov esi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
mov dword [esp + 0x10], ebx
cmp ebp, ebx
jne 0x40c37b
cmp word [esi], bx
je 0x40c414
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40c414
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x14
jb 0x40c358
push str.360se_iecompat_filter
push ebx
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x208], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esi + 0x208]
mov dword [esi + 0x20c], ebx
test ebp, ebp
mov dword [esp + 0x10], 1
je 0x40c414
push 0
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x40c405
push edi
mov ecx, esi
call fcn.0040c860
test eax, eax
je 0x40c3fe
test ebx, ebx
jne 0x40c3b8
mov eax, dword [edi + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea ebx, [ecx*8 + 0x14]
cmp ebx, dword [esi + 0x214]
jbe 0x40c3dc
mov ecx, esi
call fcn.0040c2b0
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ebx
mov eax, dword [esi + 0x210]
test eax, eax
je 0x40c3fe
mov ecx, ebx
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40c414
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40c520
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x40c741
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 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 + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40c741
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x40c61f
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40c67a
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x40c601
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x40c5c8
jmp 0x40c67a
cmp dword [edi], ebp
je 0x40c741
mov ecx, ebx
mov dword [edi], ebp
call fcn.0040c420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
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 ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x40c6e8
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
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.0040c2b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x40c725
mov cl, byte [esi + eax]
test cl, cl
je 0x40c725
mov byte [eax], cl
inc eax
dec edx
jne 0x40c70c
jmp 0x40c729
test edx, edx
jne 0x40c72a
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.0040c420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x40c750
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, 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 0x40c7c5
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8
mov al, byte [esp + 0x4c]
xor edi, edi
test al, al
push ebx
mov dword [esp + 0x10], edi
je 0x40c848
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x40c848
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
cmp ecx, edi
jbe 0x40c848
lea esi, [ebx + 8]
cmp esi, 8
je 0x40c805
cmp byte [esi], 0
je 0x40c805
lea edx, [esp + 0x50]
push esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x40c82e
mov eax, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [eax + 4]
jb 0x40c7eb
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8
mov eax, dword [ebx]
mov edx, dword [esp + 0x158]
xor ecx, ecx
mov dword [esp + 0x10], 1
test eax, eax
sete cl
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8

Function at 0x40c890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc6d8
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.004d7b60
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.00497ca0
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x3ad8], al
mov dword [esi + 0x3adc], edi
mov dword [esi + 0x3ae0], edi
mov dword [esi + 0x3ae4], edi
xor ecx, ecx
mov dword [esi], 0x4e1cb8
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 + 0x3ad4], 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 0x40c9f0
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 + 0x3ad4], eax
push edx
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x51504c]
cmp eax, 0xffffffff
je 0x40ca27
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 0x40ca52
xor eax, eax
mov ecx, 0x84000000
test edi, edi
mov edx, 0x8000080
mov edi, 0x514ff0
jne 0x40ca56
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.004d7c50
mov eax, dword [esi + 4]
test eax, eax
je 0x40ca9e
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40ca9e
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40ca9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40ca9e
push 1
push 0
push 9
mov ecx, esi
call fcn.0040dad0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x40cab0
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 0x40dce0
Capabilities:
Log keystrokes

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

Function at 0x412040
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004118b0
cmp dword [esi + 0x5698], 2
jne 0x412065
mov eax, dword [esi + 0x562c]
push 0
push eax
jmp 0x4120ee
mov eax, dword [esi + 0x5634]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x4120ba
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x4120ba
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 0x4120b1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4120be
test bl, bl
je 0x4120f4
cmp dword [esi + 0x5698], 1
jne 0x4120e1
mov eax, dword [esi + 0x5630]
mov ecx, dword [esi + 0x568c]
push eax
push ecx
call fcn.00489250
mov ecx, eax
call fcn.00489690
test bl, bl
je 0x4120f4
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.00411c70
pop edi
pop esi
pop ebx
ret 8