joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4264b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46880f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2040
call fcn.00436170
mov eax, dword [0x48644c]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x2050]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2020], ebx
mov dword [ebp - 0x2024], ebx
call sub.MFC71U.DLL_CInternetFile::CInternetFile
mov eax, dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push 1
push eax
lea ecx, [ebp - 0x203c]
mov dword [ebp - 4], ebx
call sub.MFC71U.DLL_CInternetFile::CInternetFile
push ebx
push 4
lea ecx, [ebp + 8]
push ecx
push 2
lea ecx, [ebp - 0x203c]
mov byte [ebp - 4], 2
mov dword [ebp + 8], 0x2710
call sub.MFC71U.DLL_CInternetFile::SetOption
push ebx
push 4
lea edx, [ebp + 8]
push edx
push 4
lea ecx, [ebp - 0x203c]
mov dword [ebp + 8], 0x3e8
call sub.MFC71U.DLL_CInternetFile::SetOption
push ebx
push 4
lea eax, [ebp + 8]
push eax
push 3
lea ecx, [ebp - 0x203c]
mov dword [ebp + 8], 1
call sub.MFC71U.DLL_CInternetFile::SetOption
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push 0x84000002
push 1
push ecx
lea ecx, [ebp - 0x2050]
call sub.MFC71U.DLL_CHtmlEditDoc::OpenURL
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2024], esi
je 0x426643
push 0x46e89c
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push ebx
lea edx, [ebp + 8]
push edx
push 0x13
mov ecx, esi
mov byte [ebp - 4], 3
call sub.MFC71U.DLL_CHttpFile::QueryInfo
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi]
add esp, 4
cmp eax, 0xc8
jne 0x426619
xor eax, eax
mov ecx, 0x802
lea edi, [ebp - 0x201c]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x2000
lea ecx, [ebp - 0x201c]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
cmp eax, ebx
jle 0x426619
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x201c]
push edx
mov byte [ebp + eax - 0x201c], bl
call dword [0x46d8fc]
mov dword [ebp - 0x2020], 1
jmp 0x4265d0
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x426643
cmp esi, ebx
mov dword [ebp - 4], 1
je 0x42665e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x2050]
call sub.MFC71U.DLL_CInternetFile::Close
lea ecx, [ebp - 0x203c]
mov byte [ebp - 4], bl
call fcn.00435e2a
lea ecx, [ebp - 0x2050]
mov dword [ebp - 4], 0xffffffff
call fcn.00435e2a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2020]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4266b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46883f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x5038
call fcn.00436170
mov eax, dword [0x48644c]
push ebx
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 0x10], esp
je 0x4268bb
cmp dword [ebp + 0x14], 0x200
jl 0x4268bb
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x5048]
mov dword [ebp - 0x501c], esi
mov dword [ebp - 0x5018], esi
call sub.MFC71U.DLL_CInternetFile::CInternetFile
mov eax, dword [ebp + 8]
push esi
push esi
push esi
push esi
push 1
push eax
lea ecx, [ebp - 0x5034]
mov dword [ebp - 4], esi
call sub.MFC71U.DLL_CInternetFile::CInternetFile
push esi
push 4
lea ecx, [ebp + 8]
push ecx
push 2
lea ecx, [ebp - 0x5034]
mov byte [ebp - 4], 2
mov dword [ebp + 8], 0x2710
call sub.MFC71U.DLL_CInternetFile::SetOption
push esi
push 4
lea edx, [ebp + 8]
push edx
push 4
lea ecx, [ebp - 0x5034]
mov dword [ebp + 8], 0x3e8
call sub.MFC71U.DLL_CInternetFile::SetOption
push esi
push 4
lea eax, [ebp + 8]
push eax
push 3
lea ecx, [ebp - 0x5034]
mov dword [ebp + 8], 1
call sub.MFC71U.DLL_CInternetFile::SetOption
mov ecx, dword [ebp + 0xc]
push esi
push esi
push 0x84000002
push 1
push ecx
lea ecx, [ebp - 0x5048]
call sub.MFC71U.DLL_CHtmlEditDoc::OpenURL
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x5018], ebx
je 0x426870
push 0x46e89c
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push esi
lea edx, [ebp + 8]
push edx
push 0x13
mov ecx, ebx
mov byte [ebp - 4], 3
call sub.MFC71U.DLL_CHttpFile::QueryInfo
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi]
add esp, 4
cmp eax, 0xc8
jne 0x426842
xor eax, eax
mov byte [ebp - 0x5014], 0
mov ecx, 0x13ff
lea edi, [ebp - 0x5013]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4fff
lea ecx, [ebp - 0x5014]
stosb byte es:[edi], al
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
test eax, eax
jle 0x426842
cmp eax, 0x4fff
jg 0x426842
cmp eax, dword [ebp + 0x14]
jge 0x426842
mov edi, dword [ebp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x5014]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x426870
test ebx, ebx
mov dword [ebp - 4], 1
je 0x42688b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
lea ecx, [ebp - 0x5048]
call sub.MFC71U.DLL_CInternetFile::Close
lea ecx, [ebp - 0x5034]
mov byte [ebp - 4], 0
call fcn.00435e2a
lea ecx, [ebp - 0x5048]
mov dword [ebp - 4], 0xffffffff
call fcn.00435e2a
mov eax, esi
jmp 0x4268bd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427ab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [0x48644c]
push ebp
push esi
mov esi, ecx
push 0x46e89c
lea ecx, [esp + 0xc]
mov dword [esp + 0x268], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0xc]
push str._smsgs_
push ecx
mov dword [esp + 0x27c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
push 0
call dword [sym.imp.MSVCR71.dll_time]
push 0x471e2c
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004069a0
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0xc]
mov ebp, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp ebp, 0xffffffff
je 0x427c3a
push edi
mov edi, dword [sym.imp.MSVCR71.dll_wcscmp]
nop
lea edx, [esp + 0x44]
push 0x471e28
push edx
call edi
add esp, 8
test eax, eax
je 0x427c0d
lea eax, [esp + 0x44]
push 0x471e20
push eax
call edi
add esp, 8
test eax, eax
je 0x427c0d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push 0
sub ecx, 0xd53e8000
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004364c0
test byte [esp + 0x18], 0x10
je 0x427c05
mov ecx, dword [esp + 0x14]
sub ecx, eax
cmp ecx, 0x15180
jle 0x427c05
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004069a0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x274], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call fcn.00426f80
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427b60
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
pop edi
jmp 0x427c46
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0x268]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x260]
pop ebp
call fcn.00436153
add esp, 0x26c
ret
Function at 0x4309b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x48644c]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], edx
call fcn.00430350
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
xor al, al
pop esi
call fcn.00436153
add esp, 0x3c
ret 0xc
Function at 0x435f18
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x472c80
call fcn.00436670
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x435f58
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x435f58
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x435f70
cmp eax, 0x20b
je 0x435f5d
mov dword [ebp - 0x1c], edi
jmp 0x435f84
cmp dword [ecx + 0x84], 0xe
jbe 0x435f58
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x435f7e
cmp dword [ecx + 0x74], 0xe
jbe 0x435f58
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x48eb74], 0xffffffff
or dword [0x48eb78], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x48b2d4]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x48b2d0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x48eb70], eax
call fcn.004366ce
call fcn.0043676e
cmp dword [0x486470], edi
jne 0x435fe4
push fcn.0043676e
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0043675c
push 0x4860b0
push 0x4860ac
call sub.MSVCR71.dll__initterm
push 0x436712
call fcn.0043624b
mov eax, dword [0x48b2cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x48b2c8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x436038
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4860a8
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x436062
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x43611c
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x4360d1
cmp ax, di
je 0x436078
cmp dword [ebp - 0x20], edi
jne 0x4360d1
mov ax, word [esi]
cmp ax, di
je 0x43608d
cmp ax, 0x20
ja 0x43608d
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x436078
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x4360a9
movzx eax, word [ebp - 0x54]
jmp 0x4360ac
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.00466610
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x4360c9
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x436116
cmp ax, 0x22
jne 0x4360e2
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x436062
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004366ab
ret
Function at 0x43b540
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x469a19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
jne 0x43b5f3
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43b5e1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x43b5e1
mov dword [edi + 0xd0], eax
mov byte [edi + 0xd8], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43b610
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x48644c]
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push esi
mov dword [esp + 0x214], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43b684
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
call fcn.00436153
add esp, 0x214
ret 0xc
Function at 0x43b860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48644c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ebx, ecx
mov ecx, dword [ebp + 8]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x43b98e
lea edx, [ebp - 0x414]
push edx
push str..htm
push SysReAllocStringLen
mov ecx, ebx
call fcn.0043b610
test eax, eax
jne 0x43b98e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x414]
push eax
call edi
lea ecx, [ebp - 0x414]
push ecx
mov edx, ecx
push edx
push SysReAllocStringLen
mov ecx, ebx
call fcn.0043b610
test eax, eax
jne 0x43b98e
lea eax, [ebp - 0x414]
push str.__1_
push eax
call dword [sym.imp.MSVCR71.dll_wcsstr]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b93a
lea ecx, [ebp - 0x414]
push 0x473a8c
push ecx
call dword [sym.imp.MSVCR71.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b93a
lea edx, [ebp - 0x414]
push edx
call ebx
lea esi, [ebp + eax*2 - 0x416]
jmp 0x43b93f
mov word [esi], 0
push 0x473a88
push esi
call edi
mov eax, dword [ebp + 8]
push eax
push esi
call edi
call dword [0x4860c0]
lea ecx, [ebp - 0x414]
push ecx
mov edi, eax
call ebx
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00436170
mov eax, esp
push edi
push esi
lea edx, [ebp - 0x414]
push edx
push eax
call fcn.004045e0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x43b990
mov eax, esi
lea esp, [ebp - 0x420]
mov ecx, dword [ebp - 4]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f120
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x469c19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x4741a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
jne 0x43f1cc
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x43f1a4
movzx edx, word [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
push edx
push edi
mov dword [esi], 0x472ee8
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateBitmapFromResource
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
jmp 0x43f1a6
xor esi, esi
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
movzx edx, word [esp + 0x28]
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43f209
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43f1eb
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x43f28b
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esi], 0x472ee8
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x43f28d
xor esi, esi
mov ecx, dword [esp + 0x30]
push ebx
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x440700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469d01
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x40]
push esi
xor esi, esi
cmp ebx, esi
jne 0x44073e
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push edi
push esi
push esi
push esi
push 0x474200
call dword [sym.imp.GDI32.dll_CreateDCW]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x46e89c
push 0x4741fc
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Replace]
push 0x46e89c
push 0x4741f8
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Replace]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x30]
call fcn.0043f620
fld dword [esp + 0x28]
call fcn.004361b0
fld dword [esp + 0x2c]
mov edi, eax
call fcn.004361b0
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x44ba56
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46aab9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0044b3f0
lea ecx, [esi + 0x14]
mov dword [esp + 0x10], 0
mov dword [esi], 0x474bdc
call fcn.0043f480
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 1
call fcn.0043f480
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 2
call fcn.0043f480
push str.CUIComboBoxDraw
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
mov dword [esi + 8], 5
call dword [0x46d334]
mov eax, dword [esi + 8]
push eax
mov ecx, esi
call fcn.0044b3b0
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x454330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x454349
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x45435d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x45437e
cmp esi, eax
jae 0x454357
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x454370
cmp esi, eax
jae 0x454357
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret