Function at 0x40d912
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [0x71f2fe]
add ebx, 0x50
mov dword [ebp - 0x24], ebx
push 0x71b5a3
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d98d
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x71f2fe]
add ebx, 0x50
mov dword [ebp - 0x24], ebx
push str.datamappuzzlechampaign_scenecity01_
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d9cb
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x71f2fe]
add ebx, 0x50
mov dword [ebp - 0x24], ebx
push str.datamappuzzlechampaign_scenecity03_
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40da09
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x71f2fe]
add ebx, 0x50
mov dword [ebp - 0x24], ebx
push str.datamappuzzlechampaign_scenecity_Back_
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40da47
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x71f2fe]
add ebx, 0x58
mov dword [ebp - 0x24], ebx
push 0x4b1e6d
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004020ae
add esp, 8
cmp eax, 0
jne 0x40db06
lea eax, [ebp - 8]
push eax
call fcn.004029a8
test eax, eax
jne 0x40da98
lea eax, [ebp - 0xc]
push eax
call fcn.004029a8
test eax, eax
jne 0x40da98
xor eax, eax
jmp 0x40da9d
mov eax, 1
test eax, eax
je 0x40db01
lea eax, [ebp - 0x10]
push eax
call fcn.004029a8
test eax, eax
je 0x40dadc
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40dac9
mov eax, 0x484331
push eax
push 1
mov ebx, 0x238
call fcn.00458610
add esp, 0x10
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40db01
push 6
call fcn.00450cac
add esp, 4
jmp 0x40db73
lea eax, [ebp - 0x10]
push eax
call fcn.004029a8
test eax, eax
je 0x40db73
lea eax, [ebp - 4]
push eax
call fcn.004029a8
test eax, eax
je 0x40db4e
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40db3b
mov eax, 0x484331
push eax
push 1
mov ebx, 0x238
call fcn.00458610
add esp, 0x10
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40db73
push 6
call fcn.00450cac
add esp, 4
mov ebx, dword [0x71f366]
call fcn.00402e35
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40db90
call fcn.0040dfc3
mov ebx, dword [0x71f2fe]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0xa
push 1
mov ebx, 0x184
call fcn.00457350
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40dbe5
push ebx
call fcn.00450ca6
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dbf9
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x71b646
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x71f38a
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1dc]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40dc2e
push ebx
call fcn.00450ca6
add esp, 4
fild dword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x484311]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401142
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40dc5e
mov eax, 0x484331
push eax
push 1
mov ebx, 0x130
call fcn.00457c20
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 0x71f38e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fdiv qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x4c]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401142
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x184
call fcn.00457350
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40dcfe
push ebx
call fcn.00450ca6
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004010e6
add esp, 8
mov dword [ebp - 0x24], eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x71f38e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40dd3f
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40dd4f
push ebx
call fcn.00450ca6
add esp, 4
push 0x40eee2
push 0x96
push 1
push dword [0x71f382]
push 0x71f3be
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f39e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f3a2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f3a6
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f3aa
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f3ae
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f3b2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f396
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x7f89
call fcn.00401f0c
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71f392
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
push 0x40ef1a
push 0x71f39e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x40effb
push 0x71f3a2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x41544e
push 0x71f3a6
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x415577
push 0x71f3aa
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x418ab9
push 0x71f3ae
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x41d29f
push 0x71f3b2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1e0]
push 0x41d336
push 0x71f3b2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1d8]
push 0x41d578
push 0x71f376
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1dc]
push 0x41dd79
push 0x71f392
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x148]
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40df6f
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40df7f
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40df8f
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40df9f
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dfaf
push ebx
call fcn.00450ca6
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40dfbf
push ebx
call fcn.00450ca6
add esp, 4
mov esp, ebp
pop ebp
ret