Function at 0x4035d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x16c
mov eax, 0x49532e
call fcn.00479e3f
push 0x49fc90
xor edi, edi
push str.BUNDLEPROPERTIES
mov ebx, ecx
push edi
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x90], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
jne 0x403611
xor al, al
jmp 0x403be7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
je 0x40360a
lea ecx, [ebp - 0x178]
call fcn.004693e0
push edi
push edi
push esi
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], edi
call fcn.0046b2b0
test eax, eax
je 0x403bd3
lea ecx, [ebp - 0x178]
call fcn.004688e0
push str.__bundleProperties_val
push eax
lea ecx, [ebp - 0x130]
call fcn.004646e0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], edi
call fcn.00467e20
test eax, eax
jbe 0x4038d7
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00463a60
and dword [ebp - 0x34], 0
and word [ebp - 0x44], 0
push 7
pop edi
mov esi, eax
mov dword [ebp - 0x30], edi
push 0x49fc70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401a8f
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x2c]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040350a
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x81], al
call fcn.00401e14
cmp byte [ebp - 0x81], 0
je 0x4038a8
and dword [ebp - 0x18], 0
and word [ebp - 0x28], 0
mov dword [ebp - 0x14], edi
push str.value
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00401a8f
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xac]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040350a
pop ecx
push 0
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x81], al
mov byte [ebp - 4], 4
call fcn.00401e14
cmp byte [ebp - 0x81], 0
je 0x40389c
push str.defaultLang
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403756
add ebx, 0x20
jmp 0x403889
push str.manifestUrl
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x40376f
add ebx, 0x3c
jmp 0x403889
push str.resourceUrlFmtSpec
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403788
add ebx, 0x58
jmp 0x403889
push str.setupUrl
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x4037a4
add ebx, 0xac
jmp 0x403889
push str.bundleId
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x4037bd
add ebx, 0x74
jmp 0x403889
push 0x49fd5c
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x4037d9
add ebx, 0x90
jmp 0x403889
push str.surveyUrl
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x4037f5
add ebx, 0xc8
jmp 0x403889
push str.supportUrl
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x40380e
add ebx, 0xe4
jmp 0x403889
push str.privacyPolicyUrl
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403827
add ebx, 0x100
jmp 0x403889
push str.GBCDefaultCheckedIsReset
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403840
add ebx, 0x11c
jmp 0x403889
push str.GBCDefaultCheckedNotReset
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403859
add ebx, 0x138
jmp 0x403889
push str.GBCDefaultUncheckedIsReset
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x403872
add ebx, 0x154
jmp 0x403889
push str.GBCDefaultUncheckedNotReset
lea esi, [ebp - 0x48]
call fcn.00405844
test eax, eax
jne 0x40389c
add ebx, 0x170
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.00401220
mov ebx, dword [ebp - 0x88]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004012a8
push 0
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004012a8
inc dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00467e20
cmp dword [ebp - 0x8c], eax
jb 0x40367c
jmp 0x4038da
push 7
pop edi
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.00403347
lea ecx, [ebp - 0x178]
call fcn.004688e0
push str.__bundleProperties_postInstallUrl_param
push eax
lea ecx, [ebp - 0x130]
call fcn.004646e0
and dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.00467e20
test eax, eax
jbe 0x403a36
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00463a60
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
push str.name
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.00401a8f
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xac]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0040350a
pop ecx
push 0
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x81], al
mov byte [ebp - 4], 8
call fcn.00401e14
cmp byte [ebp - 0x81], 0
je 0x4039fd
push str.value
lea ecx, [ebp - 0xac]
call fcn.00401a8f
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0xac]
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.0040350a
pop ecx
push 0
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.00401e14
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00404396
lea eax, [ebp - 0x80]
push eax
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 0xb
call fcn.00404337
lea edi, [ebp - 0x80]
call fcn.0045776d
push 7
pop edi
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004012a8
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004012a8
inc dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00467e20
cmp dword [ebp - 0x8c], eax
jb 0x403923
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.00403347
lea ecx, [ebp - 0x178]
call fcn.004688e0
push str.__bundleProperties_buyUrls_val
push eax
lea ecx, [ebp - 0x130]
call fcn.004646e0
and dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00467e20
test eax, eax
jbe 0x403bc0
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00463a60
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
push 0x49fc70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.00401a8f
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
or dword [ebp - 0x90], 1
push eax
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.0040350a
test al, al
pop ecx
je 0x403b12
push str.value
lea ecx, [ebp - 0xac]
call fcn.00401a8f
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0x10
or dword [ebp - 0x90], 2
push eax
lea edx, [ebp - 0xac]
mov ecx, esi
call fcn.0040350a
test al, al
pop ecx
mov byte [ebp - 0x81], 1
jne 0x403b19
mov byte [ebp - 0x81], 0
test byte [ebp - 0x90], 2
je 0x403b38
and dword [ebp - 0x90], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.00401e14
mov dword [ebp - 4], 0xe
test byte [ebp - 0x90], 1
je 0x403b5b
and dword [ebp - 0x90], 0xfffffffe
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401e14
cmp byte [ebp - 0x81], 0
je 0x403b87
lea eax, [ebp - 0x2c]
push eax
add ebx, 0x18c
push ebx
call fcn.00404165
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [ebp - 0x48]
call fcn.00401220
mov ebx, dword [ebp - 0x88]
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004012a8
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.004012a8
inc dword [ebp - 0x8c]
lea ecx, [ebp - 0x130]
call fcn.00467e20
cmp dword [ebp - 0x8c], eax
jb 0x403a7f
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.00403347
mov byte [ebx + 0x1c], 1
mov bl, byte [ebx + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.0040326a
mov al, bl
call fcn.00479ec2
ret