Function at 0x10069518
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10261d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], ecx
cmp eax, edi
je 0x10069950
cmp dword [eax + 4], edi
je 0x10069950
cmp dword [ecx + 0xc], edi
jne 0x10069950
mov ebx, dword [ecx + 0x18]
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 8], edi
cmp dword [ebx - 0xc], edi
je 0x100695d0
cmp ebx, edi
je 0x10069581
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x10069585
xor esi, esi
jmp 0x1006959b
lea eax, [esi + esi]
call fcn.1019cf20
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.1000481d
mov esi, eax
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 1
push SysReAllocString
push edi
push esi
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jge 0x10069718
mov eax, esi
jmp 0x10069955
cmp dword [ecx + 0x10], edi
je 0x100696d6
movzx esi, word [ecx + 0x10]
call fcn.10006e8c
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
cmp ecx, edi
jne 0x100695f7
mov ecx, 0x101f0964
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
neg esi
sbb esi, esi
mov ebx, 0x7fffbffb
and esi, ebx
add esi, 0x80004005
mov dword [ebp - 0x1c], eax
js 0x10069718
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
add esi, 0x80004005
js 0x10069718
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [ebp - 0x30], esi
neg esi
sbb esi, esi
and esi, ebx
add esi, 0x80004005
js 0x10069718
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x1c], esi
neg esi
sbb esi, esi
and esi, ebx
add esi, 0x80004005
js 0x10069718
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x38]
mov esi, eax
cmp esi, edi
jl 0x10069718
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov esi, eax
cmp esi, edi
jl 0x10069718
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 1
push edi
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x10]
mov esi, eax
jmp 0x10069718
cmp dword [ecx + 0x24], edi
je 0x10069718
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov ebx, dword [ebp - 0x14]
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push edi
push edi
push dword [ebx + 0x24]
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, edi
jl 0x10069718
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
lea ecx, [ebx + 0xc]
push ecx
push edi
push dword [ebp - 8]
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [eax], edi
jne 0x100698bc
cmp esi, edi
jl 0x10069768
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x10069747
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call dword [ecx + 0x34]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp esi, edi
jl 0x10069768
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x28]
mov esi, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x100697a1
cmp ebx, edi
jne 0x100697a1
cmp esi, edi
jl 0x100698bc
mov eax, dword [ebp - 0x18]
fldz
mov ecx, dword [eax]
push 1
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push 0x1021f098
push dword [ebp - 8]
jmp 0x1006989d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jl 0x100698bc
cmp dword [ebp - 0xc], edi
jne 0x10069807
mov eax, ebx
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0x100697d3
fadd dword [0x101f0960]
mov eax, dword [ebp - 0x1c]
fild dword [ebp - 0x1c]
test eax, eax
jns 0x100697e3
fadd dword [0x101f0960]
fdivp st(1)
mov eax, dword [ebp - 0x30]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fild dword [ebp - 0x30]
test eax, eax
jns 0x100697fb
fadd dword [0x101f0960]
fmulp st(1)
call fcn.1019def6
mov dword [ebp - 0xc], eax
jmp 0x1006984c
cmp ebx, edi
jne 0x1006984c
mov eax, dword [ebp - 0xc]
fild dword [ebp - 0xc]
test eax, eax
jns 0x1006981b
fadd dword [0x101f0960]
mov eax, dword [ebp - 0x30]
fild dword [ebp - 0x30]
test eax, eax
jns 0x1006982b
fadd dword [0x101f0960]
fdivp st(1)
mov eax, dword [ebp - 0x1c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fild dword [ebp - 0x1c]
test eax, eax
jns 0x10069843
fadd dword [0x101f0960]
fmulp st(1)
call fcn.1019def6
mov ebx, eax
push edi
push edi
mov ecx, 0x10263518
call fcn.1000bdcc
mov eax, dword [0x102634f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, edi
jl 0x100698bc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 2
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, edi
jl 0x100698bc
mov eax, dword [ebp - 0x18]
fldz
mov ecx, dword [eax]
push 1
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push 0x1021f098
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, edi
jl 0x100698bc
push dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 8], eax
jne 0x100698c7
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x100698d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x100698e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x100698f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x10069907
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x10069917
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x10069927
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x28], edi
je 0x100695c9
mov eax, dword [eax + 0x24]
cmp eax, edi
je 0x100695c9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], edi
jmp 0x100695c9
mov eax, 0x80004005
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10198d24
leave
ret 4