Function at 0x476b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca599
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
push 0x48
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00581fe0
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.00457ba0
push str.PRODUCT_INFO_XML
push 0xd9
mov bl, 1
mov byte [ebp - 4], 1
push 0
mov byte [ebp - 0xe1], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x476c57
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x476c57
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x476c57
push esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0045f8d0
cmp dword [ebp - 0x84], 0
je 0x477117
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
push 1
cmovae eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xe0]
push 0
push eax
call fcn.0045a3e0
mov esi, dword [ebp - 0xc8]
test esi, esi
je 0x4770c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x476caa
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x476c93
jmp 0x4770c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x4770c8
push str.leid
mov ecx, eax
call fcn.004566a0
mov ebx, eax
test ebx, ebx
je 0x4770c2
nop
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x47709f
mov eax, dword [eax + 0x20]
mov edx, 0x6090cf
add eax, 8
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
cmovne edx, eax
mov byte [ebp - 0x34], 0
cmp byte [edx], 0
jne 0x476d0b
xor ecx, ecx
jmp 0x476d19
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476d10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.0045f8d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0
je 0x477086
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
push str.adobeCode
lea ecx, [eax + 0x2c]
call fcn.00458bd0
test eax, eax
je 0x476d75
mov eax, dword [eax + 0x18]
add eax, 8
je 0x476d75
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
push str.adobeCode
lea ecx, [eax + 0x2c]
call fcn.00458bd0
test eax, eax
je 0x476d71
mov edx, dword [eax + 0x18]
add edx, 8
jmp 0x476d7a
xor edx, edx
jmp 0x476d7a
mov edx, 0x6090cf
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
cmp byte [edx], 0
jne 0x476d95
xor ecx, ecx
jmp 0x476da9
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476da0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0045f8d0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
mov eax, 0xf
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3c], esi
je 0x476fee
xor eax, eax
lea ecx, [ebp - 0x4c]
cmp byte [0x60a540], al
setne al
push eax
push esi
push 0x60a540
call fcn.004679a0
mov esi, eax
cmp esi, 0xffffffff
je 0x476e8b
push esi
push edi
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00467450
push eax
lea ecx, [ebp - 0x64]
call fcn.004674d0
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jb 0x476e4e
inc eax
lea ecx, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
call fcn.00459720
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004792d0
inc esi
cmp esi, dword [ebp - 0x3c]
jae 0x476e97
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00467450
push eax
lea ecx, [ebp - 0x7c]
call fcn.004674d0
lea ecx, [ebp - 0x120]
call fcn.0045e7f0
lea eax, [ebp - 0x7c]
jmp 0x476e8e
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004792d0
mov edi, dword [ebp - 0xec]
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x88]
call fcn.00468d40
mov edi, dword [edi + 0x88]
mov esi, eax
mov dword [ebp - 0xf0], edi
cmp esi, edi
je 0x476f2c
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0xe8], eax
jb 0x476ed2
mov edx, dword [edx]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x24]
cmovae ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xe8]
cmp edi, dword [ecx]
mov ecx, dword [ebp - 0xf8]
cmovb eax, edi
push eax
push edx
push ecx
call fcn.00462f10
add esp, 0xc
test eax, eax
jne 0x476f1f
mov edx, dword [ebp - 0xe8]
mov ecx, edi
mov eax, dword [edx]
cmp eax, ecx
jbe 0x476f1b
or eax, 0xffffffff
jmp 0x476f1f
sbb eax, eax
neg eax
mov edi, dword [ebp - 0xf0]
shr eax, 0x1f
test al, al
je 0x476f2e
mov esi, edi
mov edi, dword [ebp - 0xec]
add edi, 0x88
cmp esi, dword [edi]
jne 0x476f83
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x12c]
call fcn.0047b6a0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0047bf30
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call fcn.0047bf60
lea ecx, [ebp - 0x12c]
call fcn.00476af0
mov edi, dword [ebp - 0x1c]
jmp 0x476fd3
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0047bdc0
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
mov esi, dword [esi + 0x2c]
call fcn.0047bdc0
mov ecx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
lea ecx, [ecx + 0x28]
push dword [ebp - 0x18]
push edi
push esi
call fcn.0047bae0
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x476fe8
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00459720
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp eax, 0x10
jb 0x477012
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00459720
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
test edi, edi
je 0x477071
push dword [ebp - 0xf4]
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call fcn.0046e900
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.0046e4f0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x477086
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00459720
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x47709f
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00459720
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x4770b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x47710c
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x4770a6
xor ebx, ebx
test ebx, ebx
jne 0x476cd0
mov bl, byte [ebp - 0xe1]
lea ecx, [ebp - 0xe0]
call fcn.00456c90
mov ecx, dword [ebp - 0x80]
cmp ecx, 0x10
jb 0x4770ee
inc ecx
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x94]
call fcn.00459720
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ebx, eax
jmp 0x4770ba
xor bl, bl
jmp 0x4770c8