Function at 0x424192
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x442059
call fcn.0043de50
sub esp, 0x1c
mov al, byte [ebp + 0x13]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, 0x4555cc
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
movzx eax, word [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push eax
push ebx
push 0xfde9
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
jle 0x42426e
add eax, eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0x10], eax
push dword [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
push ebx
push 0xfde9
call esi
push dword [ebp + 0x10]
call edi
pop ecx
push eax
lea ecx, [ebp - 0x28]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
push dword [ebp + 0x10]
call fcn.0043dc2c
pop ecx
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x28]
push ebx
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
pop eax
mov dword [ebp - 0x18], eax
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret