joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a9c9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47e008]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41aa09
cmp byte [ebx], 0xa
jne 0x41aa09
or byte [eax + edi + 0x28], 4
jmp 0x41aa0e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41ab0c
mov al, byte [edx]
cmp al, 0x1a
je 0x41aaee
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41aa3d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41aa62
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41aa6c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41aa1f
jmp 0x41ab0c
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41aae9
cmp dword [ebp - 0xc], 0
je 0x41aae9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47e008]
test byte [eax + edi + 0x28], 0x48
je 0x41aac3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41aaae
mov byte [esi], dl
jmp 0x41aabf
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47e008]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41ab0c
cmp byte [ebp - 1], 0xa
jne 0x41aad2
cmp esi, ebx
jne 0x41aad2
mov byte [esi], 0xa
jmp 0x41ab0b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b549
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41ab0c
mov byte [esi], 0xd
jmp 0x41ab0b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47e008]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41ab08
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41ab0c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ab15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47e008]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ab58
cmp word [esi], dx
jne 0x41ab58
or byte [edi + eax + 0x28], 4
jmp 0x41ab5d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41acb0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41ac90
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ab9f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41abd5
cmp eax, edx
jae 0x41abe1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ab77
jmp 0x41acb0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41ac8c
cmp dword [ebp - 0x14], 0
je 0x41ac8c
mov eax, dword [ebx*4 + 0x47e008]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41ac64
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ac2d
mov word [esi], cx
jmp 0x41ac60
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47e008]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47e008]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47e008]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41acb0
pop ebx
cmp word [ebp - 4], bx
jne 0x41ac75
cmp esi, dword [ebp + 0xc]
jne 0x41ac75
mov word [esi], bx
jmp 0x41acad
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b549
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41acb0
push 0xd
jmp 0x41aca9
mov ecx, dword [ebx*4 + 0x47e008]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41aca7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41acb0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40bf70
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x40bf89
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x40bf97
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
push ebx
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040b9a0
push esi
push 0x40be50
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x40c034
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x40bfcb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40c028
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x40bfe1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x40c028
cmp edi, dword [esi + 8]
jb 0x40bff0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi], ebp
je 0x40c004
cmp edi, dword [esi + 8]
jb 0x40bfff
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 4
jmp 0x40bfd3
mov eax, dword [esi + 8]
lea ecx, [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x40c024
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
add dword [esi + 8], 0xfffffffc
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x40c042
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x40c050
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0040b9a0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x410800
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f6c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.COneTechKeyScan.0
or eax, 0xffffffff
xor edi, edi
lea ecx, [esi + 0x2c]
mov dword [esp + 0x18], edi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004063d0
lea ecx, [esi + 0x60]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x64]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x68]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4108b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f72e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.COneTechKeyScan.0
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x1c], 6
je 0x4108fb
mov eax, dword [esi + 0x14]
cmp eax, ebx
mov dword [esi + 0x28], ebx
je 0x4108fb
call eax
cmp dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
je 0x41090c
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x70]
cmp eax, ebx
lea edi, [esi + 0x6c]
mov byte [esp + 0x1c], 5
je 0x41092a
mov ecx, dword [edi + 0xc]
sub ecx, eax
push ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_char_::deallocate_char___unsigned_int_]
lea ecx, [esi + 0x68]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esi + 0x64]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esi + 0x60]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00406490
lea ecx, [esi + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esi], vtable.CAbstractKeyScan.0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x412720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46f9ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi], vtable.CPhilipsKeyScan.0
mov dword [esp + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x58]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 2
call fcn.004063d0
lea ecx, [esi + 0x90]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x94]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x98]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x14], edi
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x414e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x46fe99
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
or esi, 0xffffffff
cmp dword [esp + 0x70], 0
mov dword [esp + 0x54], 0
je 0x414eed
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push 0x47f33c
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
cmp dword [esp + 0x7c], edx
mov edi, eax
setne dl
mov dword [esp + 0x14], edx
nop
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x414e8f
lea eax, [esp + 0x30]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x414ee3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebp, ebp
je 0x414eb5
mov dword [ebp], eax
cmp eax, 2
je 0x414ee3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], 0
je 0x414e80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, eax
jbe 0x414edb
not edi
lea eax, [eax + edi + 1]
xor edi, edi
sub eax, edi
cmp eax, dword [esp + 0x7c]
jb 0x414e80
lea ecx, [esp + 0x2c]
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_]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
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, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046cc14
add esp, 0x44
ret
Function at 0x416c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push 2
push eax
push esi
mov ebx, ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x416ca9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x14]
push ecx
push esi
mov ecx, ebx
mov edi, eax
call fcn.00416b70
test eax, eax
mov edx, dword [esp + 0x18]
mov dword [edx], eax
je 0x416c7f
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esp + 0x14]
push 0
push esi
lea ecx, [esi + eax*4]
add ecx, dword [esi]
push ecx
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x41a0f0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x471237
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x84c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x864]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x874]
xor ebx, ebx
push 0x820
lea eax, [esp + 0x42]
push ebx
mov dword [esp + 0x2c], ebx
push eax
mov word [esp + 0x48], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x410
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x41a1a1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x41a1a1
push 0x47bd74
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x41a285
lea eax, [esp + 0x17]
push eax
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f], bl
call fcn.0041a070
mov esi, dword [esp + 0x30]
cmp esi, ebx
mov dword [esp + 0x86c], ebx
je 0x41a1cb
mov ecx, dword [esp + 0x34]
sub ecx, esi
jne 0x41a1d1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
push ebx
lea edx, [esp + 0x48]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x41a1f4
push 0x47bd74
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x41a278
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x47ce8c
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x41a224
push 0x47bd74
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x41a278
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 0x14]
movzx ecx, word [eax + 0x16]
push edx
movzx edx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._d._d._d._d
push ecx
mov byte [esp + 0x884], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, ebx
je 0x41a285
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84c]
xor ecx, esp
call fcn.0046cc14
add esp, 0x85c
ret 4
Function at 0x41e3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
call sub.MFC80U.DLL_Ordinal_1079
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41e41f
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41e437
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
test eax, eax
je 0x41e451
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [edi], 0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x41e4ad
cmp dword [edi], 0
mov esi, dword [esp + 0x24]
jne 0x41e473
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
mov eax, dword [esi]
test eax, eax
je 0x41e4ad
push eax
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
push ebx
mov dword [edi], eax
mov esi, dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, eax
jl 0x41e4ad
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
push esi
push edx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0x10
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10

Function at 0x420f50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x471d89
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x84], 0
jne 0x421010
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x410
push 0x410
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push 0x48035c
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x420fff
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x420fff
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x84], eax
mov dword [edi + 0xf8], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x426ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4727d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x47bd74
lea ecx, [esp + 0x10]
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__::constructor_wchar_t_const__]
lea eax, [esp + 0xc]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00435630
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
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, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x42abd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x47301a
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov edi, dword [esp + 0x134]
xor eax, eax
mov ebx, ecx
push 0x47fd9a
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
movzx esi, word [0x4a0888]
mov dword [esp + 0x12c], 1
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0xc]
push str.BINHELP
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
lea esi, [ebx + 0x68]
push eax
mov ecx, esi
call fcn.0043ca60
mov ecx, edi
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__::constructor_void_]
lea eax, [esp + 0x138]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.0042aae0
cmp dword [eax + 0x18], 0x10
jb 0x42aca7
mov esi, dword [eax + 4]
jmp 0x42acaa
lea esi, [eax + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ecx
call dword [0x49fbc0]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0041b680
mov edx, dword [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x130], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x42acee
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 8

Function at 0x42af80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42af98
mov eax, 1
pop esi
ret
push edi
mov edi, dword [sym.imp.MSVCR80.dll__wcsnicmp]
push 7
push str.http:__
push esi
call edi
add esp, 0xc
test eax, eax
je 0x42afc1
push 6
push str.ftp:__
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x42afc9
pop edi
mov eax, 1
pop esi
ret
push 5
push str.mail:
push esi
call edi
add esp, 0xc
neg eax
sbb eax, eax
pop edi
add eax, 1
pop esi
ret