Function at 0x4ed660
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x650a6d
push eax
mov eax, 0x26d08
mov dword fs:[0], esp
call fcn.00645130
mov eax, dword [esp + 0x26d18]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x4ed9f7
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x6e76c2
call fcn.00643d2c
call fcn.0047c200
add esp, 4
cmp eax, ebp
je 0x4edfe4
push 0x6e76c2
lea eax, [esp + 0x18]
push 0x73aaac
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x73aaac]
lea edx, [esp + 0x2c]
mov dword [esp + 0x26d24], ebp
push edx
push ecx
push eax
call fcn.0047c2a0
or ebx, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp esi, ebp
je 0x4edfe4
cmp dword [esp + 0x30], ebp
je 0x4ed7b6
push ebp
push ebp
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push 0x6a16b0
push 0x73aaac
push edx
call fcn.00643ea6
lea eax, [esp + 0x60]
push ebp
lea ecx, [esp + 0x176f8]
push eax
lea edx, [esp + 0x5b4]
push ecx
lea eax, [esp + 0x80d0]
push edx
lea ecx, [esp + 0xfbec]
push eax
lea edx, [esp + 0x1f220]
push ecx
push edx
call fcn.0048bbd0
add esp, 0x24
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x69cf74
push 0x73a890
push eax
call fcn.00643ea6
lea ecx, [esp + 0x58]
push ebp
lea edx, [esp + 0x176f0]
push ecx
lea eax, [esp + 0x5ac]
push edx
lea ecx, [esp + 0x80c8]
push eax
lea edx, [esp + 0xfbe4]
push ecx
lea eax, [esp + 0x1f218]
push edx
push eax
call fcn.0048c600
add esp, 0x20
cmp dword [esp + 0x28], ebp
je 0x4ed838
push 0x6b912c
lea ecx, [esp + 0x1c]
push 0x73a890
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00643ea6
mov esi, dword [eax]
push 0x6a16bc
lea edx, [esp + 0x24]
push 0x73aaac
push edx
mov dword [esp + 0x26d2c], 1
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
push eax
mov byte [esp + 0x26d30], 2
call fcn.0047c2a0
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x26d20], 1
call fcn.00643d26
lea ecx, [esp + 0x18]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
lea ecx, [esp + 0x1c]
call fcn.00643d62
lea ecx, [esp + 0x24]
mov dword [esp + 0x26d20], 3
call fcn.00643d62
lea ecx, [esp + 0x44]
mov byte [esp + 0x26d20], 4
call fcn.00644002
mov edi, dword [0x6b8d2c]
mov ecx, ebx
xor eax, eax
mov byte [esp + 0x26d20], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4ed91a
mov edx, 0x6b8d2c
mov esi, edx
mov eax, dword [edx]
mov ecx, dword [0x73aaac]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x6a0c10
push edx
call fcn.00643d50
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0x44]
push ebp
push 0x40
push eax
call fcn.00643ffc
test eax, eax
je 0x4ed903
lea ecx, [esp + 0x44]
call fcn.00643ff0
mov ecx, dword [esi]
mov edx, dword [0x73a890]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x6a0c10
push eax
call fcn.00643d50
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0x10
push ebp
push ecx
push edx
call dword [fcn.0065e270]
test eax, eax
je 0x4ed903
mov eax, dword [esp + 0x1c]
push eax
call dword [fcn.0065f1a0]
add esp, 4
mov edi, dword [esi + 4]
add esi, 4
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, esi
jne 0x4ed88a
mov edi, dword [0x6b8d74]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4ed9c5
mov edx, 0x6b8d74
mov esi, edx
mov ecx, dword [edx]
mov edx, dword [0x73aaac]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x6a0c10
push eax
call fcn.00643d50
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ebp
push 0x40
push ecx
lea ecx, [esp + 0x50]
call fcn.00643ffc
test eax, eax
je 0x4ed9ae
lea ecx, [esp + 0x44]
call fcn.00643ff0
mov edx, dword [esi]
mov eax, dword [0x73a890]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x6b7114
push ecx
call fcn.00643d50
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add esp, 0x10
push ebp
push edx
push eax
call dword [fcn.0065e270]
test eax, eax
je 0x4ed9ae
mov ecx, dword [esp + 0x1c]
push ecx
call dword [fcn.0065f1a0]
add esp, 4
mov edi, dword [esi + 4]
add esi, 4
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, esi
jne 0x4ed936
lea ecx, [esp + 0x44]
mov byte [esp + 0x26d20], 4
call fcn.00643fea
lea ecx, [esp + 0x24]
mov byte [esp + 0x26d20], 3
call fcn.00643d26
mov dword [esp + 0x26d20], ebx
lea ecx, [esp + 0x1c]
jmp 0x4edfdf
cmp eax, 2
jne 0x4eddff
push 0x69dc8c
lea edx, [esp + 0x18]
push 0x73aaac
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call fcn.00643ea6
mov esi, dword [eax]
push 0x6b9024
lea eax, [esp + 0x14]
mov ebx, 6
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], ebx
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push esi
push eax
mov byte [esp + 0x26d30], 7
call fcn.0047c2a0
add esp, 0x10
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x26d20], bl
call fcn.00643d26
or ebx, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp esi, ebp
je 0x4edfe4
push 0x6b52a8
lea eax, [esp + 0x18]
push 0x73aaac
push eax
call fcn.00643ea6
mov esi, dword [eax]
push 0x6b9114
lea ecx, [esp + 0x14]
push 0x73aaac
push ecx
mov dword [esp + 0x26d2c], 8
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push esi
mov esi, dword [fcn.0065e270]
push eax
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp edi, ebp
je 0x4edb13
push 0x6b9114
lea edx, [esp + 0x14]
push 0x73aaac
push edx
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00643d26
push 0x6e752f
lea eax, [esp + 0x2c]
push 0x73a890
push eax
call fcn.00643ea6
mov edi, dword [eax]
push 0x69dc8c
lea ecx, [esp + 0x18]
push 0x73aaac
push ecx
mov dword [esp + 0x26d2c], 9
call fcn.00643ea6
push 0x6e752f
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x26d2c], 0xa
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push edi
push eax
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov byte [esp + 0x26d20], 9
call fcn.00643d26
lea ecx, [esp + 0x28]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp edi, ebp
je 0x4edbeb
push 0x69dc8c
lea eax, [esp + 0x18]
push 0x73aaac
push eax
call fcn.00643ea6
push 0x6e752f
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x26d2c], 0xb
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
push 0x69dbd4
lea edx, [esp + 0x18]
push 0x73a890
push edx
call fcn.00643ea6
mov edi, dword [eax]
push 0x6b90fc
lea eax, [esp + 0x14]
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], 0xc
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push edi
push eax
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp edi, ebp
je 0x4edc6f
push 0x6b90fc
lea ecx, [esp + 0x14]
push 0x73aaac
push ecx
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00643d26
push 0x6a0288
lea edx, [esp + 0x18]
push 0x73a890
push edx
call fcn.00643ea6
mov edi, dword [eax]
push 0x6b90e8
lea eax, [esp + 0x14]
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], 0xd
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push edi
push eax
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp edi, ebp
je 0x4edcf3
push 0x6b90e8
lea ecx, [esp + 0x14]
push 0x73aaac
push ecx
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00643d26
push 0x6b90dc
lea edx, [esp + 0x18]
push 0x73a890
push edx
call fcn.00643ea6
mov edi, dword [eax]
push 0x6b90c8
lea eax, [esp + 0x14]
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], 0xe
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push edi
push eax
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp edi, ebp
je 0x4edd77
push 0x6b90c8
lea ecx, [esp + 0x14]
push 0x73aaac
push ecx
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00643d26
push 0x6b90bc
lea edx, [esp + 0x18]
push 0x73a890
push edx
call fcn.00643ea6
mov edi, dword [eax]
push 0x6b90a8
lea eax, [esp + 0x14]
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], 0xf
call fcn.00643ea6
mov eax, dword [eax]
push ebp
push edi
push eax
call esi
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x26d20], ebx
call fcn.00643d26
cmp esi, ebp
je 0x4edfe4
push 0x6b90a8
lea ecx, [esp + 0x14]
push 0x73aaac
push ecx
call fcn.00643ea6
mov edx, dword [eax]
push edx
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x10]
jmp 0x4edfdf
cmp eax, 3
jne 0x4ede88
push 0x69dc8c
lea eax, [esp + 0x18]
push 0x73aaac
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call fcn.00643ea6
mov esi, dword [eax]
push 0x6b8ffc
lea ecx, [esp + 0x14]
mov ebx, 0x10
push 0x73aaac
push ecx
mov dword [esp + 0x26d2c], ebx
call fcn.00643ea6
mov eax, dword [eax]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
push ecx
push esi
push eax
mov byte [esp + 0x26d30], 0x11
call fcn.0047c2a0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x26d20], bl
call fcn.00643d26
mov dword [esp + 0x26d20], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x4edfdf
cmp eax, 6
jne 0x4edf11
push 0x6b909c
lea edx, [esp + 0x18]
push 0x73aaac
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call fcn.00643ea6
mov esi, dword [eax]
push 0x6b9088
lea eax, [esp + 0x14]
mov ebx, 0x12
push 0x73aaac
push eax
mov dword [esp + 0x26d2c], ebx
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push esi
push eax
mov byte [esp + 0x26d30], 0x13
call fcn.0047c2a0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x26d20], bl
call fcn.00643d26
mov dword [esp + 0x26d20], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x4edfdf
cmp eax, 7
jne 0x4edfe4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x6e76ea
call fcn.00643d2c
call fcn.0047c200
add esp, 4
cmp eax, ebp
je 0x4edfe4
push 0x69dc8c
lea eax, [esp + 0x44]
push 0x73aaac
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebp
call fcn.00643ea6
mov esi, dword [eax]
push 0x69dc8c
lea ecx, [esp + 0x3c]
push 0x73aaac
push ecx
mov dword [esp + 0x26d2c], 0x14
call fcn.00643ea6
push 0x6e76ea
lea edx, [esp + 0x38]
mov bl, 0x15
push eax
push edx
mov byte [esp + 0x26d2c], bl
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x2c]
push ecx
push edx
push esi
push eax
mov byte [esp + 0x26d30], 0x16
call fcn.0047c2a0
add esp, 0x10
lea ecx, [esp + 0x34]
mov byte [esp + 0x26d20], bl
call fcn.00643d26
lea ecx, [esp + 0x38]
mov byte [esp + 0x26d20], 0x14
call fcn.00643d26
mov dword [esp + 0x26d20], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00643d26
mov ecx, dword [esp + 0x26d18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x26d14
ret 4