Function at 0x413b60
Capabilities:
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x43ebcd
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 + 0x14]
lea eax, [esi + 0x1d4]
push eax
call fcn.00434737
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x2c]
xor edi, edi
push ecx
push edx
mov dword [esp + 0x15c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x394]
mov cl, byte [eax + 0x46]
test cl, cl
je 0x414050
mov eax, dword [esi + 0x3c8]
lea ebp, [esi + 0x3c8]
push eax
call fcn.00416830
add esp, 4
test eax, eax
je 0x413c24
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4526b0
call fcn.00434a30
push ecx
mov byte [esp + 0x15c], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.00434737
lea eax, [esp + 0x28]
mov byte [esp + 0x15c], 0
push eax
call fcn.00416af0
mov eax, dword [eax]
mov ecx, dword [ebp]
add esp, 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
call fcn.004349c2
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x4c]
push ecx
push 0xff
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, byte [esp + eax + 0x4b]
lea eax, [esp + eax + 0x4c]
cmp cl, 0x5c
je 0x413c54
mov byte [eax], 0x5c
mov edx, dword [esi + 0x394]
push ecx
add edx, 0x68
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00434737
lea eax, [esp + 0x28]
push eax
call fcn.004169d0
add esp, 4
mov byte [esp + 0x158], 2
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4526b0
call fcn.00434a30
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x160], 3
call fcn.00434737
lea eax, [esp + 0x28]
mov byte [esp + 0x15c], 2
push eax
call fcn.00416af0
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 4
call fcn.00434afb
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 2
call fcn.004349c2
push 0x5c
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00434737
lea eax, [esp + 0x18]
push eax
call fcn.00416be0
add esp, 8
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x164], 5
call fcn.00434ccb
push eax
lea eax, [esp + 0x28]
mov bl, 6
push eax
mov byte [esp + 0x160], bl
call fcn.0042f557
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 7
call fcn.00434afb
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], bl
call fcn.004349c2
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 5
call fcn.004349c2
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.004349c2
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00416810
add esp, 4
test eax, eax
jne 0x413d8e
mov edx, dword [esp + 0x24]
push edx
call fcn.00416870
add esp, 4
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00434737
lea ecx, [esp + 0x2c]
push ecx
call fcn.004169d0
add esp, 4
mov bl, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4526b0
mov byte [esp + 0x15c], bl
call fcn.00434a30
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x160], 9
call fcn.00434737
lea eax, [esp + 0x18]
mov byte [esp + 0x15c], bl
push eax
call fcn.00416af0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 0xa
call fcn.00434afb
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.004349c2
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00434737
lea eax, [esp + 0x24]
push eax
call fcn.00416cc0
add esp, 8
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x160], 0xb
call fcn.00434737
lea eax, [esp + 0x20]
push eax
call fcn.00416be0
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x160], 0xc
call fcn.00434bf1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 0xd
call fcn.00434afb
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 0xc
call fcn.004349c2
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0xb
call fcn.004349c2
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], bl
call fcn.004349c2
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00434bf1
push eax
mov ecx, ebp
mov byte [esp + 0x158], 0xe
call fcn.00434afb
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.004349c2
mov eax, dword [ebp]
push eax
call fcn.00416830
add esp, 4
test eax, eax
jne 0x41401d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4526b0
call fcn.00434a30
push ecx
mov byte [esp + 0x15c], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.00434737
lea edx, [esp + 0x18]
mov byte [esp + 0x15c], bl
push edx
call fcn.00416af0
mov eax, dword [eax]
mov byte [esp + 0x160], 0x10
push eax
call fcn.00416830
add esp, 0x10
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x154], bl
call fcn.004349c2
test edi, edi
je 0x413fbe
mov eax, dword [ebp]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4526b0
call fcn.00434a30
push ecx
mov byte [esp + 0x160], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
call fcn.00434737
lea eax, [esp + 0x1c]
mov byte [esp + 0x160], bl
push eax
call fcn.00416af0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x158], 0x12
call fcn.00414b60
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.004349c2
jmp 0x41401d
lea ecx, [esp + 0x3c]
call fcn.00435469
mov eax, dword [ebp]
push 0
push 0x1041
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x160], 0x13
call fcn.0043557b
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00434737
lea ecx, [esi + 0x200]
call fcn.0040a9c0
lea ecx, [esp + 0x3c]
call fcn.00435796
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], bl
call fcn.004354be
push ebp
lea ecx, [esp + 0x18]
call fcn.00434afb
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.004349c2
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 0
call fcn.004349c2
xor edi, edi
jmp 0x414191
mov cl, byte [eax + 0x50]
push ecx
test cl, cl
mov ecx, esp
je 0x4140fa
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esp
push eax
call fcn.00434737
lea ecx, [esp + 0x24]
push ecx
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], 0x14
call fcn.00434737
lea eax, [esp + 0x20]
push eax
call fcn.00416a60
add esp, 8
lea ecx, [esp + 0x14]
mov bl, 0x15
push eax
push ecx
mov byte [esp + 0x160], bl
call fcn.00434bf1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0x16
call fcn.00434afb
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call fcn.004349c2
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0x14
call fcn.004349c2
mov byte [esp + 0x154], 0
lea ecx, [esp + 0x20]
jmp 0x414136
lea edx, [esp + 0x18]
mov dword [esp + 0x20], esp
push edx
call fcn.00434737
lea eax, [esp + 0x14]
lea ecx, [esi + 0x200]
push eax
call fcn.0040ab40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0x17
call fcn.00434afb
mov byte [esp + 0x154], 0
lea ecx, [esp + 0x10]
call fcn.004349c2
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00416830
add esp, 4
test eax, eax
jne 0x414191
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str.File_not_found_:
push eax
call fcn.00434ccb
mov eax, dword [eax]
push edi
push edi
push eax
mov byte [esp + 0x160], 0x18
call fcn.00438501
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 0
call fcn.004349c2
push 0x4526b0
lea ecx, [esp + 0x18]
call fcn.00434b4b
cmp dword [esi + 0x3cc], edi
jne 0x4142c1
cmp dword [esi + 0x3d4], edi
jne 0x414211
push 0x228
call fcn.00434f51
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x154], 0x19
je 0x4141cc
push esi
mov ecx, eax
call fcn.00419fc0
jmp 0x4141ce
xor eax, eax
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x3d4], eax
mov dword [eax + 0xcc], ecx
mov eax, dword [esi + 0x3d4]
mov ecx, dword [esi + 0x394]
mov edx, dword [esi + 0x6c]
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd8], ecx
mov ecx, dword [esi + 0x3d4]
push esi
push 0x92
mov byte [esp + 0x15c], 0
call fcn.00430af9
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00434737
mov ecx, dword [esi + 0x3d4]
call fcn.0041a1e0
mov ecx, dword [esi + 0x3d4]
lea eax, [esi + 0x70]
push eax
call fcn.0041a4d0
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [esi + 0x3d4]
call fcn.0041a7c0
mov ecx, dword [esi + 0x3d4]
call fcn.0041a800
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub edx, ebp
push 0x50
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x34]
sub eax, edx
push eax
push edi
push edi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x3d4]
push 5
call fcn.00434124
mov ecx, dword [esi + 0x3d0]
cmp ecx, edi
je 0x4142ac
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0x3d0]
cmp ecx, edi
je 0x4142ac
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x3d0], edi
mov dword [esi + 0x3cc], 1
jmp 0x4143dc
cmp dword [esi + 0x3d0], edi
jne 0x414335
push 0x228
call fcn.00434f51
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x154], 0x1a
je 0x4142f0
push esi
mov ecx, eax
call fcn.00419fc0
jmp 0x4142f2
xor eax, eax
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x3d0], eax
mov dword [eax + 0xcc], ecx
mov eax, dword [esi + 0x3d0]
mov ecx, dword [esi + 0x394]
mov edx, dword [esi + 0x6c]
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd8], ecx
mov ecx, dword [esi + 0x3d0]
push esi
push 0x92
mov byte [esp + 0x15c], 0
call fcn.00430af9
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00434737
mov ecx, dword [esi + 0x3d0]
call fcn.0041a1e0
mov ecx, dword [esi + 0x3d0]
lea eax, [esi + 0x70]
push eax
call fcn.0041a4d0
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [esi + 0x3d0]
call fcn.0041a7c0
mov ecx, dword [esi + 0x3d0]
call fcn.0041a800
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub edx, ebp
push 0x50
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x34]
sub eax, edx
push eax
push edi
push edi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x3d0]
push 5
call fcn.00434124
mov ecx, dword [esi + 0x3d4]
cmp ecx, edi
je 0x4143d0
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0x3d4]
cmp ecx, edi
je 0x4143d0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3cc], edi
lea ecx, [esp + 0x14]
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