Function at 0x471f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe5b7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5b0
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.ProductInfo::Load
lea ecx, [ebp - 0x5b8]
mov dword [ebp - 0x5c], 0
call fcn.0040fa90
mov dword [ebp - 4], 0
mov dword [ebp - 0x88], 0
push 0xb8
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.004cdf10
add esp, 0xc
mov dword [ebp - 0x1a0], 0x517be4
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x5c], 1
call fcn.0042c980
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x190]
call fcn.004346f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
cmp dword [0x545b6c], 8
mov eax, 0x545b58
push 0x40
cmovae eax, dword [0x545b58]
push 1
push eax
call fcn.00434630
test eax, eax
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
je 0x4720b0
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4720c4
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.0040edc0
cmp dword [ebp - 0x144], 0
je 0x47222a
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x53ed78
call fcn.004031d0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x47213e
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x472134
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4726af
push edx
push ecx
call fcn.0049855b
add esp, 8
lea eax, [ebp - 0x1a0]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xd0]
call fcn.00470140
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc0]
test edx, edx
je 0x4721b2
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
push edx
cmovae eax, dword [ebp - 0xd0]
mov ecx, 0x53ed78
push eax
call fcn.004031d0
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040edc0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xbc]
cmp edx, 0x10
jb 0x4721f0
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4721e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4726af
push edx
push ecx
call fcn.0049855b
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.0042ce60
test eax, eax
jne 0x47222a
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040edc0
cmp dword [ebp - 0x88], 0
je 0x47226a
lea eax, [ebp - 0x88]
mov ecx, 0x545b10
push eax
call fcn.004726c0
test al, al
je 0x47226a
lea ecx, [ebp - 0x1a0]
call fcn.0042a380
lea ecx, [ebp - 0x88]
call fcn.0043cbd0
mov byte [ebp - 0x5b9], 1
jmp 0x472639
lea ecx, [ebp - 0x1a0]
call fcn.0042a380
lea ecx, [ebp - 0x88]
call fcn.0043cbd0
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x5c], 0x53ece0
call fcn.00407080
mov dword [ebp - 0xe8], 0
xor ecx, ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.004033a0
cmp dword [ebp - 0x60], 0
je 0x472305
mov byte [ebp - 0x5b9], 0
jmp 0x47262e
push 1
mov byte [ebp - 4], 8
call fcn.004850b3
add esp, 4
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404a90
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.0040bca0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.0040d4f0
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.004033a0
lea ecx, [ebp - 0x78]
call fcn.004033a0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x472386
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x472386
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edi, dword [ebp - 0xb8]
cmp esi, 8
mov eax, dword [ebp - 0xa8]
cmovae ecx, edi
cmp eax, 0x13
jne 0x4723c6
push eax
push str.productagentservice
push ecx
call fcn.0040c240
add esp, 0xc
test eax, eax
je 0x472446
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 0xe
jne 0x4723f0
push eax
push str.productagentui
push ecx
call fcn.0040c240
add esp, 0xc
test eax, eax
je 0x472446
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 8
jne 0x47241a
push eax
push str.watchdog
push ecx
call fcn.0040c240
add esp, 0xc
test eax, eax
je 0x472446
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 0xc
jne 0x47261c
push eax
push str.discoverysrv
push ecx
call fcn.0040c240
add esp, 0xc
test eax, eax
jne 0x47261c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x520cd8
mov edi, eax
push 0xc350
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x47261c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47261c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x5c]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x88], 0
mov edi, 0xf
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x74]
xor ecx, ecx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x67], cx
add eax, esi
mov byte [ebp - 0x65], cl
mov byte [ebp - 0x68], cl
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x64], 1
call fcn.0046f080
test al, al
jne 0x4725c4
push dword [ebp - 0x64]
lea eax, [ebp - 0x58]
push str.syntax_error_at_line__d_near:
push 0x40
push eax
call fcn.0043ef40
lea ecx, [ebp - 0x58]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472520
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.004031d0
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
nop
cmp byte [ebp - 0x68], 0
je 0x47254c
mov byte [ebp - 0x68], 0
jmp 0x472563
cmp edx, dword [ebp - 0x70]
je 0x472582
cmp ecx, 0xa
jne 0x472559
inc dword [ebp - 0x64]
movzx ecx, byte [edx]
inc edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], edx
mov eax, ecx
cmp eax, 0xffffffff
je 0x472582
cmp eax, 0xa
je 0x472582
cmp eax, 0x20
jl 0x472540
push eax
lea ecx, [ebp - 0xa0]
call fcn.0042a260
jmp 0x472539
cmp dword [ebp - 0x90], 0
je 0x4725be
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x472611
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4725bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4726b4
push edx
jmp 0x472608
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov ecx, 0x545b10
push eax
call fcn.004726c0
test al, al
jne 0x472668
cmp edi, 0x10
jb 0x472611
mov ecx, dword [ebp - 0xa0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x472607
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4726b4
push edi
push ecx
call fcn.0049855b
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.0043cbd0
mov byte [ebp - 0x5b9], 0
lea ecx, [ebp - 0xb8]
call fcn.004033a0
lea ecx, [ebp - 0xe8]
call fcn.004033a0
lea ecx, [ebp - 0x5b8]
call fcn.0040fcc0
mov al, byte [ebp - 0x5b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x472698
mov ecx, dword [ebp - 0xa0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x47268e
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4726b4
push edi
push ecx
call fcn.0049855b
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.0043cbd0
mov byte [ebp - 0x5b9], 1
jmp 0x472623
call fcn.004d076f
call fcn.004d076f
int3