Function at 0x10413d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x10a588f
call fcn.0107a6db
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1041412
test byte [eax + 0x1c], 1
je 0x1041412
cmp byte [eax + 0x19], 5
jb 0x1041412
push dword [ebp + 8]
push 0x1003990
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
mov ecx, dword [0x10b6968]
test ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, 0xffff
mov edi, 0x80070000
jne 0x1041440
call dword [fcn.010011dc]
test eax, eax
jle 0x1041437
and eax, ebx
or eax, edi
mov esi, eax
mov eax, dword [0x10b30cc]
jmp 0x1041442
xor esi, esi
cmp eax, 0x10b30cc
je 0x104146d
test byte [eax + 0x1c], 2
je 0x104146d
cmp byte [eax + 0x19], 4
jb 0x104146d
push esi
push 0x1003990
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
je 0x10414d5
movzx eax, word [ebp + 8]
push 0x3f9
push eax
push dword [ebp - 0x14]
call dword [fcn.01001200]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x10414a3
call dword [fcn.010011dc]
test eax, eax
jle 0x104149f
and eax, ebx
or eax, edi
mov esi, eax
jmp 0x10414a5
xor esi, esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x10414d5
test byte [eax + 0x1c], 2
je 0x10414d5
cmp byte [eax + 0x19], 4
jb 0x10414d5
push esi
push 0x1003990
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
and dword [ebp + 8], 0
cmp dword [ebp - 0x10], 0
je 0x1041536
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [0x1001204]
test eax, eax
mov dword [ebp + 8], eax
jne 0x1041504
call dword [fcn.010011dc]
test eax, eax
jle 0x1041500
and eax, ebx
or eax, edi
mov esi, eax
jmp 0x1041506
xor esi, esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1041536
test byte [eax + 0x1c], 2
je 0x1041536
cmp byte [eax + 0x19], 4
jb 0x1041536
push esi
push 0x1003990
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
cmp dword [ebp + 8], 0
je 0x104164f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [0x100120c]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x1041565
call dword [fcn.010011dc]
test eax, eax
jle 0x1041561
and eax, ebx
or eax, edi
mov esi, eax
jmp 0x1041567
xor esi, esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x104159a
test byte [eax + 0x1c], 2
je 0x104159a
cmp byte [eax + 0x19], 4
jb 0x104159a
push esi
mov ebx, 0x1003990
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
jmp 0x104159f
mov ebx, 0x1003990
cmp dword [ebp - 0x14], 0
je 0x1041654
push dword [ebp + 8]
call dword [0x1001208]
mov edi, eax
mov esi, edi
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x10415f2
test byte [eax + 0x1c], 2
je 0x10415f2
cmp byte [eax + 0x19], 4
jb 0x10415f2
push esi
push ebx
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
test edi, edi
je 0x1041654
cmp eax, 0x10b30cc
je 0x1041617
test byte [eax + 0x1c], 2
je 0x1041617
cmp byte [eax + 0x19], 4
jb 0x1041617
push ebx
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
push 0x10b7af8
lea ecx, [ebp + 8]
call fcn.0104078f
push dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
lea ecx, [ebp + 8]
call fcn.01040ffa
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.01040cdf
lea ecx, [edi - 0x10]
call fcn.01026e74
mov eax, dword [0x10b30cc]
jmp 0x1041654
mov ebx, 0x1003990
cmp eax, 0x10b30cc
je 0x1041685
test byte [eax + 0x1c], 1
je 0x1041685
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1041685
push esi
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, esi
call fcn.0107a7c7
ret 8