Function at 0x410ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4ba088]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push sym.imp.wininet.dll_FindFirstUrlCacheEntryA
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x410d57
mov dword [ebp - 0x38], 0
jmp 0x410d5e
mov dword [ebp - 0x38], 0x80004005
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jl 0x410d98
mov eax, dword [ebp - 0x28]
push eax
push sym.imp.wininet.dll_FindFirstUrlCacheEntryA
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x410d8b
mov dword [ebp - 0x3c], 0
jmp 0x410d92
mov dword [ebp - 0x3c], 0x80004005
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jl 0x410dc7
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x410dba
mov dword [ebp - 0x40], 0
jmp 0x410dc1
mov dword [ebp - 0x40], 0x80004005
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410dfb
mov ecx, dword [ebp - 0x28]
push ecx
push sym.imp.wininet.dll_FindFirstUrlCacheEntryA
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x410dee
mov dword [ebp - 0x44], 0
jmp 0x410df5
mov dword [ebp - 0x44], 0x80004005
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jl 0x410e16
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [edx + 0x38]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410e35
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x40]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410e58
lea edx, [ebp - 0x20]
push edx
push 1
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410e75
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x34]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410e90
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x411094
cmp dword [ebp + 0x18], 0
jne 0x410eaa
cmp dword [ebp + 0x1c], 0
je 0x411069
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x411067
cmp dword [ebp + 0x18], 0
jne 0x410f5e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
cvtsi2sd xmm0, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4b20f0]
movsd qword [ebp - 0x6c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], edx
cvtsi2sd xmm1, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4b20f0]
movsd qword [ebp - 0x74], xmm1
cvtsd2ss xmm1, qword [ebp - 0x74]
divss xmm0, xmm1
movss dword [ebp - 0x60], xmm0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x50], ecx
cvtsi2sd xmm0, dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4b20f0]
movsd qword [ebp - 0x7c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x7c]
mulss xmm0, dword [ebp - 0x60]
call fcn.0045e5d0
mov dword [ebp + 0x18], eax
jmp 0x410ffc
cmp dword [ebp + 0x1c], 0
jne 0x410ffc
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
cvtsi2sd xmm0, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4b20f0]
movsd qword [ebp - 0x84], xmm0
cvtsd2ss xmm0, qword [ebp - 0x84]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x58], edx
cvtsi2sd xmm1, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4b20f0]
movsd qword [ebp - 0x8c], xmm1
cvtsd2ss xmm1, qword [ebp - 0x8c]
divss xmm0, xmm1
movss dword [ebp - 0x64], xmm0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x5c], ecx
cvtsi2sd xmm0, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4b20f0]
movsd qword [ebp - 0x94], xmm0
cvtsd2ss xmm0, qword [ebp - 0x94]
mulss xmm0, dword [ebp - 0x64]
call fcn.0045e5d0
mov dword [ebp + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x411036
push 2
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x411067
push 1
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0x4a2080
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x20]
call ecx
mov dword [ebp - 0x24], eax
jmp 0x411094
push 1
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0x4a2080
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x4110b5
mov ecx, dword [ebp + 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00404d40
add esp, 4
lea edx, [ebp - 0x14]
push edx
call fcn.00404d40
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.00404d40
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404d40
add esp, 4
lea edx, [ebp - 0x1c]
push edx
call fcn.00404d40
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045dc13
mov esp, ebp
pop ebp
ret