Function at 0x4188a6
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x47b570]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x18
mov eax, 0x45f89f
call fcn.00435814
mov eax, dword [ebp + 0x24c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x254]
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x24], edi
mov esi, edx
call fcn.004012c0
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
lea esi, [edi + 0xd0]
mov dword [edi], vtable.CDownload.0
call fcn.004022ed
lea eax, [edi + 0xec]
push 7
pop ecx
xor edx, edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ebx
mov dword [ebp - 0x20], eax
mov word [eax], dx
mov dword [edi + 0x11c], ecx
mov dword [edi + 0x118], ebx
mov word [edi + 0x108], dx
lea eax, [edi + 0x124]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov dword [eax + 0x10], ebx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
push dword [ebp - 0x14]
lea esi, [edi + 0x140]
mov byte [ebp - 4], 4
call fcn.004022ed
push dword [ebp - 0x10]
lea esi, [edi + 0x15c]
mov byte [ebp - 4], 5
call fcn.004022ed
push 7
pop ecx
xor edx, edx
mov dword [edi + 0x18c], ecx
mov dword [edi + 0x188], ebx
mov word [edi + 0x178], dx
mov dword [edi + 0x194], 1
mov dword [edi + 0x19c], ebx
mov dword [edi + 0x1a4], ebx
mov al, byte [ebp + 0x250]
push 0x40237f
push 0x401eed
mov byte [ebp - 4], 8
push ecx
mov byte [edi + 0x1ae], al
push 0x1c
lea eax, [edi + 0x200]
push eax
mov dword [edi + 0x1a8], 0x10000
mov word [edi + 0x1ac], bx
mov byte [edi + 0x1af], bl
call fcn.00431b38
mov eax, dword [ebp + 0x258]
mov byte [ebp - 4], 9
push 0x6c05
push 0x200a
mov ecx, str.YJD17y7SncBTi_juKw
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2c8], eax
call fcn.00420467
push eax
push str.kernel32
call fcn.0042748c
add esp, 0x10
mov esi, eax
xor eax, eax
push 0x47f51c
mov word [edi + 0x2cc], ax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push str.RT_RCDATA
push dword [ebp - 0x14]
mov dword [edi + 0x198], eax
push ebx
mov dword [edi + 0x1b8], ebx
mov dword [edi + 0x1bc], ebx
mov dword [edi + 0x1b0], ebx
mov dword [edi + 0x1b4], ebx
mov dword [edi + 0x80], 3
call esi
mov esi, eax
cmp esi, ebx
je 0x418a65
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
jmp 0x418a68
mov dword [ebp - 0x10], ebx
cmp esi, ebx
je 0x418a7e
cmp dword [ebp - 0x10], ebx
je 0x418a7e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
jmp 0x418a81
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x418b37
push dword [ebp - 0x14]
mov ecx, str.Zb30_BLbgc5Cw6HIONiZwUqWu9c5YvcSYzp6BmXiMBU2b7YXNuBzkKc_4E
push 0x4b16
call fcn.00420467
pop ecx
push eax
call fcn.0041f822
pop ecx
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x418b2e
cmp dword [0x47c8c4], 8
mov eax, dword [0x47c8b0]
jae 0x418ac7
mov eax, 0x47c8b0
lea ecx, [ebp + 0x38]
push ecx
push ebx
push 0x469c0c
push eax
call dword [0x47f4e4]
lea eax, [ebp + 0x38]
push eax
lea eax, [edi + 0x24]
push eax
call fcn.004022c5
lea eax, [ebp + 0x38]
push 0x469c14
push eax
call fcn.004308dd
mov ebx, eax
push ebx
push dword [ebp - 0x10]
push 1
push esi
call fcn.00430a92
push ebx
call fcn.0043069e
add esp, 0x1c
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x14]
mov ecx, str.Zb30_BLbgc5Cw6HIONiZwUqWu9c5YvcSYzp6BmXiMBU2b7YXMCcxlKN_uVcw4GPA6qR
mov dword [edi + 0x80], 4
call fcn.00420467
push eax
call fcn.0041f822
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, edi
call fcn.00418bef
lea eax, [ebp + 0x1c]
push 0x46b2ec
push eax
mov ebx, 0x47c8b0
call fcn.0040b1d1
add edi, 0x21c
lea ecx, [ebp]
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0041b1ac
add esp, 0x10
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00409812
push 1
xor edi, edi
lea esi, [ebp]
call fcn.00402342
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.00402342
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00401feb
cmp dword [esi + 0x14], 8
jb 0x418baa
mov esi, dword [esi]
push esi
push dword [ebp - 0x14]
mov ecx, str.Zb30_BLbgc5Cw6HIONiZwUqWu9c5YvcSYzp6BmXiMBU2b7YXMSL2waQ9fgI1oLDY4Hq1nk5A
push 0x1ebe
call fcn.00420467
pop ecx
push eax
call fcn.0041f822
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0042fd59
add ebp, 0x244
leave
ret 0x10