joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dcc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20119
push esi
push esi
push esi
push str.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40dd20
push esi
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
push esi
push 0x4900f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x40dd17
mov eax, 1
cmp dword [ebp - 8], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e5d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4ac084]
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
mov ebx, edx
mov dword [ebp - 0x134], ecx
push 0x118
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0045b910
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x128]
cmp eax, 6
ja 0x40e660
jne 0x40e657
cmp dword [ebp - 0x124], 0
ja 0x40e660
cmp word [ebp - 0x18], 0
ja 0x40e660
mov byte [ebp - 0x12d], 0
jmp 0x40e667
mov byte [ebp - 0x12d], 1
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp byte [ebp - 0x12d], 0
mov eax, str..RootSecurityCenter
mov edi, str..RootSecurityCenter2
cmove edi, eax
mov eax, dword [ebp + 8]
push ebx
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x138], esi
call fcn.00402e80
mov edx, dword [ebp - 0x134]
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0040e7b0
add esp, 8
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x40e6ce
push 0x80070057
call fcn.004039a0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x40e6e7
push esi
mov ecx, ebx
call fcn.00403880
lea eax, [esi + 1]
push eax
push dword [ebx]
call fcn.004619f8
mov eax, dword [ebx]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x40e6c4
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00402e80
add esp, 4
cmp dword [eax + 4], 0
lea esi, [eax + 0x10]
jl 0x40e74b
push 0x491d08
push esi
call fcn.0045b274
add esp, 8
test eax, eax
je 0x40e74b
mov ecx, dword [0x4b0210]
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
mov eax, 1
cmovne ecx, eax
mov dword [0x4b0210], ecx
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e765
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40e784
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00458d41
mov esp, ebp
pop ebp
ret
Function at 0x40eb20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0045b910
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x40eb83
jne 0x40eb7f
cmp dword [ebp - 0x118], 0
ja 0x40eb83
cmp word [ebp - 0xc], 0
ja 0x40eb83
xor bl, bl
jmp 0x40eb85
mov bl, 1
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, str..RootSecurityCenter
test bl, bl
push ecx
mov eax, str..RootSecurityCenter2
cmove eax, ecx
mov ecx, esp
push eax
call fcn.00403ac0
call fcn.0040ebd0
add esp, 4
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458d41
mov esp, ebp
pop ebp
ret
Function at 0x4143a0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
push 0x434
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x492468
mov esi, eax
push 0x492468
push esi
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0
push dword [edi + 0x40]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0xcd
push 0x434
mov ecx, edi
call fcn.0041ef20
cmp word [0x4b0604], 0
jne 0x41442f
cmp word [0x4b0606], 0
jne 0x41442f
cmp word [0x4b0608], 0
jne 0x41442f
cmp word [0x4b060a], 0
jne 0x41442f
push 0
push 0x434
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret
xor eax, eax
cmp dword [0x4b04e4], eax
push 0
sete al
push eax
push 0xf1
push 0x434
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp dword [0x4b04e0], 0
jne 0x414483
push 0
push 0
push 0x21
push 0x409b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x414479
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b04e0], 1
pop edi
pop esi
ret
Function at 0x4149e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x60]
push edi
mov edi, ecx
push 0x5c
push 0
push eax
mov dword [edi + 4], esi
call fcn.0045b910
add esp, 0xc
mov byte [ebp - 0x49], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov edx, str.Tahoma
mov ecx, 0x4924ac
lea eax, [ebp - 0x44]
cmovbe ecx, edx
push ecx
push 0x20
push eax
call fcn.0045e667
add esp, 0xc
lea eax, [ebp - 0x60]
push 0
push edi
push 0x414aa0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
push 0x414b20
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push str._This
push esi
mov dword [0x4b02b4], eax
call dword [sym.imp.USER32.dll_SetPropW]
push 6
push dword [edi + 0x10]
push dword [edi + 0xc]
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00458d41
mov esp, ebp
pop ebp
ret 4
Function at 0x418720
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x4ac084]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00402f70
mov esi, eax
test esi, esi
jne 0x418817
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4187e9
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00418720
mov esi, eax
test esi, esi
jne 0x418817
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x4187b0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x418800
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00418640
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x418826
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 4
Function at 0x41c190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d0f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0045923a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0045613a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41dc30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3c
mov eax, dword [0x4ac084]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push dword [ecx + 4]
mov dword [esp + 8], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
mov esi, dword [esp + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push dword [esi + 4]
divss xmm0, dword [0x49ce28]
movss dword [0x4ac908], xmm0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, esi
call fcn.0041e8c0
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov byte [esi + 0x6f], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov edx, str.Tahoma
mov ecx, 0x4924ac
lea eax, [esi + 0x74]
cmovbe ecx, edx
push ecx
push 0x20
push eax
call fcn.0045e667
add esp, 0xc
lea eax, [esi + 0x58]
push 0
push esi
push 0x41dc10
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
cmp byte [esi + 0xc8], 0
mov ecx, esi
je 0x41dcfc
call fcn.0041e280
jmp 0x41dd01
call fcn.0041e0d0
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x41dd59
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [esi + 0xbc], eax
lea eax, [esp + 8]
push eax
push 0x18
push dword [esi + 0xb8]
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop esi
xor ecx, esp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
Function at 0x41eaf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x41ebb0
push 0
push 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], 0x67
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x41eb5b
push str.MiniDialog_thread_creation_failed.
push 2
push 3
push 0x6c
push str.CDialogBase::DoModalAsync
push str.DialogsDialogBase.cpp
lea ecx, [ebp - 0x14]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x28]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
dec eax
neg eax
pop esi
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 4

Function at 0x41f020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
call fcn.00403750
push 0x4931e0
push dword [ebp + 0xc]
push dword [0x4b0494]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x4b0494]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41f0e3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x41f06e
pop edi
pop esi
pop ebp
ret 8
push esi
push dword [0x4b0494]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x41f08f
mov al, byte [edi]
cmp al, 0xff
je 0x41f08b
cmp al, 0xfe
jne 0x41f08f
dec esi
add edi, 2
push ebx
lea ebx, [esi + 1]
test ebx, ebx
js 0x41f0ea
mov edx, dword [ebp + 8]
mov ecx, 1
mov eax, dword [edx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x41f0b8
push ebx
mov ecx, edx
call fcn.00403880
mov edx, dword [ebp + 8]
push esi
push edi
push ebx
push dword [edx]
call fcn.00461859
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00402dc0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
xor eax, eax
pop esi
pop ebp
ret 8
push 0x80070057
call fcn.004039a0
int3
Function at 0x420f00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x420feb
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004201f0
mov edi, dword [esp + 0x14]
test al, al
je 0x420fc3
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x420f59
mov dword [edi + 8], eax
movss xmm0, dword [0x4ac908]
ucomiss xmm0, dword [0x49cdf0]
lahf
test ah, 0x44
jp 0x420f7a
push 0xda
push 0x21a
jmp 0x420f9d
ucomiss xmm0, dword [0x49cdf4]
lahf
test ah, 0x44
jp 0x420f93
push 0x11a
push 0x2b8
jmp 0x420f9d
push 0xbc
push 0x1d0
push dword [esp + 0x14]
lea ecx, [esi - 0xe0]
call fcn.0041ee10
mov ecx, dword [esi + 0xf4]
mov dword [esi + ecx*4 + 0xf8], eax
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x420fd9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x420fe5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [esi + 0xf4]
cmp dword [esi + 0xf4], 3
jae 0x42101c
xor eax, eax
test ebx, ebx
push 0
sete al
push eax
push 0x7e9
push dword [esi - 0xdc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424a60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5c
lea eax, [ebp - 0x60]
mov esi, ecx
push 0
push eax
call fcn.0045b910
add esp, 0xc
mov dword [ebp - 0x60], 0xfffffff4
mov dword [ebp - 0x50], 0x1f4
mov byte [ebp - 0x49], 1
mov byte [ebp - 0x46], 5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov edx, str.Tahoma
mov ecx, 0x4924ac
lea eax, [ebp - 0x44]
cmovbe ecx, edx
push ecx
push 0x20
push eax
call fcn.0045e667
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push 0x9d
push 0xffffffffffffffff
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.0041ef20
push 0
push 1
push 0x40a
push 0x3ee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [0x4b0650]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
Function at 0x425560
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push 5
push 2
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x3f6
push dword [ebx + 4]
call edi
push eax
call esi
push 0
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x3ff
push dword [ebx + 4]
call edi
push eax
call esi
push 0
push 0x401
push dword [ebx + 4]
call edi
push eax
call esi
push 0
push 0x400
push dword [ebx + 4]
call edi
push eax
call esi
mov ecx, dword [ebx + 0xe4]
push 1
lea eax, [ecx + 0x2c]
mov dword [ecx + 0x40], 1
mov ecx, dword [ecx + 0x3c]
push eax
call fcn.0042ccd0
pop edi
pop esi
pop ebx
ret

Function at 0x4255f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00403450
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x425635
push 0x80004005
call fcn.004039a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x11
push str.STRING_NOT_FOUND_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004039c0
mov eax, dword [0x4b048c]
mov esi, dword [ebp + 8]
lea eax, [eax + eax*8]
movzx eax, word [eax*4 + 0x4ac960]
push eax
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.00415350
test eax, eax
jne 0x42568a
movzx eax, word [0x4ac960]
push eax
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.00415350
mov esi, dword [ebp - 0x10]
sub esp, 8
mov ecx, edi
push dword [0x4b0650]
push esi
call fcn.00425950
mov eax, dword [edi + 0xe4]
cmp dword [eax + 0x4c], 0
je 0x4256e2
push 0
push dword [eax + 4]
mov dword [eax + 0x4c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Window_hidden
push 1
push 3
push 0x44
push str.CMainDialog::SetVisible
push str.DialogsMainDialog.cpp
lea ecx, [ebp - 0x1c]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425701
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x426e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi + 4], 1
test eax, eax
je 0x426e62
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
test eax, eax
je 0x426e62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov edx, dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push ebx
push edi
test edx, edx
jne 0x426e7d
xor ecx, ecx
jmp 0x426e91
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426e82
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x14]
call fcn.004039c0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x426ea6
xor ecx, ecx
jmp 0x426ebf
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426eb0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x18]
call fcn.004039c0
cmp dword [ebp + 0x10], 0
pop edi
pop ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0xc], 1
push 0
jne 0x426ef4
mov ecx, esi
call fcn.00426f50
pop esi
pop ebp
ret 0xc
push 0
push esi
push 0x426f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x426f17
mov eax, 6
pop esi
pop ebp
ret 0xc
xor eax, eax
mov ecx, 7
cmp dword [esi + 0x10], eax
pop esi
cmove eax, ecx
pop ebp
ret 0xc
Function at 0x427090
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f488
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call fcn.00403750
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x21
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4271b2
call edi
cmp eax, 0x7a
jne 0x4271b2
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x14]
test al, al
jne 0x427137
push esi
mov edi, 0x8007000e
call fcn.00458d52
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0x21
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x427183
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00409730
push esi
call fcn.00458d52
add esp, 4
xor esi, esi
xor edi, edi
push esi
call fcn.00458d52
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call edi
mov edi, eax
test edi, edi
jle 0x427194
movzx edi, di
or edi, 0x80070000
push esi
call fcn.00458d52
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call edi
test eax, eax
jle 0x4271c0
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4280a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
mov dword [ebp - 0x10], 0
jne 0x428140
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
jne 0x4280f7
push 0xfc01
mov dword [eax], 0xfc00
call fcn.00459284
mov ecx, dword [edi + 0x1c]
add esp, 4
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, ecx
sub edx, ebx
lea eax, [esi + ebx]
cmp eax, ecx
cmovb edx, esi
mov dword [ebp - 0x10], edx
test edx, edx
je 0x428132
mov eax, dword [edi + 0x1c]
push edx
mov edx, dword [edi + 0x20]
push dword [ebp + 8]
mov ecx, dword [eax]
add ecx, ebx
mov edx, dword [edx]
sub edx, ebx
call fcn.00403bb0
mov edx, dword [ebp - 0x10]
add esp, 8
xor ecx, ecx
mov eax, 5
cmp edx, esi
jmp 0x4281e5
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0
jne 0x4281c6
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x2c], xmm0
push 0
push 0x80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov esi, dword [edi + 0x18]
push 1
call fcn.004467a0
push eax
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x4281be
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x42819d
push dword [edi + 0x18]
mov eax, dword [ecx]
push 6
call dword [eax + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00446630
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2c]
call fcn.00446630
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
mov eax, 6
cmp dword [ebp - 0x10], esi
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10