Function at 0x4211f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cf56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x20c]
mov dword [ebp - 4], 1
call fcn.0042b6a3
push 0x8000
push 0x4000
push 0x9fff6
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 2
call fcn.0042be9d
mov eax, dword [ebp + 8]
xor esi, esi
push esi
push esi
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 3
call fcn.0042b7ba
mov ecx, dword [0x48a8c4]
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.0042ac50
mov ebx, 6
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], bl
call fcn.0042b98b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jge 0x421564
lea edx, [ebp - 0xac]
push eax
push edx
lea ecx, [ebp - 0x20c]
call fcn.0042b992
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp + 0xc]
call fcn.004593cf
mov eax, dword [eax]
push 0x48855c
push eax
call fcn.0043e4c5
add esp, 8
lea ecx, [ebp - 0x40]
test eax, eax
sete byte [ebp - 0x15]
call fcn.0045b5aa
mov al, byte [ebp - 0x15]
test al, al
je 0x42132e
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xac]
call fcn.0042b5f8
push eax
lea edx, [ebp + 0xc]
lea eax, [ebp - 0x54]
push edx
push eax
mov byte [ebp - 4], 7
call fcn.0045b7d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0045b6e3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0045b5aa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
jmp 0x42138f
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xac]
call fcn.0042b5f8
mov esi, eax
lea edx, [ebp + 0xc]
push 0x48855c
lea eax, [ebp - 0x50]
push edx
push eax
mov byte [ebp - 4], 9
call fcn.0045b83f
push esi
lea ecx, [ebp - 0x38]
push eax
push ecx
mov byte [ebp - 4], 0xa
call fcn.0045b7d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0045b6e3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0045b5aa
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0045b5aa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.0045b5aa
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.0045b31f
call fcn.004217d0
add esp, 4
test eax, eax
je 0x421634
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0045b31f
call fcn.00421880
add esp, 4
test eax, eax
jne 0x421479
lea ecx, [ebp - 0x14]
lea edx, [ebp + 0x10]
push ecx
push 0x489c54
push edx
call fcn.0045b8b3
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x489d70
push eax
push ecx
call fcn.0045b83f
mov edx, dword [0x492128]
mov ecx, dword [edx + 0x828]
call fcn.0041d780
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0045b5aa
test edi, edi
jne 0x42141e
xor eax, eax
jmp 0x421421
mov eax, dword [edi + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
push 0x489c54
push ecx
call fcn.0045b8b3
push ecx
mov byte [ebp - 4], 0xd
mov edx, esp
mov dword [ebp - 0x1c], esp
push 0x489d70
push eax
push edx
call fcn.0045b83f
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
call fcn.0041d8a0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0045b5aa
mov ecx, edi
call fcn.0041f770
test edi, edi
jne 0x421551
jmp 0x421554
lea ecx, [ebp - 0x14]
push str..ebk
lea edx, [ebp - 0x5c]
push ecx
push edx
call fcn.0045b83f
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [ebp - 0x5c]
sete byte [ebp - 0x15]
call fcn.0045b5aa
mov al, byte [ebp - 0x15]
lea ecx, [ebp - 0x14]
test al, al
push ecx
je 0x42158b
lea edx, [ebp + 0x10]
push 0x489c54
push edx
call fcn.0045b8b3
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x489d64
push eax
push ecx
call fcn.0045b83f
mov edx, dword [0x492128]
mov ecx, dword [edx + 0x828]
call fcn.0041d780
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0045b5aa
test edi, edi
jne 0x4214ff
xor eax, eax
jmp 0x421502
mov eax, dword [edi + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
push 0x489c54
push ecx
call fcn.0045b8b3
push ecx
mov byte [ebp - 4], 0xf
mov edx, esp
mov dword [ebp - 0x1c], esp
push 0x489d64
push eax
push edx
call fcn.0045b83f
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
call fcn.0041d8a0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0045b5aa
mov ecx, edi
call fcn.0041f770
test edi, edi
je 0x421554
mov edi, dword [edi + 0x1c]
push 0
push 0
push 0x47c
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jne 0x421575
mov dword [ebp - 0x24], 1
push 0
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x18
call fcn.0042be0e
jmp 0x42171f
mov esi, dword [ebp + 0x10]
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
lea edx, [esi*8]
sub edx, esi
shl edx, 5
lea ecx, [ecx + edx + 0xa7c]
call fcn.0045a5b9
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push 0x489d58
push eax
call fcn.0045b8b3
push 0x489d50
lea ecx, [ebp - 0x30]
push eax
push ecx
mov byte [ebp - 4], 0x10
call fcn.0045b83f
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0045b7d9
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..ebk
push eax
push ecx
call fcn.0045b83f
mov edx, dword [0x492128]
mov ecx, dword [edx + 0x828]
call fcn.0041d780
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0045b5aa
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.0045b5aa
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.0045b5aa
jmp 0x421637
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xac]
push eax
call fcn.0042b5f8
push eax
lea ecx, [ebp - 0x44]
push 0x489d44
push ecx
mov byte [ebp - 4], 0x13
call fcn.0045b8b3
push 0x489d3c
lea edx, [ebp - 0x3c]
push eax
push edx
mov byte [ebp - 4], 0x14
call fcn.0045b83f
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
push eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0045b7d9
mov eax, dword [0x492128]
mov ecx, dword [eax + 0x828]
call fcn.0041d780
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
call fcn.0045b5aa
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.0045b5aa
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0045b5aa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
push 0xffff
push 0
push 0
push 0
push 1
push ecx
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x16
call fcn.0042c755
test al, al
je 0x421564
mov edx, dword [0x492128]
lea ecx, [esi*8]
lea eax, [ebp - 0x14]
sub ecx, esi
push eax
mov eax, dword [edx + 0x828]
shl ecx, 5
mov dword [ebp - 4], ebx
lea ecx, [eax + ecx + 0xa98]
call fcn.0045a5b9
inc dword [ebp - 0x20]
jmp 0x421298
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 5
call fcn.0042acce
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0045b5aa
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.0042b748
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0045b5aa
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0045b5aa
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc