Function at 0x40ea50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552206
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov eax, dword [ebp - 0x54]
add eax, 0x34
mov dword [ebp - 4], 0
push eax
call fcn.00456100
push dword [0x5b2080]
mov eax, dword [ebp - 0x54]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405ba0
mov ecx, dword [ebp - 0x54]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ecx + 0x34]
push dword [eax]
call esi
mov edx, dword [ebp - 0x4c]
test eax, eax
sete byte [ebp - 0x41]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eaed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40ebb5
call fcn.0046f390
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40ebae
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004174a0
push 3
push 0x566acc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004174a0
mov byte [ebp - 4], 2
call fcn.0046f390
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x43f
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404570
mov esi, eax
push str.utils::MoveFile:_ui__failed
push esi
mov byte [ebp - 4], 3
call fcn.00405960
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.00405d60
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
call fcn.00404f30
xor edi, edi
jmp 0x40ed0f
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x44]
sub eax, 0x10
push eax
call fcn.004098c0
add eax, 0x10
mov dword [ebp - 0x48], eax
push dword [0x5b20b0]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push str.Utils_s
push eax
call fcn.00409240
lea eax, [ebp - 0x48]
push eax
call fcn.00456100
push dword [0x5b20b0]
mov eax, dword [ebp - 0x54]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405ba0
add esp, 0x20
push dword [ebp - 0x48]
push dword [eax]
call esi
mov edx, dword [ebp - 0x4c]
test eax, eax
mov eax, ebx
sete byte [ebp - 0x41]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ec2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40ecec
call fcn.0046f390
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40ecec
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004174a0
push 3
push 0x566acc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004174a0
mov byte [ebp - 4], 6
call fcn.0046f390
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x447
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404570
mov esi, eax
push str.utils::MoveFile:_progress__failed
push esi
mov byte [ebp - 4], 7
call fcn.00405960
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.00405d60
lea ecx, [ebp - 0x40]
call fcn.00404f30
lea ecx, [ebp - 0x28]
call fcn.00404f30
mov edx, dword [ebp - 0x48]
mov edi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ed0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x40ed34
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40ed34
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40ed34
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460f8d
mov esp, ebp
pop ebp
ret