Function at 0x4d6577
Capabilities:
Move file

Disassembly:
push 0x2a0
mov eax, 0x67e62d
call fcn.0042ecc8
mov esi, dword [ebp + 8]
mov ebx, dword [0x68153c]
push esi
call ebx
test eax, eax
je 0x4d6350
push esi
call dword [0x681440]
test eax, eax
jne 0x4d6350
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00507a20
add esp, 0xc
mov dword [ebp - 0x238], edi
xor eax, eax
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push 0x6ff274
call fcn.00404d50
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push 0x104
call dword [0x6812c4]
push esi
call dword [0x681544]
push eax
lea ecx, [ebp - 0x278]
call fcn.00404de0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push esi
call fcn.00404de0
lea eax, [ebp - 0x2a8]
push eax
call fcn.004cdbaf
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00404de0
lea eax, [ebp - 0x290]
push eax
call fcn.004cdbaf
add esp, 0x1c
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x294], 8
push ecx
cmovae eax, dword [ebp - 0x2a8]
push eax
call dword [0x681538]
lea ecx, [ebp - 0x248]
test eax, eax
je 0x4d6145
lea eax, [ebp - 0x218]
push eax
call fcn.00404d50
jmp 0x4d61c3
push esi
call fcn.00404d50
push 0xffffffffffffffff
push 0x700384
lea ecx, [ebp - 0x248]
call fcn.00404d00
cmp eax, 0xffffffff
jne 0x4d6178
push eax
push 0x700450
lea ecx, [ebp - 0x248]
call fcn.00404d00
cmp eax, 0xffffffff
je 0x4d61c3
xor ecx, ecx
mov dword [ebp - 0x220], edi
inc eax
mov word [ebp - 0x230], cx
push eax
push edi
lea eax, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
push eax
lea ecx, [ebp - 0x230]
call fcn.00404fe0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00408c30
lea ecx, [ebp - 0x230]
call fcn.00404d80
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x248]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push eax
call fcn.00408e60
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 4
call fcn.00408df0
push 0x692240
lea ecx, [ebp - 0x230]
call fcn.00408bb0
test edi, edi
jle 0x4d6269
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.004cccfb
pop ecx
pop ecx
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 5
call fcn.00408df0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00404d80
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call ebx
test eax, eax
je 0x4d62b2
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [0x681440]
test eax, eax
jne 0x4d62b2
cmp edi, 0xa
jge 0x4d6319
inc edi
mov byte [ebp - 4], 3
jmp 0x4d61b8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push esi
call fcn.00523902
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
pop ecx
cmovae eax, dword [ebp - 0x230]
pop ecx
push eax
call ebx
mov edi, dword [0x681300]
test eax, eax
je 0x4d630b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call edi
push esi
call ebx
test eax, eax
je 0x4d6319
push 5
push 0
push esi
call edi
lea ecx, [ebp - 0x230]
call fcn.00404d80
lea ecx, [ebp - 0x290]
call fcn.00404d80
lea ecx, [ebp - 0x2a8]
call fcn.00404d80
lea ecx, [ebp - 0x278]
call fcn.00404d80
lea ecx, [ebp - 0x248]
call fcn.00404d80
call fcn.0042ec83
ret
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [0x681440]
test eax, eax
jne 0x4d658d
pop ebp
jmp 0x4d6020
pop ebp
ret