Function at 0x423410
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e919
push eax
mov eax, 0x1110
mov dword fs:[0], esp
call fcn.0043a440
mov eax, dword [esp + 0x1120]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1124]
push ebx
push ebp
push esi
and eax, 0xffff
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x423460
xor al, al
jmp 0x42371e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
jne 0x423476
xor al, al
jmp 0x42371e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x423497
xor al, al
jmp 0x42371e
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4234b8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
jmp 0x42371e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4234d8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
jmp 0x42371e
mov ecx, ebp
push edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x920]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x920]
mov dword [esp + 0x18], esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x20]
push 0x80
push ecx
call fcn.00423810
add esp, 8
lea edx, [esp + 0x20]
lea eax, [esp + 0x920]
lea ecx, [esp + 0x120]
push edx
push eax
push ecx
call edi
lea edx, [esp + 0x120]
push str..tmp
push edx
call fcn.0043abde
add esp, 8
lea eax, [esp + 0x120]
push eax
call ebx
test eax, eax
je 0x42359a
inc esi
cmp esi, 0xa
jl 0x423542
mov ebx, dword [esp + 0x14]
jmp 0x423610
lea ecx, [esp + 0x120]
test ecx, ecx
jne 0x4235a9
xor eax, eax
jmp 0x4235b7
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x120]
push ecx
push eax
lea esi, [ebx + 0x18]
mov ecx, esi
call fcn.00403e10
mov esi, dword [esi]
push 0x458954
push esi
call fcn.0043a546
mov esi, eax
add esp, 8
test esi, esi
je 0x423610
mov edx, dword [esp + 0x1c]
push esi
push ebp
push 1
push edx
call fcn.0043aaa5
add esp, 0x10
cmp eax, ebp
jne 0x423610
push esi
call fcn.0043a903
push esi
call fcn.0043a498
add esp, 8
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
xor edi, edi
xor esi, esi
or ebp, 0xffffffff
cmp eax, edi
je 0x423652
mov esi, dword [ebx + 0x18]
push 0x10
call fcn.0042b990
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x1128], edi
je 0x423643
push edi
push esi
mov ecx, eax
call fcn.00423760
jmp 0x423645
xor eax, eax
cmp eax, edi
mov dword [esp + 0x1128], ebp
mov esi, eax
jne 0x4236ba
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4236a3
mov edi, dword [esp + 0x14]
push 0x10
call fcn.0042b990
mov esi, eax
test esi, esi
je 0x4236a1
lea edx, [esp + 0x18]
mov dword [esi], 0x450950
push edx
push edi
mov dword [esp + 0x20], 0
call fcn.0042bc90
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
jmp 0x4236a3
xor esi, esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1128], ebp
je 0x4236ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, edi
mov dword [ebx + 0x14], esi
je 0x423716
mov dword [ebx + 0x10], 1
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push ecx
call fcn.0042bae0
cmp eax, edi
je 0x4236ec
mov dword [esi + 8], eax
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 8], edx
lea eax, [esp + 0x10]
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x18], edi
call fcn.0042bb10
cmp eax, edi
je 0x42370f
mov dword [esi + 8], eax
mov edx, dword [esp + 0x10]
mov dword [ebx + 0xc], edx
mov ecx, ebx
call fcn.00422e00
pop edi
mov ecx, dword [esp + 0x111c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x111c
ret 8