Function at 0x10001675
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100fac20
call fcn.10099a6c
sub esp, 0x70
mov ecx, dword [0x1012ab88]
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x1000188c
mov al, byte [ebp - 0xd]
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.10001fd0
push ebx
call fcn.10099480
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.100021fe
cmp dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
je 0x100016d1
lea ecx, [ebp - 0x24]
call fcn.10001fa4
mov eax, dword [ebp - 0x20]
jmp 0x100016d6
mov eax, 0x10100444
cmp byte [eax], 0x5f
jne 0x1000171f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push 0x1010d55c
push eax
call fcn.1000310e
add esp, 0xc
mov esi, eax
mov ecx, dword [0x1012ab88]
mov eax, dword [ecx]
push ebx
mov byte [ebp - 4], 1
call dword [eax + 8]
push esi
mov ecx, 0x1012ab40
mov ebx, eax
call fcn.10001cf2
and byte [ebp - 4], 0
mov dword [eax], ebx
push 1
lea ecx, [ebp - 0x34]
jmp 0x10001867
cmp dword [ebp - 0x20], edi
je 0x10001731
lea ecx, [ebp - 0x24]
call fcn.10001fa4
mov eax, dword [ebp - 0x20]
jmp 0x10001736
mov eax, 0x10100444
movsx eax, byte [eax]
push eax
call fcn.10099fab
test eax, eax
pop ecx
jne 0x1000177a
push dword [0x10100440]
lea eax, [ebp - 0x44]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.10001b28
push dword [0x10100440]
lea ecx, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.10001e54
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10001fd0
xor esi, esi
cmp dword [ebp - 0x1c], edi
jbe 0x1000180c
cmp dword [ebp - 0x1c], esi
jb 0x1000179e
cmp dword [ebp - 0x20], edi
je 0x1000179e
lea ecx, [ebp - 0x24]
call fcn.10001fa4
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x100017a3
mov eax, 0x10100444
movsx eax, byte [eax]
push eax
call fcn.10099fab
test eax, eax
pop ecx
jne 0x100017d4
cmp dword [ebp - 0x1c], esi
jb 0x100017ca
cmp dword [ebp - 0x20], edi
je 0x100017ca
lea ecx, [ebp - 0x24]
call fcn.10001fa4
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x100017cf
mov eax, 0x10100444
cmp byte [eax], 0x5f
jne 0x100017dc
inc esi
cmp dword [ebp - 0x1c], esi
ja 0x1000178a
jmp 0x1000180c
push esi
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001b28
push dword [0x10100440]
lea ecx, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.10001e54
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10001fd0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100561d0
push eax
lea eax, [ebp - 0x68]
push 0x1010d558
push eax
mov byte [ebp - 4], 4
call fcn.1000310e
add esp, 0xc
mov esi, eax
mov ecx, dword [0x1012ab88]
mov eax, dword [ecx]
push ebx
mov byte [ebp - 4], 5
call dword [eax + 8]
push esi
mov ecx, 0x1012ab40
mov ebx, eax
call fcn.10001cf2
push 1
lea ecx, [ebp - 0x68]
mov dword [eax], ebx
mov byte [ebp - 4], 4
call fcn.10001fd0
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10001fd0
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call fcn.10001fd0
mov ecx, dword [0x1012ab88]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
jmp 0x10001694
push 0xa
push 0x457
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
jne 0x100018a5
call fcn.100019f8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
jne 0x100018b8
call fcn.100019f8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x100018cb
call fcn.100019f8
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
add dword [ebp - 0x14], 4
push esi
call fcn.10099f75
push esi
push dword [ebp - 0x14]
mov dword [0x1012ab80], eax
push eax
call fcn.10099c40
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, 0x1012ab60
jle 0x10001950
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10001a11
mov eax, dword [0x1012ab80]
cmp dword [ebp - 0x6c], eax
mov dword [ebp - 4], 6
jl 0x10001928
add eax, esi
cmp dword [ebp - 0x6c], eax
jl 0x1000192d
call fcn.100019f8
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.10001cf2
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x7c]
call fcn.10001fd0
dec edi
jne 0x10001903
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
cmp eax, edi
jle 0x10001996
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10001a11
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 7
call fcn.10001a98
or dword [ebp - 4], 0xffffffff
sub eax, esi
add dword [esi], eax
push 1
lea ecx, [ebp - 0x7c]
call fcn.10001fd0
dec edi
jne 0x1000195f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
cmp eax, edi
jle 0x100019d8
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10001a11
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 8
call fcn.10001a98
add dword [esi], eax
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x58]
call fcn.10001fd0
dec edi
jne 0x100019a5
mov ecx, 0x1012ab40
call fcn.100021a9
mov ecx, ebx
call fcn.100021a9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret