Function at 0x4137d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebx, [esi + 0x1d4]
push ebx
call fcn.00434737
mov eax, dword [esi + 0x394]
mov dword [esp + 0x154], 0
mov cl, byte [eax + 0x46]
test cl, cl
je 0x413929
lea ecx, [esp + 0x24]
call fcn.00416390
mov eax, dword [esi + 0x2ac]
lea ebp, [esi + 0x2ac]
push eax
mov byte [esp + 0x158], 1
call fcn.00416830
add esp, 4
test eax, eax
je 0x413850
mov eax, dword [ebp]
push eax
call fcn.004358c9
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x4c]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, byte [esp + eax + 0x4b]
lea eax, [esp + eax + 0x4c]
cmp cl, 0x5c
je 0x413880
mov byte [eax], 0x5c
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.00434737
lea ecx, [esi + 0x200]
call fcn.0040a870
test eax, eax
je 0x413913
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x44f788
push ebp
call fcn.0042fae2
add esp, 0xc
lea edx, [esp + 0x4c]
lea eax, [esp + 0x18]
push ebp
push edx
push eax
call fcn.00434ccb
push eax
mov ecx, ebp
mov byte [esp + 0x158], 2
call fcn.00434afb
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.004349c2
push str..swf
mov ecx, ebp
call fcn.00434d9e
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
call fcn.00434737
lea ecx, [esp + 0x28]
call fcn.004163e0
push ebp
lea ecx, [esp + 0x14]
call fcn.00434afb
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 0
call fcn.004163d0
jmp 0x413a6c
mov cl, byte [eax + 0x50]
push ecx
test cl, cl
mov ecx, esp
je 0x4139d3
lea edx, [esp + 0x14]
mov dword [esp + 0x18], esp
push edx
call fcn.00434737
lea eax, [esp + 0x18]
push eax
call fcn.004169d0
add esp, 8
mov edx, dword [esi + 0x394]
push eax
push ecx
add edx, 0x68
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x160], 3
call fcn.00434737
lea eax, [esp + 0x28]
push eax
call fcn.00416a60
add esp, 8
lea ecx, [esp + 0x1c]
mov bl, 4
push eax
push ecx
mov byte [esp + 0x160], bl
call fcn.00434bf1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 5
call fcn.00434afb
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], bl
call fcn.004349c2
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 3
call fcn.004349c2
mov byte [esp + 0x154], 0
lea ecx, [esp + 0x14]
jmp 0x413a0f
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
push edx
call fcn.00434737
lea eax, [esp + 0x18]
lea ecx, [esi + 0x200]
push eax
call fcn.0040ab40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call fcn.00434afb
mov byte [esp + 0x154], 0
lea ecx, [esp + 0x14]
call fcn.004349c2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00416830
add esp, 4
test eax, eax
jne 0x413a6c
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push str.File_not_found_:
push eax
call fcn.00434ccb
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x160], 7
call fcn.00438501
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 0
call fcn.004349c2
push 0x4526b0
lea ecx, [esp + 0x14]
call fcn.00434b4b
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00434737
mov ecx, dword [esi + 0x398]
call fcn.00408930
mov ecx, dword [esi + 0x398]
lea eax, [esi + 0x70]
push eax
call fcn.00408980
mov ecx, dword [esi + 0x394]
mov edx, dword [esi + 0x390]
push ecx
mov ecx, dword [esi + 0x398]
push edx
call fcn.00408910
mov eax, dword [esi + 0x398]
lea ecx, [esi + 0x200]
mov dword [eax + 0x94], ecx
mov ecx, dword [esi + 0x398]
call fcn.00408990
mov eax, dword [esi + 0x398]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esi + 0x398]
push 5
call fcn.00434124
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call fcn.004349c2
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x148
ret