Function at 0x469b40
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bf73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x4d4]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
je 0x46a2a7
mov al, byte [ebx + 0x46c]
test al, al
jne 0x46a2a7
lea esi, [ebx + 0x3f0]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x4d4], edi
je 0x46a2a0
mov al, byte [ebx + 0x46c]
test al, al
jne 0x46a2a0
mov ecx, ebx
call fcn.00476b00
cmp eax, edi
jne 0x46a2a0
mov eax, dword [ebx + 0x4fc]
mov ecx, dword [ebx + 0x250]
cmp eax, edi
mov dword [ebp - 0x1c], eax
setne byte [ebp - 0x11]
cmp eax, ecx
jge 0x46a2a0
cmp dword [ebx + 0x4d4], edi
je 0x46a2a0
mov al, byte [ebx + 0x46c]
test al, al
jne 0x46a2a0
mov eax, dword [0x5c2a74]
mov dword [ebp - 0xfc], 0x56b594
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov edi, dword [ebx + 0x464]
mov byte [ebp - 4], 1
mov byte [ebp + 0xb], 0
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x18], edi
cmp edi, eax
jge 0x46a0e7
lea eax, [ebp - 0xfc]
lea esi, [ebx + 8]
push 0
push eax
push edi
mov ecx, esi
call fcn.0051b270
test al, al
je 0x469f01
cmp byte [ebp - 0xbf], 1
jne 0x469f01
mov al, byte [ebp - 0xbc]
test al, al
je 0x469f01
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, ebx
call fcn.00470350
test eax, eax
jne 0x469cdd
lea edx, [ebp - 0xfc]
mov ecx, ebx
push edx
call fcn.00470090
test eax, eax
jne 0x469cdd
test edi, edi
jne 0x469f01
cmp byte [ebp - 0xc0], 3
jne 0x469e4b
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x469e4b
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ebx + 0x40c]
push 0
push 0x1430
inc ecx
push 0x111
push eax
mov byte [ebp - 0xbf], 0
mov byte [ebp - 0xb0], 1
mov dword [ebx + 0x4cc], ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x469d41
mov al, byte [ebx + 0x287]
test al, al
je 0x469d41
xor esi, esi
jmp 0x469d9b
mov ecx, dword [ebp - 0x98]
push 0x5c
push ecx
call fcn.00526d20
add esp, 8
test eax, eax
je 0x469d59
inc eax
jmp 0x469d5f
mov eax, dword [ebp - 0x98]
test edi, edi
sete dl
push edx
push eax
mov ecx, ebx
call fcn.0046cda0
mov esi, eax
test esi, esi
je 0x469d9b
lea eax, [ebp - 0xfc]
mov ecx, ebx
push eax
call fcn.00470350
mov esi, eax
test esi, esi
je 0x469d9b
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, ebx
call fcn.00470590
mov esi, eax
test esi, esi
jne 0x469da2
mov byte [ebp - 0xbc], 0
lea edx, [ebp - 0xfc]
lea ecx, [ebx + 8]
push edx
push edi
call fcn.0051c450
test esi, esi
je 0x469dd9
mov edx, dword [ebx + 0x4b8]
inc edx
mov eax, edx
mov dword [ebx + 0x4b8], edx
push eax
mov eax, dword [ebx + 0x40c]
push 0x1401
push 0x111
push eax
jmp 0x469deb
mov ecx, dword [ebx + 0x40c]
push edi
push 0x13fe
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebx + 0x52c]
push edi
push 0
push 0x140e
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x250]
inc eax
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jl 0x469f01
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xfc]
mov dword [ebx + 0x464], edi
mov byte [ebp - 4], 0
call fcn.0043fb90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0xbf], 2
push ecx
push edi
mov ecx, esi
call fcn.0051c450
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0x54]
push 1
push edx
push eax
push ecx
lea ecx, [ebx + 0x2e0]
mov byte [ebp - 4], 2
call fcn.00412b90
test eax, eax
je 0x46a0a7
mov al, byte [ebp - 0x2b]
test al, al
je 0x46a0a7
lea edx, [ebp - 0xfc]
push 1
push edx
push edi
mov ecx, ebx
call fcn.00475490
mov esi, eax
test esi, esi
mov dword [ebp - 0x24], esi
jne 0x469f07
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.005421be
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.005421be
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.005421be
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.005421be
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.005421be
inc edi
jmp 0x469c69
mov eax, dword [ebx + 0x498]
push edi
push eax
push 0
lea ecx, [esi + 0x20]
call fcn.00508260
mov ecx, dword [esi + 0x50]
mov edx, dword [ebp - 0x50]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x46a0a7
mov edx, dword [ebp - 0x48]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x469f57
push edx
lea eax, [esi + 0x1d8]
push 0x5a3e24
push eax
call fcn.0053afda
add esp, 0xc
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x780], ecx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x428], edx
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x42c], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x65c], ecx
mov edx, dword [ebp - 0x4c]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x469fcc
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
add esp, 4
mov dword [eax + 0x1d0], edx
mov edi, dword [ebp - 0x4c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov ecx, dword [0x5c74cc]
push esi
mov byte [ebp - 0xb3], 1
call fcn.0049ded0
push 0
mov ecx, esi
call fcn.00502c20
push esi
call fcn.00456f40
mov ecx, dword [0x5c74d0]
mov byte [esi + 0x784], 1
mov dword [esi], ecx
mov al, byte [ebx + 0x288]
add esp, 4
test al, al
je 0x46a035
mov eax, dword [ebx + 0x4c0]
mov edx, dword [ebx + 0x498]
mov edi, dword [ebp - 0x18]
inc eax
mov byte [ebp - 0xb2], 1
mov dword [ebx + 0x4c0], eax
mov dword [esi + 0x794], edx
mov dword [esi + 0x798], edi
jmp 0x46a038
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0xfc]
lea ecx, [ebx + 8]
push eax
push edi
call fcn.0051c450
push edi
mov ecx, ebx
call fcn.0046fa40
mov ecx, dword [ebp - 0x50]
push ecx
push 0
push edi
mov ecx, ebx
call fcn.0046b380
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.005421be
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.005421be
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.005421be
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.005421be
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.005421be
mov edi, dword [ebp - 0x18]
inc edi
jmp 0x469c69
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.005421be
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.005421be
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.005421be
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.005421be
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.005421be
mov al, byte [ebp + 0xb]
mov dword [ebx + 0x464], edi
test al, al
jne 0x46a1ba
mov edi, dword [ebx + 0x468]
cmp edi, dword [ebx + 0xb0]
jge 0x46a1b3
lea edx, [ebp - 0xfc]
lea esi, [ebx + 8]
push 0
push edx
push edi
mov ecx, esi
call fcn.0051b270
test al, al
je 0x46a1ad
cmp byte [ebp - 0xbf], 3
jne 0x46a1ad
mov al, byte [ebp - 0xbc]
test al, al
jne 0x46a13d
test edi, edi
jne 0x46a1ad
lea eax, [ebp - 0xfc]
mov ecx, ebx
push eax
call fcn.00470350
test eax, eax
jne 0x46a165
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, ebx
call fcn.00470090
test eax, eax
jne 0x46a165
test edi, edi
jne 0x46a1ad
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x46a18f
mov cl, byte [eax + ecx - 1]
cmp cl, 0x27
je 0x46a180
cmp cl, 0x22
jne 0x46a18f
dec eax
push 0
push eax
lea ecx, [ebp - 0xac]
call fcn.00542704
lea edx, [ebp - 0xfc]
mov ecx, esi
push edx
push edi
mov byte [ebp - 0xbf], 5
call fcn.0051c450
mov dword [ebx + 0x468], edi
jmp 0x46a1ba
inc edi
jmp 0x46a0fe
mov al, byte [ebp + 0xb]
test al, al
je 0x46a1be
test edi, edi
jge 0x46a1f6
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.0043fb90
mov al, byte [ebp - 0x11]
test al, al
jne 0x46a1ed
mov eax, dword [ebx + 0x408]
push 0
push 0x1413
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x46a2a1
test edi, edi
mov byte [ebp - 0x11], 1
jne 0x46a205
mov eax, 1
jmp 0x46a213
lea eax, [ebp - 0xfc]
mov ecx, ebx
push eax
call fcn.00470090
lea ecx, [ebp - 0xfc]
push ecx
push edi
push eax
push 0x1e
mov ecx, ebx
call fcn.0046a420
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x250]
inc eax
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jl 0x46a24b
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.0043fb90
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x46a2a1
mov edx, dword [ebx + 0x530]
push edx
call fcn.004bb160
add esp, 4
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.0043fb90
mov esi, dword [ebp - 0x20]
xor edi, edi
jmp 0x469bde
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret