Function at 0x455170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6527
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push esi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x232]
push esi
push eax
mov word [esp + 0x238], si
call int.0048bd10
mov eax, dword [edi + 0x3fc]
add esp, 0xc
lea ecx, [esp + 0x22c]
push ecx
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, esi
jbe 0x4554c0
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
jmp 0x455200
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x455200
sub eax, edx
sar eax, 1
lea edx, [esp + 0x22c]
mov ebx, eax
push edx
lea eax, [edi + 0x400]
call fcn.0040cfc0
add dword [edi + 0x404], 1
lea esi, [edi + 0x538]
lea ebx, [edi + 0x400]
call fcn.00439db0
lea eax, [esp + 0x14c]
call fcn.0041b820
push 0x2e
xor ebx, ebx
push 0x4b7a30
lea esi, [esp + 0x154]
mov dword [esp + 0x450], ebx
call fcn.0043d0d0
cmp dword [edi + 0x548], ebx
je 0x45527b
push 0x85
push 0x4b7a90
call fcn.0043d0d0
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x455285
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x230]
push eax
lea esi, [esp + 0x170]
call fcn.0043d0d0
cmp dword [edi + 0x548], ebx
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x210], ebx
je 0x4552ca
mov dword [esp + 0x204], 1
cmp dword [esp + 0x164], 8
mov eax, dword [esp + 0x150]
jae 0x4552e2
lea eax, [esp + 0x150]
push ebx
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.0043bc80
mov byte [esp + 0x448], 1
mov edx, dword [esp + 0xc]
mov eax, edx
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x455320
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x11c]
call fcn.0040d220
mov byte [esp + 0x448], 3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
cmp eax, edx
je 0x455356
push eax
call fcn.00489176
add esp, 4
cmp dword [esp + 0x180], 8
mov eax, dword [esp + 0x16c]
jae 0x45536e
lea eax, [esp + 0x16c]
push ebx
lea ecx, [esp + 0x98]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], ecx
call fcn.0043bc80
mov byte [esp + 0x448], 4
mov edx, dword [esp + 0x90]
mov eax, edx
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4553b7
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x138]
call fcn.0040d220
mov byte [esp + 0x448], 6
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x94]
cmp eax, edx
je 0x4553f3
push eax
call fcn.00489176
add esp, 4
mov edx, dword [esp + 0x134]
mov eax, 0x10
cmp dword [esp + 0x148], eax
jae 0x45540f
lea edx, [esp + 0x134]
cmp dword [esp + 0x12c], eax
mov eax, dword [esp + 0x118]
jae 0x455426
lea eax, [esp + 0x118]
mov ecx, dword [edi + 0x3f4]
mov esi, dword [ecx]
push edx
push eax
mov eax, dword [esi + 0xc]
call eax
mov ecx, dword [edi + 0x3f4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
call eax
mov esi, 0x10
cmp dword [esp + 0x148], esi
jb 0x455461
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00487c06
add esp, 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
jb 0x455493
mov edx, dword [esp + 0x118]
push edx
call fcn.00487c06
add esp, 4
lea esi, [esp + 0x14c]
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
call fcn.00421c70
mov dword [edi + 0x534], ebx
jmp 0x4554c6
mov dword [edi + 0x534], esi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00488fa3
mov esp, ebp
pop ebp
ret