Function at 0x10001676
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100f0420
call fcn.1009a02c
sub esp, 0x70
mov ecx, dword [0x1011e848]
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x1000188d
mov al, byte [ebp - 0xd]
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.10001fd1
push ebx
call fcn.10099a40
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.100021ff
cmp dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
je 0x100016d2
lea ecx, [ebp - 0x24]
call fcn.10001fa5
mov eax, dword [ebp - 0x20]
jmp 0x100016d7
mov eax, 0x100f5424
cmp byte [eax], 0x5f
jne 0x10001720
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push 0x1010257c
push eax
call fcn.1000310f
add esp, 0xc
mov esi, eax
mov ecx, dword [0x1011e848]
mov eax, dword [ecx]
push ebx
mov byte [ebp - 4], 1
call dword [eax + 8]
push esi
mov ecx, 0x1011e800
mov ebx, eax
call fcn.10001cf3
and byte [ebp - 4], 0
mov dword [eax], ebx
push 1
lea ecx, [ebp - 0x34]
jmp 0x10001868
cmp dword [ebp - 0x20], edi
je 0x10001732
lea ecx, [ebp - 0x24]
call fcn.10001fa5
mov eax, dword [ebp - 0x20]
jmp 0x10001737
mov eax, 0x100f5424
movsx eax, byte [eax]
push eax
call fcn.1009a56b
test eax, eax
pop ecx
jne 0x1000177b
push dword [0x100f5420]
lea eax, [ebp - 0x44]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.10001b29
push dword [0x100f5420]
lea ecx, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.10001e55
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10001fd1
xor esi, esi
cmp dword [ebp - 0x1c], edi
jbe 0x1000180d
cmp dword [ebp - 0x1c], esi
jb 0x1000179f
cmp dword [ebp - 0x20], edi
je 0x1000179f
lea ecx, [ebp - 0x24]
call fcn.10001fa5
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x100017a4
mov eax, 0x100f5424
movsx eax, byte [eax]
push eax
call fcn.1009a56b
test eax, eax
pop ecx
jne 0x100017d5
cmp dword [ebp - 0x1c], esi
jb 0x100017cb
cmp dword [ebp - 0x20], edi
je 0x100017cb
lea ecx, [ebp - 0x24]
call fcn.10001fa5
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x100017d0
mov eax, 0x100f5424
cmp byte [eax], 0x5f
jne 0x100017dd
inc esi
cmp dword [ebp - 0x1c], esi
ja 0x1000178b
jmp 0x1000180d
push esi
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001b29
push dword [0x100f5420]
lea ecx, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.10001e55
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10001fd1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10056c60
push eax
lea eax, [ebp - 0x68]
push 0x10102578
push eax
mov byte [ebp - 4], 4
call fcn.1000310f
add esp, 0xc
mov esi, eax
mov ecx, dword [0x1011e848]
mov eax, dword [ecx]
push ebx
mov byte [ebp - 4], 5
call dword [eax + 8]
push esi
mov ecx, 0x1011e800
mov ebx, eax
call fcn.10001cf3
push 1
lea ecx, [ebp - 0x68]
mov dword [eax], ebx
mov byte [ebp - 4], 4
call fcn.10001fd1
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10001fd1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call fcn.10001fd1
mov ecx, dword [0x1011e848]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
jmp 0x10001695
push 0xa
push 0x457
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
jne 0x100018a6
call fcn.100019f9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
jne 0x100018b9
call fcn.100019f9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x100018cc
call fcn.100019f9
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
add dword [ebp - 0x14], 4
push esi
call fcn.1009a535
push esi
push dword [ebp - 0x14]
mov dword [0x1011e840], eax
push eax
call fcn.1009a200
add dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
add esp, 0x10
cmp eax, edi
mov ebx, 0x1011e820
jle 0x10001951
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10001a12
mov eax, dword [0x1011e840]
cmp dword [ebp - 0x6c], eax
mov dword [ebp - 4], 6
jl 0x10001929
add eax, esi
cmp dword [ebp - 0x6c], eax
jl 0x1000192e
call fcn.100019f9
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.10001cf3
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x7c]
call fcn.10001fd1
dec edi
jne 0x10001904
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
cmp eax, edi
jle 0x10001997
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10001a12
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 7
call fcn.10001aa1
or dword [ebp - 4], 0xffffffff
sub eax, esi
add dword [esi], eax
push 1
lea ecx, [ebp - 0x7c]
call fcn.10001fd1
dec edi
jne 0x10001960
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
cmp eax, edi
jle 0x100019d9
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10001a12
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 8
call fcn.10001aa1
add dword [esi], eax
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x58]
call fcn.10001fd1
dec edi
jne 0x100019a6
mov ecx, 0x1011e800
call fcn.100021aa
mov ecx, ebx
call fcn.100021aa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret