Function at 0x48b620
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531724
mov eax, dword fs:[0]
push eax
mov eax, 0x1f9c
call fcn.00520130
mov eax, dword [0x559024]
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f44], eax
mov dword [ebp - 0x1f34], edx
mov ecx, 0x14
lea eax, [ebp - 0x1f68]
xor ebx, ebx
mov edi, edi
mov byte [eax], bl
inc eax
dec ecx
jne 0x48b670
mov eax, dword [edx + 0x90b4]
xor edi, edi
mov dword [ebp - 0x1f2c], edi
cmp dword [eax + 0xc], ebx
jle 0x48b6b2
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp ecx, eax
je 0x48b6b2
sub eax, ecx
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1f2c], eax
mov edi, eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
push 0x55d3a0
neg ecx
or ecx, eax
push ecx
call fcn.00514a32
mov dword [ebp - 0x1f5c], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
push 0x55d3a0
neg ecx
or ecx, eax
push ecx
call fcn.00514a32
add esp, 0x10
mov dword [ebp - 0x1f3c], eax
cmp dword [ebp - 0x1f5c], ebx
je 0x48bb49
cmp eax, ebx
je 0x48bb49
mov eax, dword [ebp - 0x1f34]
mov eax, dword [eax + 0x90b4]
lea esi, [ebp - 0x1fa8]
call fcn.0050e8f0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x1fa8]
mov dword [ebp - 0x1f68], eax
cmp eax, ebx
jne 0x48b743
mov dword [ebp - 0x1f68], 0x538640
mov dword [ebp - 0x1f30], ebx
cmp edi, ebx
jle 0x48b8f8
mov edi, dword [ebp - 0x1f5c]
mov eax, dword [ebp - 0x1f3c]
sub eax, edi
mov dword [ebp - 0x1f38], ebx
mov dword [ebp - 0x1f54], eax
jmp 0x48b770
mov ecx, dword [ebp - 0x1f34]
mov eax, dword [ecx + 0x90b4]
mov dword [ebp - 0x1f40], ebx
cmp dword [eax + 0xc], ebx
jle 0x48b7d5
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x48b7d5
sub eax, esi
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1f30], ebx
jl 0x48b7d5
cmp dword [ebp - 0x1f30], eax
jge 0x48b7d5
mov edx, dword [ebp - 0x1f38]
mov esi, dword [esi + edx]
mov dword [ebp - 0x1f40], esi
cmp esi, ebx
jne 0x48b7d5
mov dword [ebp - 0x1f40], 0x538640
mov eax, dword [ebp - 0x1f40]
mov dword [edi], eax
mov dword [ebp - 0x1f50], ebx
mov dword [ebp - 0x1f4c], ebx
mov dword [ebp - 0x1f48], ebx
push 0x5388e8
lea ecx, [ebp - 0x1fa8]
push ecx
lea edx, [ebp - 0x1f74]
push edx
mov byte [ebp - 4], 1
call fcn.004fd0a0
mov byte [ebp - 4], 2
mov ecx, dword [edi]
push ecx
push eax
lea edx, [ebp - 0x1f80]
push edx
call fcn.004fd0a0
add esp, 0x18
lea ecx, [ebp - 0x1f50]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f80]
cmp eax, ebx
je 0x48b85a
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x1f80], ebx
mov dword [ebp - 0x1f7c], ebx
mov dword [ebp - 0x1f78], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1f74]
cmp eax, ebx
je 0x48b883
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x1f74], ebx
mov dword [ebp - 0x1f70], ebx
mov dword [ebp - 0x1f6c], ebx
mov esi, dword [ebp - 0x1f50]
mov eax, esi
cmp esi, ebx
jne 0x48b894
mov eax, 0x538640
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x1f54]
mov dword [eax + edi], 1
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x48b8cf
push esi
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x1f50], ebx
mov dword [ebp - 0x1f4c], ebx
mov dword [ebp - 0x1f48], ebx
mov eax, dword [ebp - 0x1f30]
add dword [ebp - 0x1f38], 0x1c
inc eax
add edi, 4
mov dword [ebp - 0x1f30], eax
cmp eax, dword [ebp - 0x1f2c]
jl 0x48b770
mov edi, dword [ebp - 0x1f2c]
mov esi, dword [ebp - 0x1f34]
mov dword [ebp - 0x1f64], edi
mov dword [ebp - 0x1f60], edi
add esi, 0x9064
push ebx
lea edi, [ebp - 0x1f68]
mov ecx, esi
call fcn.004a66b0
mov edi, dword [ebp - 0x1f3c]
call fcn.004a6a40
push 0x538640
lea ecx, [ebp - 0x1d1e]
push 0x104
push ecx
call fcn.00513c73
add esp, 0xc
mov dword [ebp - 0x1b10], ebx
mov dword [ebp - 0x1b0c], ebx
mov dword [ebp - 0x1b08], ebx
mov dword [ebp - method.CFileMap.virtual_0], vtable.CMemMap.0
mov dword [ebp - 0x1b00], ebx
mov dword [ebp - method.CSemaphore.virtual_0], vtable.CSemaphore.0
mov dword [ebp - 0x1afc], ebx
mov dword [ebp - 0x1af8], ebx
mov dword [ebp - 0x1af4], ebx
mov dword [ebp - 0x1af0], ebx
mov dword [ebp - 0x1aec], ebx
mov byte [ebp - 0x1ae8], bl
mov dword [ebp - 0x1ae4], ebx
mov dword [ebp - 0x1adc], ebx
mov dword [ebp - method.CUseDll.virtual_0], vtable.CUseDll.0
mov dword [ebp - 0x1ad8], ebx
mov byte [ebp - 0x1ad4], bl
mov dword [ebp - 0x1ad0], ebx
mov dword [ebp - 0x1ac8], ebx
mov dword [ebp - 0x1ac4], ebx
mov dword [ebp - 0x1ac0], ebx
mov byte [ebp - 0x1acc], bl
mov ecx, 0x1aac
lea eax, [ebp - 0x1abc]
lea ecx, [ecx]
mov byte [eax], bl
inc eax
dec ecx
jne 0x48b9e0
lea eax, [ebp - 0x1b14]
mov byte [ebp - 4], 4
call fcn.0046c7e0
lea edx, [ebp - 0xf68]
push edx
lea eax, [ebp - 0x1f28]
push 0x104
push eax
call fcn.00513c73
add esp, 0xc
push 1
push ebx
push 1
push esi
lea eax, [ebp - 0x1f28]
call fcn.004a6940
call fcn.00508800
cmp eax, 0x100000
je 0x48ba4a
cmp eax, ebx
je 0x48ba4a
call fcn.00508160
cmp eax, ebx
je 0x48ba61
push ebx
push ebx
push 0x8366
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x48ba61
call fcn.00420310
cmp eax, ebx
je 0x48ba61
push ebx
push ebx
push 0x8366
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
or edi, 0xffffffff
xor esi, esi
mov dword [ebp - 0x1f98], ebx
mov dword [ebp - method.CPipe.virtual_0], vtable.CPipe.0
mov dword [ebp - 0x1f94], edi
mov dword [ebp - 0x1f90], 0x400
mov dword [ebp - 0x1f88], ebx
mov dword [ebp - method.CEvent.virtual_0], vtable.CEvent.0
mov dword [ebp - 0x1f84], esi
mov byte [ebp - 4], 5
call fcn.0046a910
test eax, eax
jne 0x48bada
mov ecx, dword [ebp - 0x1f44]
push ecx
call fcn.00508270
push 0x32
call fcn.00508c60
push str.SendFaxScanImage
lea eax, [ebp - 0x1f9c]
call fcn.004e8fc0
mov esi, dword [ebp - 0x1f84]
mov edi, dword [ebp - 0x1f94]
jmp 0x48baee
mov edx, dword [ebp - 0x1f44]
push ebx
push 0x30
push 0xa421
push edx
call fcn.0043b6e0
mov eax, dword [ebp - 0x1f3c]
push eax
call fcn.00514116
mov ecx, dword [ebp - 0x1f5c]
push ecx
call fcn.00514116
add esp, 8
cmp esi, ebx
je 0x48bb14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x48bb20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1b14]
push edx
mov byte [ebp - 4], bl
call fcn.0046c6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1fa8]
cmp eax, ebx
je 0x48bb49
push eax
call fcn.005134a7
add esp, 4
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.00513498
mov esp, ebp
pop ebp
ret 4