joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402da0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4701ab
mov eax, dword fs:[0]
push eax
sub esp, 0x5cc
mov eax, dword [0x4ab028]
xor eax, esp
mov dword [esp + 0x5c4], eax
push esi
push edi
mov eax, dword [0x4ab028]
xor eax, esp
push eax
lea eax, [esp + 0x5d8]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov edi, ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call dword [sym.imp.mfc100u.dll_CWinApp::InitInstance]
push 0x47a2a4
mov ecx, edi
call dword [sym.imp.mfc100u.dll_CWinApp::SetRegistryKey]
mov dword [edi + 0xfc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call dword [0x479d34]
push 0
push str.__boot
lea ecx, [esp + 0x18]
mov dword [esp + 0x5e8], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
cmp eax, 0xffffffff
je 0x402e57
mov dword [edi + 0xfc], 1
lea esi, [esp + 0x1c]
call fcn.00403200
mov ecx, esi
mov byte [esp + 0x5e0], 1
mov dword [edi + 0x20], ecx
call dword [sym.imp.mfc100u.dll_CDialog::DoModal]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x5e0], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x200]
mov dword [esp + method.CFont.virtual_0], vtable.CFont.0
call fcn.004030e0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x5e0], 3
call fcn.00409160
mov byte [esp + 0x5e0], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], vtable.CBitmap.0
call fcn.004030e0
mov ecx, esi
mov byte [esp + 0x5e0], 0
call dword [0x479c44]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c4]
xor ecx, esp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x41ab80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473cc9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ab028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 5
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
push 0
mov eax, esi
call fcn.004078f0
test eax, eax
je 0x41abc6
push 0
mov eax, esi
call fcn.00407960
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.IDS_SCAN_CLEAN_JUNK_STEP1_BTN_ABORT
call dword [0x479d34]
lea eax, [ebp - 0x10]
push eax
call sym.Smart_Dll_not_found_Fixer_Pro.exe_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_nsSystemFixer::TranslateCode_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____unsigned_long_int__int_
add esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov edi, dword [sym.imp.mfc100u.dll_CWnd::SetWindowTextW]
push eax
lea ecx, [esi + 0x1dc]
call edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [esi + 0x4e4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push ecx
call ebx
push 0x47f3e4
lea ecx, [esi + 0x5ac]
call edi
mov edx, dword [esi + 0x188]
push 0
push 0
push 0x1009
push edx
call ebx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
add eax, 0x168
push eax
lea ecx, [esi + 0x624]
call dword [sym.imp.mfc100u.dll_CStringArray::Copy]
push 0
push 0
push esi
push 0x41aca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f9a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push edi
push 0
push 0
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc100u.dll_new__]
add esp, 4
mov esi, eax
push esi
push edi
mov dword [ebp - 4], esi
call ebx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f9e0
sub eax, edx
sar eax, 1
mov edi, eax
je 0x41fa43
mov ebx, dword [sym.imp.mfc100u.dll_CListCtrl::InsertItem]
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x41fa24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x168]
push 0
push 1
push 0
push 0
push esi
push 1
push 3
call ebx
lea esi, [esi + edi*2 + 2]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fa30
sub eax, edx
sar eax, 1
mov edi, eax
jne 0x41fa00
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c6f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x710
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b8]
test eax, eax
jne 0x42c757
call dword [sym.imp.mfc100u.dll_AfxGetModuleState]
mov eax, dword [eax + 8]
push 0
push 0x48302c
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x436b30
Capabilities:
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x32024
call fcn.0046ca50
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0x489ddc
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x32020], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x3201c], ebx
test ebx, ebx
je 0x436b9c
push 0
push 0x4000000
push 0
push 0
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
xor edi, edi
mov dword [ebp - 0x32010], eax
cmp eax, edi
jne 0x436bb2
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x32024]
push ecx
lea edx, [ebp - 0x32014]
push edx
lea ecx, [ebp - 0x3200c]
push ecx
push 0x20000005
push eax
mov dword [ebp - 0x32024], edi
mov dword [ebp - 0x32014], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x436bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3200c], eax
mov edx, dword [esi + 0x1fc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edx
mov dword [ebp - 0x32008], 1
call ebx
mov dword [ebp - 0x32018], eax
cmp dword [ebp - 0x32008], edi
jbe 0x436cf0
jmp 0x436c30
mov edx, dword [ebp - 0x32010]
lea eax, [ebp - 0x32008]
push eax
push 0x31fff
lea ecx, [ebp - 0x32004]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x436b9c
mov eax, dword [ebp - 0x32020]
mov ecx, dword [ebp - 0x32008]
push eax
push ecx
lea edx, [ebp - 0x32004]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov ecx, dword [ebp - 0x3200c]
add edi, dword [ebp - 0x32008]
add esp, 0x10
test ecx, ecx
je 0x436ce3
mov eax, edi
imul eax, eax, 0x64
xor edx, edx
div ecx
mov ecx, dword [esi + 0x268]
add eax, dword [ebp - 0x32018]
mov dword [esi + 0x260], eax
cmp eax, ecx
jae 0x436cad
mov dword [esi + 0x260], ecx
mov ecx, dword [esi + 0x264]
cmp dword [esi + 0x260], ecx
jbe 0x436cc1
mov dword [esi + 0x260], ecx
push 0
push eax
mov eax, dword [esi + 0x1fc]
push 0x402
push eax
call ebx
mov ecx, dword [esi + 0x1fc]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp - 0x32008], 0
ja 0x436c30
mov edx, dword [ebp - 0x32010]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x3201c]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046bf30
mov esp, ebp
pop ebp
ret 4

Function at 0x437e30
Capabilities:
Get graphical window text

Disassembly:
push esi
push 5
mov esi, ecx
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
push 0
mov eax, esi
call fcn.004078f0
test eax, eax
je 0x437e51
push 0
mov eax, esi
call fcn.00407960
mov ecx, esi
pop esi
jmp fcn.00437e60
Function at 0x438ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477eec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ab028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x168], 0
jne 0x438b62
push str.CONFIG
push 0x184
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x438bbc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x438bbc
lea esi, [edi + 1]
push esi
call dword [sym.imp.mfc100u.dll_new__]
push esi
push 0
push eax
mov dword [ebx + 0x168], eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x168]
push edi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0x1c
push 0x14
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x438b85
push ebx
mov edi, eax
call fcn.0043e9a0
jmp 0x438b87
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 0x168]
push edx
mov esi, eax
mov dword [ebx + 0x16c], eax
call fcn.0043eba0
mov ebx, dword [ebx + 0x16c]
mov ecx, dword [ebx + 4]
mov esi, dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
push 5
call esi
mov ecx, dword [ebx + 8]
push 0
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b3c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x408], 0
call dword [sym.imp.Common.dll_IsWow64]
movzx esi, al
neg esi
sbb esi, esi
and esi, 0x100
lea eax, [ebp - 0x408]
push eax
mov ecx, esi
or ecx, 0xf003f
push ecx
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x408]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0x404]
push eax
push 0
push ecx
mov dword [ebp - 0x40c], 0x400
call ebx
mov edi, 1
cmp eax, 0x103
je 0x43b4b4
lea esp, [esp]
test eax, eax
jne 0x43b53a
mov eax, dword [ebp - 0x408]
lea edx, [ebp - 0x404]
push edx
push eax
call fcn.0043b3c0
add esp, 8
test eax, eax
jne 0x43b53a
push eax
push eax
push eax
push eax
mov eax, dword [ebp - 0x408]
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x404]
push edx
push edi
push eax
mov dword [ebp - 0x40c], 0x400
call ebx
inc edi
cmp eax, 0x103
jne 0x43b460
test esi, esi
je 0x43b501
mov eax, dword [0x4ad100]
test eax, eax
jne 0x43b4dd
push str.RegDeleteKeyExA
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad100], eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x414]
push 0
push esi
push ecx
push edx
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
cmp dword [0x4ad0fc], 0
jne 0x43b526
push 0x48bcc0
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad100], eax
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bf30
mov esp, ebp
pop ebp
ret

Function at 0x43b550
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_IsWow64]
mov edx, dword [ebp + 0xc]
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x100
lea ecx, [ebp - 4]
push ecx
or eax, 0xf003f
push eax
mov eax, dword [ebp + 8]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43b5a9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b5b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_IsWow64]
movzx esi, al
neg esi
sbb esi, esi
lea eax, [ebp - 4]
push eax
and esi, 0x100
or esi, 0x20006
push esi
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43b603
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43b629
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b630
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_IsWow64]
movzx esi, al
neg esi
sbb esi, esi
lea eax, [ebp - 4]
push eax
and esi, 0x100
or esi, 0x20006
push esi
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43b683
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43b6bc
mov esi, dword [ebp + 0xc]
mov eax, esi
lea edx, [eax + 1]
jmp 0x43b690
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b690
sub eax, edx
mov edx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 4]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b6d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_IsWow64]
movzx esi, al
neg esi
sbb esi, esi
lea eax, [ebp - 4]
push eax
and esi, 0x100
or esi, 0x20006
push esi
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43b723
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43b75c
mov esi, dword [ebp + 0xc]
mov eax, esi
lea edx, [eax + 1]
jmp 0x43b730
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b730
sub eax, edx
mov edx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 4]
push esi
push 2
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b7e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4764bb
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x490], ecx
cmp eax, ebx
jne 0x43b824
xor eax, eax
jmp 0x43b9c5
push 0x104
push eax
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [ebp - 0x11c]
push eax
mov esi, eax
call fcn.0043b770
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43b850
sub eax, edx
cmp byte [ebp + eax - 0x11d], 0x5c
lea eax, [ebp + eax - 0x11d]
jne 0x43b86c
mov byte [eax], bl
xor eax, eax
mov edi, edi
mov cl, byte [ebp + eax - 0x11c]
mov byte [ebp + eax - 0x32c], cl
inc eax
cmp cl, bl
jne 0x43b870
lea edi, [ebp - 0x11c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x43b890
mov cx, word [0x481c9c]
lea eax, [ebp - 0x32c]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x43b8b0
mov dx, word [0x48bcd0]
mov cl, byte [0x48bcd2]
mov word [eax], dx
lea edx, [ebp - 0x48c]
mov byte [eax + 2], cl
push edx
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x494], eax
cmp eax, 0xffffffff
je 0x43b81d
mov edi, edi
test byte [ebp - 0x48c], 0x10
jne 0x43b99d
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0x104
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.MSVCR100.dll_strncat]
lea eax, [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x334], 0xf
mov dword [ebp - 0x338], ebx
mov byte [ebp - 0x348], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43b951
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x348]
call fcn.00440970
mov edi, dword [ebp - 0x490]
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0043f390
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x334], 0x10
jb 0x43b99d
mov edx, dword [ebp - 0x348]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov esi, dword [ebp - 0x494]
lea eax, [ebp - 0x48c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b8f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x43c460
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x32008
call fcn.0046ca50
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
push str.RookIE_1.0
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x43c4b4
push 0
push 0x4000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x43c4c7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x32008], 1
lea eax, [ebp - 0x32008]
push eax
push 0x31fff
lea ecx, [ebp - 0x32004]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x43c4b4
mov edx, dword [ebp - 0x32008]
push ebx
push edx
lea eax, [ebp - 0x32004]
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x32008], 0
ja 0x43c4d1
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x43c9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4763b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov edi, 0xf
mov ebx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c8b0
lea esi, [edi + 1]
test al, al
jne 0x43ca41
mov ebx, dword [sym.imp.mfc100u.dll_delete]
cmp dword [ebp - 0x18], esi
jb 0x43ca24
mov ecx, dword [ebp - 0x2c]
push ecx
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
cmp dword [ebp - 0x34], esi
jb 0x43ca3d
mov edx, dword [ebp - 0x48]
push edx
call ebx
add esp, 4
mov al, 1
jmp 0x43caa2
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x43ca4c
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x43ca57
lea eax, [ebp - 0x48]
push 5
push 0
push ecx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [sym.imp.mfc100u.dll_delete]
test eax, eax
setne bl
cmp dword [ebp - 0x18], esi
jb 0x43ca80
mov eax, dword [ebp - 0x2c]
push eax
call edi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], esi
jb 0x43caa0
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret

Function at 0x43d510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477928
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push ecx
lea ebx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.0043d470
test al, al
jne 0x43d564
cmp dword [ebp - 0x18], 0x10
jb 0x43d58a
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x43d581
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43d570
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x18], 0x10
jb 0x43d58a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret