Function at 0x100014a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xb8
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x80], eax
test byte [0x10004018], 8
jne 0x10001bb0
mov dword [esp], 0x10004080
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [0x10004158]
sub esp, 4
mov dword [ebp - 0x78], eax
test eax, eax
je 0x10001c20
test ebx, ebx
je 0x10001510
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
cmp eax, edi
ja 0x10001af0
test esi, esi
je 0x10001c08
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x84], eax
call eax
mov edx, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x18
lea edi, [eax + eax + 2]
mov dword [ebp - 0x78], eax
mov dword [esp], edi
mov dword [ebp - 0x8c], edx
call edx
test eax, eax
je 0x10001c08
mov edx, dword [ebp - 0x78]
mov dword [esp + 8], esi
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x84]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
mov eax, dword [ebp - 0x78]
xor edx, edx
sub esp, 0x18
mov word [eax + edi - 2], dx
test ebx, ebx
je 0x1000164b
mov dword [ebp - 0x84], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
mov edx, dword [ebp - 0x8c]
sub esp, 0x18
lea esi, [eax + eax + 2]
mov dword [ebp - 0x88], eax
mov dword [esp], esi
call edx
mov edi, eax
test eax, eax
je 0x10001c77
mov edx, dword [ebp - 0x88]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x84]
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
xor eax, eax
mov word [edi + esi - 2], ax
sub esp, 0x18
test byte [0x10004018], 8
jne 0x10001c40
mov eax, dword [0x10004158]
mov dword [ebp - 0x74], 0
lea esi, [ebp - 0x50]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
mov dword [ebp - 0x88], eax
mov dword [esp + 4], esi
mov dword [esp], str.JScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
sub esp, 8
test eax, eax
jne 0x10001b40
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], 0x10008c58
mov dword [esp + 0x10], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x10001b40
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x10008ca8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
jne 0x10001b40
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 4
test eax, eax
jne 0x10001b40
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov dword [esp + 4], 0x10004164
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
jne 0x10001b40
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov dword [esp + 8], 8
mov dword [esp + 4], str.global_funcs
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0xc
mov esi, eax
test eax, eax
jne 0x10001b40
mov dword [esp], str.jsproxy.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov edi, eax
mov dword [esp + 8], 0x28
mov dword [esp + 4], str.pac.js
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x10001b40
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x94], eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edx, dword [ebp - 0x94]
sub esp, 8
mov dword [ebp - 0x98], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, dword [ebp - 0x98]
sub esp, 8
mov dword [ebp - 0x9c], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
sub esp, 0x18
cmp word [eax], 0
je 0x10001c87
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x10001828
sub eax, dword [ebp - 0x90]
sar eax, 1
mov edi, dword [ebp - 0x94]
mov dword [esp], 0
lea eax, [edi + eax + 1]
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
sub esp, 8
mov edi, eax
test eax, eax
je 0x10001b40
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x9c]
mov dword [esp + 0x14], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x84]
mov dword [esp], 0
call edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], edi
sub esp, 0x18
lea ecx, [edi + eax*2]
mov edi, dword [ebp - 0x90]
xor eax, eax
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x100018b8
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x84]
mov edx, dword [eax]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x28
test eax, eax
jne 0x10001b44
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 8
mov esi, eax
test eax, eax
jne 0x10001c80
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 0xc
test eax, eax
jne 0x10001b44
mov eax, dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esp], str.FindProxyForURL
mov dword [ebp - 0x84], eax
call eax
mov dword [ebp - 0x64], eax
sub esp, 4
test eax, eax
je 0x10001b44
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x64]
mov dword [esp + 0x10], 0x800
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x10008a48
mov dword [esp], ecx
call dword [eax + 0x14]
sub esp, 0x18
mov esi, eax
test eax, eax
jne 0x10001c80
mov ecx, 8
mov dword [esp], ebx
mov eax, dword [ebp - 0x84]
mov word [ebp - 0x30], cx
call eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
sub esp, 4
mov eax, 8
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x84]
mov dword [esp], ecx
call eax
lea edx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 0
mov ecx, dword [eax]
lea eax, [ebp - 0x60]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x20], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], 0x10008a48
mov dword [esp], eax
call dword [ecx + 0x18]
mov ecx, dword [sym.imp.oleaut32.dll_VariantClear]
lea edx, [ebp - 0x30]
sub esp, 0x24
mov dword [ebp - 0x84], eax
mov dword [esp], edx
mov dword [ebp - 0x90], ecx
call ecx
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x90]
sub esp, 4
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x84]
sub esp, 4
test eax, eax
je 0x10001c8e
test byte [0x10004018], 4
je 0x10001b44
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], str.script_failed_0x_08lx_n
mov dword [esp + 8], str.run_script
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10004018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10001b44
mov eax, dword fs:[0x18]
mov dword [ebp - 0x78], 0
xor esi, esi
xor ebx, ebx
mov dword [eax + 0x34], 0x7a
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call ebx
mov dword [esp], 0x10004080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
xor edi, edi
xor esi, esi
mov dword [esp], edi
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
call edi
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x6c]
sub esp, 4
test eax, eax
je 0x10001b6f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10001b81
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10001b93
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x88]
test eax, eax
js 0x10001b08
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10001b08
mov eax, esi
mov dword [ebp - 0x78], edx
call sym._wine_dbgstr_an.constprop.0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s___lu___s___lu___p___p_n
mov dword [esp + 8], str.InternetGetProxyInfo
mov dword [esp + 4], 0x10004018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100014db
mov dword [ebp - 0x78], 0
xor esi, esi
xor ebx, ebx
jmp 0x10001b08
mov eax, dword fs:[0x18]
xor ebx, ebx
mov dword [eax + 0x34], 0x3eb
xor esi, esi
jmp 0x10001b08
mov eax, dword [0x10004158]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], 0x100060b3
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.InternetGetProxyInfo
mov dword [esp + 4], 0x10004018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001658
xor ebx, ebx
xor esi, esi
jmp 0x10001b08
xor esi, esi
jmp 0x10001b44
xor eax, eax
jmp 0x10001839
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x10001d96
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 8], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov esi, dword [ebp - 0x8c]
sub esp, 0x20
mov dword [ebp - 0x94], eax
mov dword [esp], eax
call esi
mov esi, eax
test eax, eax
je 0x10001d96
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp - 0x98]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov eax, dword [ebp - 0x7c]
sub esp, 0x20
mov dword [eax], esi
test byte [0x10004018], 8
jne 0x10001da1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x84], 1
inc eax
mov dword [esi], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
call eax
mov esi, dword [ebp - 0x84]
push edx
jmp 0x10001b44
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
jmp 0x10001d7c
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.result:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.run_script
mov dword [esp + 4], 0x10004018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001d5e