Function at 0x10038440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6ae3
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x102258ec]
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 - 0x4c], esi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push 0x10000000
mov byte [ebp - 0x41], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push 0x10000000
mov dword [ebp - 0x50], 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.100bfc20
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10038621
push 0x48
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commonutils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001a260
push 3
push 0x101d0d58
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001a260
push 0x607
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xec]
call fcn.100174f0
mov esi, eax
push str.HRSRC:
push esi
mov byte [ebp - 4], 3
call fcn.10016760
add esp, 8
mov ecx, esi
push dword [ebp - 0x50]
call fcn.100332e0
push str._HGLOBAL:
push esi
call fcn.10016760
add esp, 8
mov ecx, esi
push dword [ebp - 0x48]
call fcn.100332e0
push str._resource_size:
push esi
call fcn.10016760
add esp, 8
mov ecx, esi
push edi
call fcn.10020070
call fcn.100bfc20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.10018510
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100385d4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100385ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100386c8
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003861e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038614
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100386cd
push edx
push ecx
call fcn.101454bc
add esp, 8
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1003868f
test edi, edi
je 0x1003868f
shr edi, 1
xor ecx, ecx
dec edi
mov word [ebp - 0x28], cx
push edi
add eax, 2
mov byte [ebp - 0x41], 1
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.1001e830
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x10038687
mov ecx, esi
call fcn.10017de0
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
lea ecx, [ebp - 0x28]
call fcn.10017de0
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100386aa
mov ecx, dword [esi]
push esi
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.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
call fcn.1018b109
int3