Function at 0x439a30
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 0x4794bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x49c128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x88], 0
push 0xb8
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004572c0
mov dword [ebp - 0x1a0], 0x48a774
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x190]
mov dword [ebp - 0x5c], 1
xorps xmm0, xmm0
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x134], 0x58
push eax
movlpd qword [ebp - 0x198], xmm0
call fcn.00413270
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.00412d10
mov byte [ebp - 4], 4
mov eax, 0x4a0090
cmp dword [0x4a00a4], 8
push ecx
cmovae eax, dword [0x4a0090]
lea ecx, [ebp - 0x190]
push 1
push eax
call fcn.00412c50
test eax, eax
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
je 0x439b90
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x439ba4
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.00403730
cmp dword [ebp - 0x144], 0
je 0x439d0a
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x49cbb8
call fcn.00418fe0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x439c1e
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x439c14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a42e
push edx
push ecx
call fcn.004553f5
add esp, 8
lea eax, [ebp - 0x1a0]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.00437d10
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa8]
test edx, edx
je 0x439c92
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
push edx
cmovae eax, dword [ebp - 0xb8]
mov ecx, 0x49cbb8
push eax
call fcn.00418fe0
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.00403730
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x439cd0
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x439cc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a42e
push edx
push ecx
call fcn.004553f5
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.0040ba30
test eax, eax
jne 0x439d0a
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.00403730
cmp dword [ebp - 0x88], 0
jne 0x439d72
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.0040a870
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1a4], eax
mov byte [ebp - 4], 7
jmp 0x439de8
lea eax, [ebp - 0x88]
mov ecx, 0x4a00b4
push eax
call fcn.0043a460
test al, al
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]
jne 0x43a3ba
call fcn.0040a870
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1a4], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x130]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.00452e26
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00437720
lea edx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], 0x49cb90
call fcn.004389d0
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
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x439eae
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439ea4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a433
push edx
push ecx
call fcn.004553f5
add esp, 8
cmp dword [ebp - 0x80], 0
je 0x439ec0
mov byte [ebp - 0x1a1], 0
jmp 0x43a315
push 1
mov byte [ebp - 4], 0xb
call fcn.0045261c
add esp, 4
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xe8]
call fcn.0041a8d0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
call fcn.004083f0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xa0]
call fcn.0043bba0
add esp, 4
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x439f4b
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439f41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a438
push edx
push ecx
call fcn.004553f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x439fa3
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439f99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a438
push edx
push ecx
call fcn.004553f5
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x439fe0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x439fe0
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa0]
mov esi, dword [ebp - 0xa0]
cmp edi, 8
mov eax, dword [ebp - 0x90]
cmovae ecx, esi
cmp eax, 0x13
jne 0x43a01f
push eax
mov edx, str.productagentservice
call fcn.00409a90
add esp, 4
test eax, eax
je 0x43a09c
mov eax, dword [ebp - 0x90]
cmp edi, 8
lea ecx, [ebp - 0xa0]
cmovae ecx, esi
cmp eax, 0xe
jne 0x43a048
push eax
mov edx, str.productagentui
call fcn.00409a90
add esp, 4
test eax, eax
je 0x43a09c
mov eax, dword [ebp - 0x90]
cmp edi, 8
lea ecx, [ebp - 0xa0]
cmovae ecx, esi
cmp eax, 8
jne 0x43a071
push eax
mov edx, str.watchdog
call fcn.00409a90
add esp, 4
test eax, eax
je 0x43a09c
mov eax, dword [ebp - 0x90]
cmp edi, 8
lea ecx, [ebp - 0xa0]
cmovae ecx, esi
cmp eax, 0xc
jne 0x43a2bd
push eax
mov edx, str.discoverysrv
call fcn.00409a90
add esp, 4
test eax, eax
jne 0x43a2bd
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 0x43a2b1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43a2b1
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 - 0xb0], 0
mov edi, 0xf
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], edi
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x70]
xor ecx, ecx
mov dword [ebp - 0x70], esi
mov word [ebp - 0x63], cx
add eax, esi
mov byte [ebp - 0x61], cl
mov byte [ebp - 0x64], cl
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x60], 1
call fcn.0043d200
test al, al
jne 0x43a259
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push str.syntax_error_at_line__d_near:
push 0x40
push eax
call fcn.0043cde0
lea ecx, [ebp - 0x58]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a173
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00418fe0
mov eax, dword [ebp - 0x70]
nop
cmp byte [ebp - 0x64], 0
je 0x43a19f
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x64], 0
jmp 0x43a1b7
cmp eax, dword [ebp - 0x6c]
je 0x43a217
cmp dword [ebp - 0x68], 0xa
jne 0x43a1ad
inc dword [ebp - 0x60]
movzx ecx, byte [eax]
inc eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], eax
cmp ecx, 0xffffffff
je 0x43a217
cmp ecx, 0xa
je 0x43a217
cmp ecx, 0x20
jl 0x43a190
mov edx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xbc]
mov byte [ebp - 0x5c], cl
cmp edx, esi
jae 0x43a1fc
lea eax, [edx + 1]
cmp esi, 0x10
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x43a18c
push dword [ebp - 0x5c]
mov byte [ebp - 0x7c], 0
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.0040f1d0
jmp 0x43a18c
cmp dword [ebp - 0xc0], 0
je 0x43a253
mov edx, dword [ebp - 0xbc]
cmp edx, 0x10
jb 0x43a2a6
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43a250
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a442
push edx
jmp 0x43a29d
mov edi, dword [ebp - 0xbc]
lea eax, [ebp - 0xb0]
mov ecx, 0x4a00b4
push eax
call fcn.0043a460
test al, al
jne 0x43a351
cmp edi, 0x10
jb 0x43a2a6
mov ecx, dword [ebp - 0xd0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x43a29c
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a442
push edi
push ecx
call fcn.004553f5
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.00437720
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x8c]
mov byte [ebp - 0x1a1], 0
cmp edi, 8
jb 0x43a2f8
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x43a2ee
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a43d
push edi
push esi
call fcn.004553f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x43a3b2
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a3a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a43d
jmp 0x43a3a8
cmp edi, 0x10
jb 0x43a385
mov ecx, dword [ebp - 0xd0]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x43a37b
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a442
push edi
push ecx
call fcn.004553f5
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.00437720
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xa0]
mov byte [ebp - 0x1a1], 1
jmp 0x43a2c4
push edx
push ecx
call fcn.004553f5
add esp, 8
mov al, byte [ebp - 0x1a1]
jmp 0x43a410
call fcn.0040a870
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1a4], eax
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00452e26
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00437720
mov al, 1
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.004553e7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00459a2f
call fcn.00459a2f
call fcn.00459a2f
call fcn.00459a2f
call fcn.00459a2f
int3