Function at 0x1004b770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f3d1e
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10283a3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
mov byte [ebp - 0x41], 0
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push 0x10000000
mov dword [ebp - 0x4c], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0x10000000
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x48]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x54], eax
call fcn.100f8ff0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004b8ff
push 0x46
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommonutils.cpp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10023160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1021ddf8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10023160
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push 0x609
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xec]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 3
push 0x1021fbf8
push esi
call fcn.1001ed80
add esp, 8
mov ecx, esi
push dword [ebp - 0x4c]
call fcn.100315a0
push str._HGLOBAL:
push esi
call fcn.1001ed80
add esp, 8
mov ecx, esi
push dword [ebp - 0x48]
call fcn.100315a0
push str._resource_size:
push esi
call fcn.1001ed80
add esp, 8
mov ecx, esi
push edi
call fcn.10031410
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec]
call fcn.100212b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100208e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100208e0
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1004b983
test edi, edi
je 0x1004b983
shr edi, 1
xor ecx, ecx
dec edi
mov word [ebp - 0x28], cx
push edi
add eax, 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x41], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.10027e50
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1004b977
mov ecx, esi
call fcn.10022d00
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10020960
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004b9a5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x41]
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.1017034a
mov esp, ebp
pop ebp
ret