Function at 0x493d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movsx eax, byte [ecx + 0xb]
mov edx, ecx
test eax, eax
jns 0x493dab
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
test eax, eax
js 0x49403f
sete cl
test edx, edx
setne ch
or ch, cl
je 0x49403f
lea esi, [ebp - 0xc8]
mov ecx, esi
push 0x52
push 0x77f544
push eax
push edx
call fcn.0063b500
add edi, dword [esi + 0x18]
mov ecx, esi
call fcn.0063c5d0
mov dword [ebp - 0x24], edi
mov ecx, dword [0x80d5ac]
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
mov dword [ebp - 0xcc], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x493e79
mov esi, eax
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x493e79
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x493e79
mov ebx, eax
push esi
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and edi, 0xf
je 0x493e60
test eax, eax
jle 0x493e60
mov edx, ebx
add edx, eax
dec edi
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
cmp ebx, edx
setb cl
add edi, 0xffffffff
jae 0x493e60
cmp ebx, edx
jb 0x493e49
test cl, cl
je 0x493e79
movzx edx, word [ebx]
test edx, edx
sete al
test ebx, ebx
sete cl
or cl, al
je 0x493fe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x28]
mov dword [esi], eax
lea eax, [ebp + 0xc]
push eax
call fcn.00533150
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00533150
add esp, 4
push esi
call fcn.00533150
add esp, 4
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx + 0xb]
mov ecx, edx
test eax, eax
jns 0x493ebe
mov eax, dword [edx + 4]
mov ecx, dword [edx]
test eax, eax
lea edi, [ebp - 0xc8]
js 0x49403f
sete dl
test ecx, ecx
setne dh
or dh, dl
je 0x49403f
push eax
push ecx
push edi
call fcn.005559f0
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x493ef6
mov edi, dword [ebp - 0xc8]
lea esi, [ebp - 0x20]
push 0x10
push edi
push esi
call fcn.00557d50
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x493f1c
push dword [ebp - 0xc8]
call fcn.005c57c0
add esp, 4
push esi
call fcn.00533150
add esp, 4
push 0x29
push str.....chromeupdaterwinuil10n_util.cc
call fcn.0055f480
add esp, 8
cmp eax, 2
jl 0x493faf
lea edi, [ebp - 0xc8]
mov ecx, edi
push 0xfffffffffffffffe
push 0x40
push str.....chromeupdaterwinuil10n_util.cc
call fcn.004ba430
lea ecx, [ebp - 0xc0]
push dword [ebp + 0xc]
call fcn.00533160
mov esi, 2
mov ebx, 0x777543
push esi
push ebx
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push dword [ebp - 0x24]
call fcn.00533160
push esi
push ebx
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push dword [ebp - 0x28]
call fcn.004114c0
push esi
push ebx
push eax
call fcn.00533f70
add esp, 0xc
push dword [ebp + 0x10]
push eax
call fcn.004b5750
add esp, 8
mov ecx, edi
call fcn.004ba910
call fcn.00645550
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
mov eax, esi
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], dl
jmp 0x494019
add ebx, 2
cmp dx, 4
jbe 0x493fdc
mov edi, edx
or edi, 3
lea eax, [edi*2 + 2]
push eax
mov esi, edx
call fcn.005c5789
mov edx, esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
add edi, 0x80000001
mov dword [eax + 8], edi
mov dword [eax + 4], edx
cmp esi, ebx
ja 0x494024
lea eax, [esi + edx*2]
cmp eax, ebx
ja 0x49403f
lea eax, [edx + edx]
push eax
push ebx
push esi
mov edi, edx
call fcn.005c9580
add esp, 0xc
mov word [esi + edi*2], 0
mov esi, dword [ebp + 8]
jmp 0x493fc5
ud2