Function at 0x4015a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40423e
mov eax, dword fs:[0]
push eax
mov eax, 0xf318
call fcn.00404150
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40529c
push 0x67
push 0
mov dword [ebp - 0x100], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401623
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00402700
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0xb0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xfc], 0x405310
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xec], 0x4052bc
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x100], eax
lea eax, [ebp - 0xe4]
mov ecx, eax
mov dword [ebp - 0x120], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
mov edi, dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
mov dword [ebp - 0x104], eax
xor eax, eax
mov dword [ebp - 0xe4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp edi, 0x7fffffff
jbe 0x401732
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
test edi, edi
je 0x4017ce
cmp edi, 0x1000
jb 0x401769
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x401b74
push eax
call fcn.004032b5
add esp, 4
test eax, eax
je 0x401b47
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x401774
push edi
call fcn.004032b5
add esp, 4
mov esi, eax
push edi
push dword [ebp - 0x104]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xd8]
lea ecx, [edi + esi]
mov dword [ebp - 0xac], ecx
add esp, 0xc
sub ecx, esi
mov dword [eax], esi
mov eax, dword [ebp - 0xc8]
mov dword [eax], esi
mov eax, dword [ebp - 0xb8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xac]
sub ecx, esi
mov dword [eax], esi
mov eax, dword [ebp - 0xc4]
mov dword [eax], esi
mov eax, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, 1
jmp 0x4017d4
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
push ecx
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.00402990
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x40195e
nop
cmp dword [ebp - 0x20], 0xf
lea esi, [ebp - 0x34]
mov edi, dword [ebp - 0x24]
cmova esi, dword [ebp - 0x34]
test edi, edi
je 0x40184b
push edi
push 0x3c
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x40184b
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x401898
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push ecx
cmp eax, dword [ebp - 0x14]
je 0x401867
mov edx, eax
call fcn.00403180
add esp, 4
add dword [ebp - 0x18], 0x18
jmp 0x401870
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d20
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xfc]
call fcn.00402990
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x401820
jmp 0x40195e
test ecx, ecx
je 0x40195e
cmp edi, ecx
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x108], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x20], 0xf
push ecx
cmova eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x11c]
push eax
movups xmmword [ebp - 0x11c], xmm0
call fcn.00402700
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x401910
movups xmm0, xmmword [ebp - 0x11c]
mov ecx, 0xf
mov byte [ebp - 0x11c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x10c]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x18], 0x18
jmp 0x401926
lea ecx, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402b40
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x40195e
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401954
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b47
push ecx
push edx
call fcn.004032e5
add esp, 8
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x401999
nop dword [eax + eax]
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40198a
mov eax, dword [esi]
mov dword [ebp + edi*4 - 0xf324], eax
add esi, 0x18
inc edi
cmp edi, ecx
jb 0x401980
push 0
push 0
push 0x40000
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x50000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push 0
mov dword [ebp - 0x104], esi
call dword [sym.imp.USER32.dll_GetDC]
push 4
mov dword [ebp - 0x100], eax
mov edi, esi
call fcn.004032b5
add esp, 4
xor esi, esi
mov dword [eax], 0x2a
push edi
push dword [ebp + esi*4 - 0xf324]
call dword [sym.imp.RPCRT4.dll_UuidFromStringA]
inc esi
mov dword [ebp - 4], 6
add edi, 0x10
cmp esi, 0x3c81
jl 0x4019e0
call fcn.00401170
mov esi, dword [ebp - 0x104]
push 0
push esi
push 0
push dword [ebp - 0x100]
call dword [sym.imp.GDI32.dll_EnumFontsW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x401a58
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b47
push ecx
push edx
call fcn.004032e5
add esp, 8
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x100], eax
lea ecx, [ebp - 0xe4]
call fcn.004021a0
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x401b1f
mov edx, dword [ebp - 0x18]
push ecx
call fcn.004027e0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x401b00
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b47
push ecx
push esi
call fcn.004032e5
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
cmp eax, 0xf
jbe 0x401b57
mov edx, dword [ebp - 0x4c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004032e5
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004032a7
mov esp, ebp
pop ebp
ret
call fcn.004010c0
int3