Function at 0x401764
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x868c
call fcn.004601c0
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x8688], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
lea eax, [esp + 0x270]
push eax
mov dword [esp + 0x28], esi
call fcn.00401c9b
push esi
lea ecx, [esp + 0x274]
call fcn.004138f0
push 0x104
lea esi, [esp + 0x848c]
call fcn.00405810
mov dword [esp], str.onaInstall.log
push 0x4788bc
call fcn.00405c30
push 0x50
mov esi, eax
call fcn.00450883
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x4017e8
push esi
mov esi, eax
call fcn.00414100
mov dword [esp + 0x18], eax
jmp 0x4017ec
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
push str.___START___
mov edi, str.INFO
push edi
call fcn.00414290
push 0x800
call fcn.0045081c
mov esi, eax
lea eax, [esp + 0x274]
mov dword [esp], 0x400
push eax
call fcn.00413c20
push esi
push str.ARGS:
lea eax, [esp + 0x38]
call fcn.00401cc7
push eax
call fcn.00401cf8
call fcn.00401489
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.00414290
lea ecx, [esp + 0x30]
call fcn.004012b8
push esi
call fcn.00450827
pop ecx
push dword [esp + 0x18]
push ecx
push str.onaFull
push 0x478d28
call fcn.00405c30
add esp, 0xc
push eax
lea esi, [esp + 0x68]
call fcn.0040157a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, 0x419
mov dword [esp + 0x1c], 0x68
cmp si, ax
jne 0x40189b
mov dword [esp + 0x1c], 0x67
jmp 0x4018ad
mov eax, 0x422
cmp si, ax
jne 0x4018ad
mov dword [esp + 0x1c], 0x69
push 0x479b64
push 0x479b6c
mov dword [esp + 0x1c], ebx
call fcn.00405c30
pop ecx
pop ecx
push eax
movzx eax, word [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x40190f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x40190f
push dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push eax
push dword [esp + 0x18]
call fcn.00413630
add esp, 0xc
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea esi, [esp + 0x60]
call fcn.00401610
test eax, eax
je 0x401973
push 0x10
push ebx
push 0x478d2c
push 0x478d60
call fcn.00405c30
pop ecx
pop ecx
push dword [esp + 0x1c]
call fcn.00413780
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xa
pop edi
lea esi, [esp + 0x60]
call fcn.004015a4
lea eax, [esp + 0x270]
push eax
call fcn.00401cad
mov ecx, dword [esp + 0x8694]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x10
pop eax
call fcn.00414510
push 0x24
mov dword [esp + 0x14], eax
call fcn.00450883
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4019d7
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esi], eax
call fcn.00451e16
pop ecx
push eax
call fcn.00451e04
pop ecx
mov dword [0x494030], esi
mov dword [esp + 0x20], esi
jmp 0x4019db
mov dword [esp + 0x20], ebx
push 0xa698
call fcn.00450883
pop ecx
cmp eax, ebx
je 0x401a00
push dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push eax
call fcn.00425f40
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x401a06
mov dword [esp + 0x14], ebx
mov esi, ebx
mov ecx, esi
call fcn.0041d120
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.00414290
lea ebx, [esi + 0xc6c]
mov edi, 0x478d64
call fcn.00413ad0
mov edi, str._version
mov byte [esp + 0x10], al
call fcn.00413ad0
test al, al
je 0x401a4e
mov edi, esi
call fcn.0041d150
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
jmp 0x401944
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test al, al
jne 0x401ab8
mov edi, str._secondInstance
lea ebx, [esp + 0x270]
call fcn.00413ad0
test al, al
jne 0x401ab8
lea esi, [esp + 0x60]
call fcn.004015ac
push dword [esp + 0x24]
lea eax, [esp + 0x34]
call fcn.00401cc7
push 0x478dac
push 0x478da8
lea eax, [esp + 0x38]
push eax
call fcn.00401cf8
push eax
call fcn.00401cf8
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.004044f0
pop ecx
lea ecx, [esp + 0x30]
call fcn.004012b8
jmp 0x401a47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x401b07
xor edi, edi
cmp dword [esp + 0x1c], edi
je 0x401ae5
push 0x1388
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push edi
push 1
mov ecx, esi
mov dword [esi + 0x8d2c], 2
call fcn.0041ed70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
jmp 0x401944
push 0x48
call fcn.00450883
pop ecx
test eax, eax
je 0x401b23
push dword [esp + 0x10]
mov edi, esi
push eax
call fcn.004237b0
mov ebx, eax
jmp 0x401b25
xor ebx, ebx
cmp byte [esp + 0x10], 0
je 0x401b76
mov ecx, dword [esp + 0x18]
push 0x47a5b0
push str.INFO
mov dword [esp + 0x38], vtable.SilentScenarioListener.0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
call fcn.00414290
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
mov byte [esp + 0x44], 0
call dword [eax + 0x18]
lea esi, [esp + 0x30]
call fcn.00420e90
mov edi, dword [esp + 0x14]
jmp 0x401c4f
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x44]
mov dword [esp + 0x30], vtable.SimpleWizardHeader.0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
call fcn.00406a40
push dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.00401538
push 0x68
call fcn.00450883
mov esi, eax
pop ecx
test esi, esi
je 0x401bca
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ebx
lea eax, [esp + 0x38]
call fcn.00401091
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jmp 0x401bcf
and dword [esp + 0x10], 0
push 0x14
call fcn.00450883
pop ecx
test eax, eax
je 0x401bff
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], vtable.OffersReadyCallBack.0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.PartnerPageCreator.0
mov dword [eax + 4], vtable.PartnerPageCreator.1.0
mov dword [eax + 0xc], ecx
jmp 0x401c01
xor eax, eax
push eax
mov eax, edi
call fcn.0040270b
mov esi, eax
call fcn.004145e0
push edi
mov edi, dword [esp + 0x14]
push ebx
call fcn.004016d8
mov edi, dword [esp + 0x1c]
pop ecx
pop ecx
push dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, edi
call fcn.00401d24
mov esi, eax
call fcn.00435680
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esp + 0x24]
call fcn.00413330
lea ecx, [esp + 0x30]
call fcn.00401cb6
cmp dword [esp + 0x1c], 0
je 0x401c65
push 0x1388
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [edi + 0x14]
jmp 0x401c85
push dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x100
lea edx, [esp + 0x8290]
push edx
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0x18]
jne 0x401c6a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 0xb88]
jmp 0x401944