Function at 0x4125f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b8c1
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x45fc58]
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 ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 0x104
push ebx
push esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ebx
call fcn.00413680
sub esp, 0xc
mov eax, esp
push ebx
push eax
call fcn.0040a600
add esp, 8
call fcn.00413460
add esp, 0x18
test al, al
jne 0x4127c2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx ecx, word [ebp + 8]
push 0x100
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, dword [ebp - 0x7c]
sub esp, 0x18
mov ecx, esp
push ebx
mov dword [ebp - 0x74], eax
call fcn.00401680
lea eax, [ebp - 0x58]
push eax
call fcn.0040a670
mov edi, eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0
call fcn.0040a600
push eax
lea eax, [ebp - 0x28]
push str.Copying
push eax
mov byte [ebp - 4], 1
call fcn.0040fb30
add esp, 0x30
mov esi, eax
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 2
call fcn.00406a50
push edi
push str._to
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00408300
push eax
call fcn.004035f0
add esp, 8
push eax
call fcn.004038e0
add esp, 8
push eax
call fcn.004035f0
add esp, 8
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 2
call fcn.00406d90
cmp dword [ebp - 0x14], 0x10
jb 0x412731
push dword [ebp - 0x28]
call fcn.00418e43
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x412754
push dword [ebp - 0x40]
call fcn.00418e43
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
jb 0x41277e
push dword [ebp - 0x58]
call fcn.00418e43
add esp, 4
push 1
push 0x40
push 0x20
push ebx
lea ecx, [ebp - 0x12c]
call fcn.004103e0
push 0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x74]
mov dword [ebp - 4], 4
call fcn.00414fe0
lea ecx, [ebp - 0x12c]
call fcn.00408230
lea ecx, [ebp - 0x12c]
call fcn.00407450
jmp 0x412834
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0040a600
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], 5
call fcn.00406a50
push str._because_it_already_exists
push esi
push str.Not_copying
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
push eax
call fcn.004035f0
add esp, 8
push eax
call fcn.004038e0
add esp, 8
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 5
call fcn.00406d90
cmp dword [ebp - 0x5c], 0x10
jb 0x412834
push dword [ebp - 0x70]
call fcn.00418e43
add esp, 4
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.004195d9
mov esp, ebp
pop ebp
ret