joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434390
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458220]
jne 0x43439a
repz ret
jmp fcn.004365d6

Function at 0x43776f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x458238]
je 0x43778a
inc edi
cmp edi, 0x17
jb 0x43777b
cmp edi, 0x17
jae 0x43790a
push ebp
push 3
call fcn.0043c5ad
cmp eax, 1
pop ecx
je 0x4378d6
push 3
call fcn.0043c5ad
test eax, eax
pop ecx
jne 0x4377be
cmp dword [0x458094], 1
je 0x4378d6
cmp ebx, 0xfc
je 0x437909
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45c270
push ebp
call fcn.00436818
add esp, 0xc
test eax, eax
je 0x4377f4
push esi
push esi
push esi
push esi
push esi
call fcn.004348c5
add esp, 0x14
push 0x104
mov esi, 0x45c289
push esi
push 0
mov byte [0x45c38d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x437838
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00436818
add esp, 0xc
test eax, eax
je 0x437838
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004348c5
add esp, 0x14
push esi
call fcn.00434830
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43787d
push esi
call fcn.00434830
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45c584
push 0x447a8c
sub ecx, eax
push ecx
push eax
call fcn.00439fa9
add esp, 0x14
test eax, eax
je 0x43787d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004348c5
add esp, 0x14
jmp 0x43787f
xor esi, esi
push 0x447a88
push ebx
push ebp
call fcn.0043c53c
add esp, 0xc
test eax, eax
je 0x43789f
push esi
push esi
push esi
push esi
push esi
call fcn.004348c5
add esp, 0x14
push dword [edi*8 + 0x45823c]
push ebx
push ebp
call fcn.0043c53c
add esp, 0xc
test eax, eax
je 0x4378c1
push esi
push esi
push esi
push esi
push esi
call fcn.004348c5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043c37f
add esp, 0xc
jmp 0x437909
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x437909
cmp ebp, 0xffffffff
je 0x437909
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45823c]
push dword [esi]
call fcn.00434830
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43c37f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00436a51
xor ebx, ebx
cmp dword [0x45c9a0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43c455
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43c535
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43c535
push eax
call fcn.004369e3
mov dword [esp], 0x448308
push edi
mov dword [0x45c9a0], eax
call esi
push eax
call fcn.004369e3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45c9a4], eax
call esi
push eax
call fcn.004369e3
mov dword [0x45c9a8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004371ef
test eax, eax
pop ecx
pop ecx
je 0x43c423
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004348c5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43c455
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004369e3
cmp eax, ebx
pop ecx
mov dword [0x45c9b0], eax
je 0x43c455
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004369e3
pop ecx
mov dword [0x45c9ac], eax
mov eax, dword [0x45c9ac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43c4da
cmp dword [0x45c9b0], ecx
je 0x43c4da
push eax
call fcn.00436a5a
push dword [0x45c9b0]
mov esi, eax
call fcn.00436a5a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43c4da
cmp edi, ebx
je 0x43c4da
call esi
cmp eax, ebx
je 0x43c4a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43c4a7
test byte [ebp - 0x18], 1
jne 0x43c4da
lea eax, [ebp - 0x10]
push eax
call fcn.00437226
test eax, eax
pop ecx
je 0x43c4c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004348c5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43c4d1
or dword [ebp + 0x10], 0x200000
jmp 0x43c515
or dword [ebp + 0x10], 0x40000
jmp 0x43c515
mov eax, dword [0x45c9a4]
cmp eax, dword [ebp - 8]
je 0x43c515
push eax
call fcn.00436a5a
cmp eax, ebx
pop ecx
je 0x43c515
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43c515
mov eax, dword [0x45c9a8]
cmp eax, dword [ebp - 8]
je 0x43c515
push eax
call fcn.00436a5a
cmp eax, ebx
pop ecx
je 0x43c515
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45c9a0]
call fcn.00436a5a
cmp eax, ebx
pop ecx
je 0x43c535
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43c537
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426463
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push esi
xor ebx, ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x14], ebx
call fcn.00402710
mov dword [esi + 0x1c], eax
mov cl, 1
mov byte [eax + 0x2d], cl
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [eax], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 8], eax
mov dword [esi + 0x20], ebx
mov byte [esp + 0x14], cl
call fcn.00401dc0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x401370
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
mov ebx, ecx
push 0
mov dword [ebx + 0x3c], eax
call esi
test eax, eax
mov dword [ebx + 0x34], eax
je 0x4013c2
push 0
push 0
push 1
push 0
call esi
test eax, eax
mov dword [ebx + 0x30], eax
je 0x4013c2
push 0
push 0
push ebx
push 0x401690
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [ebx + 0x38], eax
je 0x4013c2
mov byte [ebx + 0x40], 1
cmp byte [ebx + 0x40], 0
jne 0x4013cd
call fcn.004013e0
mov al, byte [ebx + 0x40]
pop esi
pop ebx
pop ecx
ret
Function at 0x4013e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
xor esi, esi
cmp dword [ebx + 0x38], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebx + 0x40], 0
je 0x401432
mov eax, dword [ebx + 0x34]
cmp eax, esi
je 0x40140a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x38]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401429
mov ecx, dword [ebx + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebx + 0x38]
push edx
call edi
mov dword [ebx + 0x38], esi
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x40143f
push eax
call edi
mov dword [ebx + 0x30], esi
mov eax, dword [ebx + 0x34]
cmp eax, esi
je 0x40144c
push eax
call edi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x3c], esi
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
lea edi, [ebx + 0x18]
mov esi, edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
test esi, esi
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
je 0x401470
cmp esi, edi
je 0x401476
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0xc], edx
je 0x4014bb
test esi, esi
jne 0x40148a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 4]
jne 0x401499
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x4014ac
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea esi, [esp + 8]
call fcn.004027f0
mov esi, dword [esp + 8]
jmp 0x401461
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 4]
cmp byte [esi + 0x2d], 0
mov dword [esp + 8], esi
jne 0x401501
jmp 0x4014d0
mov edx, dword [esi + 8]
push edx
mov ecx, edi
call fcn.00401d40
mov ecx, dword [esp + 8]
mov esi, dword [esi]
add ecx, 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esi + 0x2d], 0
mov dword [esp + 8], esi
je 0x4014d0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov eax, dword [ebx + 0x28]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebx + 0x28]
mov dword [eax + 4], eax
cmp esi, dword [ebx + 0x28]
mov dword [ebx + 0x2c], ecx
je 0x40154b
lea esp, [esp]
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp edi, dword [ebx + 0x28]
mov esi, edi
jne 0x401530
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40305e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40302f
cmp eax, 2
jne 0x40304a
test esi, esi
mov eax, dword [esp]
je 0x403058
test eax, eax
je 0x403053
test al, 1
jne 0x40304a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x403058
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x4030b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4030c3
push 0x80004005
call fcn.00402ac0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4030d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x403110
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x40317e
test ecx, ecx
je 0x403170
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x40318c
test ecx, ecx
je 0x403231
push ecx
jmp 0x40322b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
jne 0x4031fe
jmp 0x4031c0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00403110
mov edi, eax
test edi, edi
jne 0x40324d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
je 0x4031c0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403215
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403231
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00424bfa
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40325c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x403233
Function at 0x403710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4271c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x434020]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [section..data]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x403799
call fcn.00402c60
mov esi, eax
jmp 0x40387f
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4037b5
call fcn.00402c60
jmp 0x403876
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x4037ce
call fcn.00402c60
jmp 0x403876
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x403804
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4037f2
lea eax, [ebp]
call fcn.00412550
lea esi, [ebp - 0x1c]
call fcn.0040f510
mov eax, 0x8007000e
jmp 0x403892
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0040f660
mov dword [ebp - 4], 1
jmp 0x40382c
mov esi, dword [ebp]
test esi, esi
jne 0x40383a
mov esi, 0x8007000e
jmp 0x403878
call dword [section..data]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40385b
call fcn.00402c60
jmp 0x403876
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00404480
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x403890
lea eax, [ebp]
call fcn.00412550
nop
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00424bfa
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405610
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40567a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x405663
cmp eax, 4
jne 0x40567a
cmp dword [esp + 8], 0x5a
jb 0x40567a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00424bfa
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.00424bfa
add esp, 0x118
ret

Function at 0x4056a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x434020]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4056ff
cmp dword [esp + 4], 6
jb 0x4056ff
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00424bfa
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.00424bfa
add esp, 0x118
ret
Function at 0x40c000
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x80
mov eax, dword [ebx + 0x24]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 0
push 0x1304
push eax
call ebp
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40c0c2
lea esp, [esp]
mov edx, dword [ebx + 0x24]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x130a
push edx
call ebp
lea eax, [esp + 0x14]
lea esi, [esp + 0x48]
call fcn.0040b1b0
mov ecx, dword [ebx + 0x24]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
push edi
push 0x133c
push ecx
mov dword [esp + 0x34], 8
call ebp
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c0aa
cmp dword [eax + 0x54], 0
jne 0x40c0b5
mov eax, dword [ebx + 0x24]
push 0
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40c0b5
push str.null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x40c030
pop edi
pop esi
pop ebp
add esp, 0x80
ret

Function at 0x40caf0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
test byte [esi + 0xe], 2
je 0x40cb49
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
sub edx, eax
je 0x40cb39
mov edx, dword [esp + 8]
mov ecx, dword [esp]
sub edx, ecx
je 0x40cb39
push 0x11
push 0
push 0
add eax, 0xfffffffc
push eax
mov eax, dword [esi + 8]
add ecx, 0xfffffffc
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
add esp, 0x14
ret
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xe], 0xfd
add esp, 0x14
ret

Function at 0x40cb50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
cmp dword [esp + 0x1c], 1
push ebp
mov ebp, dword [esp + 0x24]
jne 0x40cb79
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xe], 0xfd
mov dword [esi + 0x10], ebp
pop ebp
add esp, 0x18
ret 8
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0xc]
je 0x40cbf2
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
je 0x40cbf2
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x40cbe8
or byte [esi + 0xe], 4
mov al, byte [esi + 0xe]
test al, 2
jne 0x40cbd7
or al, 2
push esi
mov edx, edi
mov byte [esi + 0xe], al
call fcn.0040cca0
mov ecx, dword [esi + 8]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x10], ebp
pop ebp
add esp, 0x18
ret 8
cmp dword [esi + 0x10], ebp
je 0x40cbe8
push esi
mov edx, edi
mov byte [esi + 0x14], 1
call fcn.0040cca0
mov dword [esi + 0x10], ebp
pop ebp
add esp, 0x18
ret 8
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xe], 0xfd
pop ebp
add esp, 0x18
ret 8
Function at 0x40cc10
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov byte [esi + 0xd], 0
mov byte [esi + 0xc], 0
ret

Function at 0x40cc40
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp byte [esi + 0xd], 0
je 0x40cc97
and byte [esi + 0xe], 1
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x40cc6f
or byte [esi + 0xe], 4
test eax, 0x20000000
mov cl, byte [esi + 0xe]
jne 0x40cc6f
or cl, 2
mov byte [esi + 0xe], cl
test byte [esi + 0xe], 2
je 0x40cc8b
push esi
mov edx, edi
call fcn.0040cca0
mov eax, dword [esi + 8]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret

Function at 0x40d2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x426ff8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x14]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [esp + 0x38], esi
push SysReAllocString
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x40d34f
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push esi
push str.Start_Page
push ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x40d390
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x40d365
cmp eax, 2
je 0x40d365
mov esi, 0xd
jmp 0x40d392
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 0x230]
shr eax, 1
push ecx
mov dword [esp + 0x1c], eax
call fcn.0040ac20
push str.Start_Page
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x20]
mov esi, eax
call fcn.00402ff0
mov esi, eax
lea edi, [ebx + 0x230]
call fcn.0040ae00
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
test esi, esi
mov dword [ecx - 8], eax
mov edx, dword [edi]
sete bl
test ebp, ebp
mov word [edx + eax*2], 0
je 0x40d3c3
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x40d3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427188
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x434020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [edx + 0x198]
push ecx
push 0x133c
push eax
mov dword [esp + 0x24], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
call fcn.0040a180
mov dword [esp + 0xc], 0
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x10]
mov dword [esp + 0x44], 0
call fcn.0040f8f0
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
je 0x40d48e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret