Function at 0x47ce70
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 0x507da7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5b0
mov eax, dword [0x54c154]
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.0040a3c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x88], 0
push 0xb8
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.004d78d0
add esp, 0xc
mov dword [ebp - 0x1a0], 0x5270f4
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x130], 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.0043caa0
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.0043c1b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
cmp dword [0x557fc4], 8
mov eax, 0x557fb0
push 0x40
cmovae eax, dword [0x557fb0]
push 1
push eax
call fcn.0043c0f0
test eax, eax
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
je 0x47cfd0
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x47cfe4
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.00405190
cmp dword [ebp - 0x144], 0
je 0x47d14a
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, 0x54ddcc
call fcn.00416010
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x47d05e
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d054
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5cf
push edx
push ecx
call fcn.004a44fe
add esp, 8
lea eax, [ebp - 0x1a0]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xd0]
call fcn.0047ada0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc0]
test edx, edx
je 0x47d0d2
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
push edx
cmovae eax, dword [ebp - 0xd0]
mov ecx, 0x54ddcc
push eax
call fcn.00416010
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.00405190
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xbc]
cmp edx, 0x10
jb 0x47d110
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d106
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5cf
push edx
push ecx
call fcn.004a44fe
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.0043c000
test eax, eax
jne 0x47d14a
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.00405190
cmp dword [ebp - 0x88], 0
je 0x47d18a
lea eax, [ebp - 0x88]
mov ecx, 0x557f68
push eax
call fcn.0047d5e0
test al, al
je 0x47d18a
lea ecx, [ebp - 0x1a0]
call fcn.00438c80
lea ecx, [ebp - 0x88]
call fcn.0047a760
mov byte [ebp - 0x5b9], 1
jmp 0x47d559
lea ecx, [ebp - 0x1a0]
call fcn.00438c80
lea ecx, [ebp - 0x88]
call fcn.0047a760
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x5c], 0x54dd00
call fcn.00418d40
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.004161c0
cmp dword [ebp - 0x60], 0
je 0x47d225
mov byte [ebp - 0x5b9], 0
jmp 0x47d54e
push 1
mov byte [ebp - 4], 8
call fcn.0048fe24
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.00416ab0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.0040f220
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.0041fd70
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.004161c0
lea ecx, [ebp - 0x78]
call fcn.004161c0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x47d2a6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x47d2a6
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 0x47d2e6
push eax
push str.productagentservice
push ecx
call fcn.004104a0
add esp, 0xc
test eax, eax
je 0x47d366
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 0xe
jne 0x47d310
push eax
push str.productagentui
push ecx
call fcn.004104a0
add esp, 0xc
test eax, eax
je 0x47d366
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 8
jne 0x47d33a
push eax
push str.watchdog
push ecx
call fcn.004104a0
add esp, 0xc
test eax, eax
je 0x47d366
mov eax, dword [ebp - 0xa8]
cmp esi, 8
lea ecx, [ebp - 0xb8]
cmovae ecx, edi
cmp eax, 0xc
jne 0x47d53c
push eax
push str.discoverysrv
push ecx
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x47d53c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SETTINGS
mov edi, eax
push 0xc350
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x47d53c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47d53c
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.00480970
test al, al
jne 0x47d4e4
push dword [ebp - 0x64]
lea eax, [ebp - 0x58]
push str.syntax_error_at_line__d_near:
push 0x40
push eax
call fcn.00480430
lea ecx, [ebp - 0x58]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d440
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00416010
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
nop
cmp byte [ebp - 0x68], 0
je 0x47d46c
mov byte [ebp - 0x68], 0
jmp 0x47d483
cmp edx, dword [ebp - 0x70]
je 0x47d4a2
cmp ecx, 0xa
jne 0x47d479
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 0x47d4a2
cmp eax, 0xa
je 0x47d4a2
cmp eax, 0x20
jl 0x47d460
push eax
lea ecx, [ebp - 0xa0]
call fcn.0043cc30
jmp 0x47d459
cmp dword [ebp - 0x90], 0
je 0x47d4de
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x47d531
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d4db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5d4
push edx
jmp 0x47d528
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov ecx, 0x557f68
push eax
call fcn.0047d5e0
test al, al
jne 0x47d588
cmp edi, 0x10
jb 0x47d531
mov ecx, dword [ebp - 0xa0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x47d527
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5d4
push edi
push ecx
call fcn.004a44fe
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.0047a760
mov byte [ebp - 0x5b9], 0
lea ecx, [ebp - 0xb8]
call fcn.004161c0
lea ecx, [ebp - 0xe8]
call fcn.004161c0
lea ecx, [ebp - 0x5b8]
call fcn.0040a5f0
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.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x47d5b8
mov ecx, dword [ebp - 0xa0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x47d5ae
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5d4
push edi
push ecx
call fcn.004a44fe
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.0047a760
mov byte [ebp - 0x5b9], 1
jmp 0x47d543
call fcn.004da7c4
call fcn.004da7c4
int3