Function at 0xcf52f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xf3c704]
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 0xcf572b
cmp dword [eax + 4], edi
je 0xcf572b
cmp dword [ecx + 0xc], edi
jne 0xcf572b
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 0xcf53ab
cmp ebx, edi
je 0xcf535c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0xcf5360
xor esi, esi
jmp 0xcf5376
lea eax, [esi + esi]
call fcn.00e70910
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00ce0887
mov esi, eax
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov eax, dword [0xf3fbec]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 1
push 0x80000000
push edi
push esi
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jge 0xcf54f3
mov eax, esi
jmp 0xcf5730
cmp dword [ecx + 0x10], edi
je 0xcf54b1
movzx esi, word [ecx + 0x10]
call fcn.00ce3261
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
cmp ecx, edi
jne 0xcf53d2
mov ecx, str.image
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 0xcf54f3
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 0xcf54f3
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 0xcf54f3
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 0xcf54f3
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov eax, dword [0xf3fbec]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x38]
mov esi, eax
cmp esi, edi
jl 0xcf54f3
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 0xcf54f3
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov eax, dword [0xf3fbec]
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 0xcf54f3
cmp dword [ecx + 0x24], edi
je 0xcf54f3
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov ebx, dword [ebp - 0x14]
mov eax, dword [0xf3fbec]
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 0xcf54f3
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 0xcf5697
cmp esi, edi
jl 0xcf5543
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0xcf5522
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 0xcf5543
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov eax, dword [0xf3fbec]
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 0xcf557c
cmp ebx, edi
jne 0xcf557c
cmp esi, edi
jl 0xcf5697
mov eax, dword [ebp - 0x18]
fldz
mov ecx, dword [eax]
push 1
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push 0xef4e28
push dword [ebp - 8]
jmp 0xcf5678
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 0xcf5697
cmp dword [ebp - 0xc], edi
jne 0xcf55e2
mov eax, ebx
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0xcf55ae
fadd dword [0xec2b00]
mov eax, dword [ebp - 0x1c]
fild dword [ebp - 0x1c]
test eax, eax
jns 0xcf55be
fadd dword [0xec2b00]
fdivp st(1)
mov eax, dword [ebp - 0x30]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fild dword [ebp - 0x30]
test eax, eax
jns 0xcf55d6
fadd dword [0xec2b00]
fmulp st(1)
call fcn.00e71c06
mov dword [ebp - 0xc], eax
jmp 0xcf5627
cmp ebx, edi
jne 0xcf5627
mov eax, dword [ebp - 0xc]
fild dword [ebp - 0xc]
test eax, eax
jns 0xcf55f6
fadd dword [0xec2b00]
mov eax, dword [ebp - 0x30]
fild dword [ebp - 0x30]
test eax, eax
jns 0xcf5606
fadd dword [0xec2b00]
fdivp st(1)
mov eax, dword [ebp - 0x1c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fild dword [ebp - 0x1c]
test eax, eax
jns 0xcf561e
fadd dword [0xec2b00]
fmulp st(1)
call fcn.00e71c06
mov ebx, eax
push edi
push edi
mov ecx, 0xf3fc10
call fcn.00cf6e63
mov eax, dword [0xf3fbec]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, edi
jl 0xcf5697
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 0xcf5697
mov eax, dword [ebp - 0x18]
fldz
mov ecx, dword [eax]
push 1
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push 0xef4e28
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, edi
jl 0xcf5697
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 0xcf56a2
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0xcf56b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0xcf56c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0xcf56d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0xcf56e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0xcf56f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 8]
cmp eax, edi
je 0xcf5702
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 0xcf53a4
mov eax, dword [eax + 0x24]
cmp eax, edi
je 0xcf53a4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], edi
jmp 0xcf53a4
mov eax, 0x80004005
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00e6d43c
leave
ret 4