Function at 0x40ebb0
Capabilities:
Move file

Disassembly:
sub esp, 0x118
mov eax, dword [0x4bc4a0]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x120]
push ebx
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x130]
xor ebx, ebx
cmp dword [esi + 0xa64], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
jl 0x40ec52
jg 0x40ec00
cmp dword [esi + 0xa60], 0x7fffffff
jb 0x40ec52
mov eax, dword [esi + 0xa10]
push 0x25a
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x40ec35
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
pop edi
pop esi
mov eax, 0xffffff4e
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00466555
add esp, 0x118
ret
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40ecad
cmp eax, 1
je 0x40ecad
mov ecx, dword [esi + 0xa10]
push 0x260
push str...p2psrc_srcdown.cpp
push ecx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x40ec93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00466555
add esp, 0x118
ret
cmp byte [esi + 0xa68], bl
je 0x40ecd6
mov edx, dword [esi + 0xa74]
mov eax, dword [esi + 0xa38]
push 0x40e650
push esi
push edx
add eax, 0x23c34600
push eax
call fcn.0042b250
add esp, 0x10
mov edi, dword [edi + 4]
sub edi, ebx
push ebp
je 0x40ed5c
sub edi, 1
je 0x40ed1f
mov ecx, dword [esi + 0xa10]
push 0x286
push str...p2psrc_srcdown.cpp
push ecx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x40ed18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
xor eax, eax
jmp 0x40f014
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi], 0
jne 0x40ed98
lea edx, [esp + 0x14]
push edx
call fcn.00413450
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 1
je 0x40ed98
xor edi, edi
cmp dword [esi], 0
jne 0x40ed54
push 0x1f4
call ebp
inc edi
cmp edi, 0x78
jl 0x40ed42
inc ebx
cmp ebx, 1
jl 0x40ed25
jmp 0x40ed98
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi], 0
jne 0x40ed98
lea eax, [esp + 0x14]
push eax
call fcn.00414990
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 1
je 0x40ed98
xor edi, edi
nop
cmp dword [esi], 0
jne 0x40ed92
push 0x1f4
call ebp
inc edi
cmp edi, 0x78
jl 0x40ed80
inc ebx
cmp ebx, 1
jl 0x40ed62
mov ecx, dword [esi + 0xa38]
lea ebp, [esi + 0xa38]
add ecx, 0x23c34600
push ecx
call fcn.0042a610
add esp, 4
cmp dword [esp + 0x10], 1
je 0x40edd0
mov edx, dword [esi + 0xa10]
push 0x28d
push str...p2psrc_srcdown.cpp
push edx
jmp 0x40eec1
cmp dword [esi], 0
je 0x40ee18
mov eax, dword [esi + 0xa10]
push 0x293
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
test eax, eax
je 0x40ee0e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], 0
mov eax, 0xffffff39
jmp 0x40f014
mov edx, dword [esi + 0xa18]
mov eax, dword [edx + 0x1c]
mov ecx, dword [esi + 0xa60]
mov edi, dword [esi + 0xa64]
cdq
cmp eax, ecx
jne 0x40ee3a
cmp edx, edi
je 0x40eef3
fldz
mov eax, dword [esi + 0xa6c]
fstp qword [esi + 0xa50]
test eax, eax
je 0x40ee5e
push 0x3e7
push ebp
push 0x52c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xa70]
test eax, eax
je 0x40eeb0
mov ecx, dword [esi + 0xa3c]
mov dword [eax + 0xc], ecx
fld qword [esi + 0xa50]
mov edx, dword [esi + 0xa70]
fstp qword [edx + 0x10]
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa58]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0xa5c]
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa60]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0xa64]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0xa10]
push 0x2a3
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
test eax, eax
je 0x40eee9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], 0
mov eax, 0xffffff4e
jmp 0x40f014
fldz
mov eax, dword [esi + 0xa6c]
fstp qword [esi + 0xa50]
mov dword [esi + 0xa58], ecx
mov dword [esi + 0xa5c], edi
mov dword [esi + 0xa3c], 0x64
test eax, eax
je 0x40ef2d
push 0x3e7
push ebp
push 0x52c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xa70]
test eax, eax
je 0x40ef7f
mov ecx, dword [esi + 0xa3c]
mov dword [eax + 0xc], ecx
fld qword [esi + 0xa50]
mov edx, dword [esi + 0xa70]
fstp qword [edx + 0x10]
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa58]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0xa5c]
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa60]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0xa64]
mov dword [eax + 0x24], edx
push 0x103
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.00466720
lea ebp, [esi + 8]
mov eax, ebp
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40efa0
lea edi, [esp + 0x20]
sub eax, edx
mov ecx, ebp
sub edi, ebp
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x40efb1
mov ecx, dword [esi + 0xa10]
push 0x2bb
push str...p2psrc_srcdown.cpp
push ecx
push str.__handle_cls:_0x_x__file:__s:_u
mov byte [esp + eax + 0x29], dl
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
test eax, eax
je 0x40eff8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], 0
push 1
lea edx, [esp + 0x24]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
neg eax
sbb eax, eax
and eax, 0xb3
add eax, 0xffffff4e
mov ecx, dword [esp + 0x124]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466555
add esp, 0x118
ret