Function at 0x434ff0
Capabilities:
Get common file path
Set file attributes

Disassembly:
sub esp, 0x5c0
push ebx
push ebp
mov ebp, dword [esp + 0x5cc]
mov ebx, dword [esp + 0x5d0]
push esi
push edi
mov eax, dword [ebp + 0x41c]
lea edi, [esp + 0x11c]
lea esi, [ebx + 0x114]
lea edx, [esp + 0x4cc]
mov ecx, dword [eax + 0x594c]
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, 0xab
rep stosd dword es:[edi], eax
mov ecx, 0x50
lea edi, [esp + 0x124]
mov eax, 1
push edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3a8], eax
mov dword [esp + 0x3ac], eax
lea eax, [ebx + 0x140]
mov dword [esp + 0x120], 0x8994
push eax
call fcn.00437f40
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
add esp, 8
lea eax, [esp + 0x4cc]
push eax
push ecx
push edx
lea eax, [esp + 0x3d4]
push 0x4aed48
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
lea ecx, [esp + 0x3c8]
push ecx
push 0xffffffffffffffea
push 0x403
push edx
call esi
mov eax, dword [ebx + 0xc]
xor edi, edi
mov dword [ebp + 0x8a4], eax
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x8a8], ecx
mov edx, dword [ebx + 0x134]
mov dword [ebp + 0x680], edx
mov dword [ebp + 0x684], edi
mov eax, dword [ebx + 0x130]
cmp eax, edi
je 0x4350f6
mov ecx, dword [ebx + 0x134]
sub ecx, eax
mov dword [ebp + 0x680], ecx
mov dword [ebp + 0x684], edi
mov edx, dword [ebp]
push edi
push edi
push 0x418
mov dword [ebp + 0x688], edi
push edx
mov dword [ebp + 0x68c], edi
call esi
push edi
push edi
push edi
call fcn.00428ee0
lea edi, [ebp + 0x428]
mov ecx, 0x50
lea esi, [ebx + 0x114]
mov dword [ebp + 0x578], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
add esp, 0xc
test eax, eax
je 0x43517e
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
cmp eax, ecx
push ebx
jae 0x435165
mov ecx, dword [ebp + 4]
push 0xfffffc18
push 0x41e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x3a8], eax
jmp 0x4355db
mov edx, dword [ebp + 4]
push 0xfffffc0e
push 0x41e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4355db
mov cl, byte [ebp + 0x694]
lea eax, [ebp + 0x694]
test cl, cl
je 0x4351b1
mov cl, byte [ebp + 0x798]
test cl, cl
je 0x4351b1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x43536a
call fcn.0046ef86
mov esi, dword [eax + 4]
push 0x1770
push 0x49b06c
push 0x49b0b8
mov ecx, esi
call fcn.0046eb31
push 0
push 0x49b0a0
push 0x49b0b8
mov ecx, esi
mov dword [ebp + 0x8a0], eax
call fcn.0046eb31
push 0x4ab7a4
push 0x49b088
lea edx, [esp + 0x1c]
push 0x49b0b8
push edx
mov ecx, esi
mov dword [ebp + 0x89c], eax
call fcn.0046eb9d
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
call fcn.0045ccac
cmp byte [esp + 0x18], 0x2a
jne 0x43527b
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x43524d
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.00437860
add esp, 8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x43526f
lea ecx, [esp + 0x18]
push 0x4ab1fc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x18]
push 0x49b0c8
push edx
jmp 0x435297
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x43529d
lea ecx, [esp + 0x18]
push 0x4ab1fc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0xc]
push 0x4aed44
push eax
call fcn.004484b0
add esp, 8
test eax, eax
je 0x4352f1
mov edx, dword [ebp + 0x41c]
mov ecx, dword [edx + 0x594c]
call fcn.0042cf20
push eax
call fcn.00447b38
mov edi, eax
add esp, 4
test edi, edi
je 0x4352f1
lea esi, [ebp + 0x798]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.00447a4f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
jmp 0x435304
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0xc]
lea esi, [ebp + 0x798]
push eax
push esi
call edi
mov eax, dword [ebp + 0x89c]
test eax, eax
je 0x435352
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x43532c
lea ecx, [esp + 0x18]
push 0x4ab1fc
push ecx
call edi
lea edx, [esp + 0x18]
push esi
push edx
call edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x435352
lea ecx, [esp + 0x18]
push 0x4ab1fc
push ecx
call edi
lea edx, [esp + 0x18]
lea eax, [ebp + 0x694]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x18]
push eax
call fcn.00435700
add esp, 4
test eax, eax
jne 0x435388
lea ecx, [esp + 0x18]
lea edx, [ebx + 0x10]
push ecx
push edx
call esi
jmp 0x4353cf
test byte [ebx + 0x114], 0x10
je 0x435445
lea ecx, [ebx + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x4353be
lea ecx, [esp + 0x18]
push 0x4ab1fc
push ecx
call edi
lea edx, [esp + 0x18]
push edx
call fcn.00435700
add esp, 4
test eax, eax
jne 0x4353f1
mov eax, dword [ebp + 4]
push ebx
push 0xfffffc04
push 0x41e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c0
ret
mov esi, dword [esp + 0x10]
push esi
call fcn.00437f20
add esp, 4
test eax, eax
je 0x4356ba
lea ecx, [esp + 0x11c]
push 0x2ac
push ecx
mov ecx, esi
call fcn.0042cfc0
test eax, eax
je 0x4356ba
mov edx, dword [ebp]
push 0
push 0x64
push 0x418
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c0
ret
mov cl, byte [ebx + 0x10]
lea eax, [ebx + 0x10]
test cl, cl
je 0x435457
push eax
lea eax, [esp + 0x1c]
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x17], 0x5c
je 0x435475
lea edx, [esp + 0x18]
push 0x4ab1fc
push edx
call edi
mov cl, byte [ebx + 0x140]
lea eax, [ebx + 0x140]
test cl, cl
je 0x43548d
push eax
lea eax, [esp + 0x1c]
push eax
jmp 0x435499
lea ecx, [ebx + 0x244]
lea edx, [esp + 0x18]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
lea ecx, [ebp + 0x57c]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 1
push 0
push 3
lea edx, [esp + 0x2c]
push 0xc0000000
push edx
call edi
test eax, eax
mov dword [ebp + 0x424], eax
je 0x4354d8
cmp eax, 0xffffffff
jne 0x4355db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x4354f1
cmp esi, 0x50
jne 0x435589
mov eax, dword [ebp + 0x574]
test eax, eax
je 0x435509
cmp eax, 0x26b6
je 0x435509
cmp eax, 0x26ca
jne 0x435538
lea eax, [ebx + 0x254]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00437b60
mov edx, dword [ebp + 4]
add esp, 8
push ebx
push 0xfffffbfa
push 0x41e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x574], eax
mov eax, dword [ebp + 0x574]
add eax, 0xffffd94a
cmp eax, 0x1e
ja case.0x435554.9912
xor ecx, ecx
mov cl, byte [eax + 0x4356d4]
jmp dword [ecx*4 + 0x4356c8]
push 0
push 0
push 2
push 0
push 3
lea eax, [esp + 0x2c]
push 0xc0000000
push eax
mov dword [esp + 0x13c], esi
mov dword [esp + 0x3c4], 1
call edi
mov dword [ebp + 0x424], eax
mov eax, dword [ebp + 0x424]
test eax, eax
je 0x435598
cmp eax, 0xffffffff
jne 0x4355c4
lea ecx, [esp + 0x18]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0
push 2
push 0
push 3
lea edx, [esp + 0x2c]
push 0xc0000000
push edx
call edi
mov dword [ebp + 0x424], eax
mov ebp, dword [ebp + 0x424]
test ebp, ebp
je 0x435671
cmp ebp, 0xffffffff
je 0x435671
mov esi, dword [esp + 0x10]
push esi
call fcn.00437f20
add esp, 4
test eax, eax
je 0x4356ba
lea eax, [esp + 0x11c]
push 0x2ac
push eax
mov ecx, esi
call fcn.0042cfc0
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x5c0
ret
mov dword [esp + 0x120], esi
jmp 0x435630
mov dword [esp + 0x120], esi
mov dword [esp + 0x3ac], 1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3a8], 0
push esi
call fcn.00437f20
add esp, 4
test eax, eax
je 0x4356ba
lea edx, [esp + 0x11c]
push 0x2ac
push edx
mov ecx, esi
call fcn.0042cfc0
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x5c0
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [esp + 0x120], eax
jne 0x43568d
mov dword [esp + 0x120], 2
mov esi, dword [esp + 0x10]
push esi
call fcn.00437f20
add esp, 4
test eax, eax
je 0x4356ba
lea ecx, [esp + 0x11c]
push 0x2ac
push ecx
mov ecx, esi
call fcn.0042cfc0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c0
ret