Function at 0x401fe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x41b014]
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 esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x170], eax
push str.DIALL_CARS
movzx eax, ax
push eax
push 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x5c], str.DIALL_CARS
mov dword [esi + 0x60], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x402065
push 0x1a
push str.The_resource_Was_not_Found
lea ecx, [esi + 0x70]
call fcn.0040f0c0
xor al, al
jmp 0x402230
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 0x48], eax
test eax, eax
jne 0x40208b
push 0x19
push str.The_resource_Was_not_Load
lea ecx, [esi + 0x70]
call fcn.0040f0c0
xor al, al
jmp 0x402230
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esi + 0x4c]
mov dword [esi + 0x184], eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x188], eax
cmp edi, str.null
je 0x402216
lea edi, [esi + 0x88]
cmp dword [edi + 0x64], 0
lea ebx, [edi + 0x18]
jne 0x4021cd
push 0x40
push 0x22
push dword [esi + 0x60]
call dword [sym.imp.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_wchar_t_const___int__int_]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4021cd
mov ecx, ebx
mov byte [ebx + 0x48], 1
mov byte [ebx + 0x3d], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push ecx
push eax
push edx
push ecx
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____char____int___char____char____int__]
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x41baa4]
mov dword [ebx + 0x4c], eax
mov eax, dword [0x41baa0]
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x28]
mov dword [ebx + 0x44], ecx
mov ecx, ebx
push eax
mov dword [ebx + 0x38], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void_]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040fb40
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::codecvt_base::always_noconv_void_const]
test al, al
je 0x402187
mov dword [ebx + 0x38], 0
jmp 0x402195
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebx + 0x38], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4021b4
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4021b4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [edi]
add ecx, 4
test ebx, ebx
je 0x4021d2
mov ecx, dword [ecx]
push 0
push 0
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4021e0
mov ecx, dword [edi]
add ecx, 4
mov ecx, dword [ecx]
push 0
push 2
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [esi + 0x188]
lea ecx, [esi + 0x98]
cdq
push edx
push eax
push dword [esi + 0x184]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
mov ecx, ebx
call fcn.0040ed70
test eax, eax
jne 0x402216
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
push 0x41469c
lea ecx, [esi + 0x70]
call fcn.0040f0c0
mov al, 1
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.00410a23
mov esp, ebp
pop ebp
ret 0x10