Function at 0x48f63e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc0
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov edi, 0x4e0ac4
xor ebx, ebx
mov dword [edi + 0x10b88], eax
mov dword [edi + 0x10b84], edx
mov dword [edi + 0x10b8c], ecx
mov dword [edi + 0x10c5c], 1
mov dword [edi + 0x10b70], 0xffffffff
cmp byte [0x4c5b56], 0
jne 0x48f771
call fcn.0048e824
test eax, eax
je 0x48f771
lea edx, [edi + 0x11088]
lea eax, [edi + 0x10c88]
mov cl, 1
call fcn.0040a4a0
call fcn.0048e824
test eax, eax
je 0x48f771
lea ecx, [edi + 0x10c88]
mov edx, 0x4c7888
mov eax, 0x4bb2e4
call fcn.0042ebc4
lea eax, [edi + 0x10c88]
call fcn.0040cf18
test al, al
je 0x48f6e5
mov eax, 0x34
jmp 0x48fd13
mov eax, 0x456
call fcn.00413388
push eax
push 0x4c7888
call fcn.00480d50
add esp, 8
push 0x3ff
lea edx, [edi + 0x10c88]
push edx
lea ecx, [ebp - 0x420]
push ecx
call fcn.0049ffb4
mov byte [ebp - 0x21], 0
add esp, 0xc
lea eax, [edi + 0x10c88]
mov dl, 1
call fcn.0040cfb4
lea eax, [edi + 0x10c88]
mov cl, 1
xor edx, edx
call fcn.0040a4a0
call fcn.0048e824
test eax, eax
je 0x48f74b
mov eax, 0x34
jmp 0x48fd13
lea edx, [edi + 0x10c88]
lea ecx, [ebp - 0x420]
push edx
push ecx
mov eax, 0x4ae
call fcn.00413388
push eax
push 0x4c7888
call fcn.00480d50
add esp, 0x10
cmp byte [0x4c5b56], 0
jne 0x48f85d
push 0
push 0x800
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
call fcn.004a43bf
cmp edx, dword [edi + 0x40]
jne 0x48f7a0
cmp eax, dword [edi + 0x3c]
jae 0x48f85d
jmp 0x48f7a6
jge 0x48f85d
cmp dword [edi + 0x48], 0
mov cl, 1
jne 0x48f7b9
cmp dword [edi + 0x44], 0x5f5e100
jbe 0x48f81b
jmp 0x48f7bb
jle 0x48f81b
push 0
push 0
mov edx, 1
mov eax, dword [edi + 0x10b94]
call fcn.0048ef60
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
push 0
mov edx, 2
mov eax, dword [edi + 0x10b94]
call fcn.0048ef60
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
push dword [ebp - 8]
push dword [ebp - 0xc]
xor edx, edx
mov eax, dword [edi + 0x10b94]
call fcn.0048ef60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [edi + 0x40]
jne 0x48f815
cmp eax, dword [edi + 0x3c]
seta cl
jmp 0x48f818
setg cl
and ecx, 1
test cl, cl
je 0x48f85d
push 0
mov eax, dword [edi + 0x44]
push eax
push dword [edi + 0x10c70]
call fcn.004a212c
add esp, 0xc
mov edx, dword [edi + 0x10c70]
xor ecx, ecx
mov cl, byte [edx + 0x16]
push ecx
call fcn.004a2a18
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push 0
push 0
push dword [edi + 0x10c70]
call fcn.004a212c
add esp, 0xc
call fcn.0048e9fc
mov ax, word [edi + 0x10bcc]
sub ax, 1
jb 0x48f891
je 0x48f9ca
sub ax, 5
je 0x48f9ef
add eax, 0xfffffffe
sub ax, 2
jb 0x48fa3f
jmp 0x48fa67
mov dword [ebp - 4], 0x10000
lea edx, [edi + 0xb6c]
xor ecx, ecx
mov dword [edi + 0x10c80], edx
mov dword [edi + 0x10c84], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x48f953
mov eax, esi
mov edx, dword [edi + 0x10c80]
inc dword [edi + 0x10c80]
mov byte [edx], al
inc dword [edi + 0x10c84]
mov ecx, dword [edi + 0x10c84]
cmp ecx, dword [ebp - 4]
jne 0x48f953
mov eax, dword [edi + 0x10c84]
xor edx, edx
add dword [ebp - 0x1c], eax
adc dword [ebp - 0x18], edx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [edi + 0x48]
push dword [edi + 0x44]
mov edx, dword [edi + 0xb68]
mov eax, dword [edx]
mov edx, dword [edx + 4]
add eax, dword [ebp - 0x1c]
adc edx, dword [ebp - 0x18]
push edx
push eax
push dword [edi + 0x10b9c]
push dword [edi + 0x10b98]
call fcn.00459b34
call fcn.00480728
cmp dword [0x4d27e4], 0
jne 0x48f9a5
lea eax, [edi + 0xb6c]
xor ecx, ecx
mov edx, dword [edi + 0x10c84]
call fcn.0048efac
lea eax, [edi + 0xb6c]
xor edx, edx
mov dword [edi + 0x10c80], eax
mov dword [edi + 0x10c84], edx
sub dword [edi + 0x10b7c], 1
sbb dword [edi + 0x10b80], 0
mov eax, dword [edi + 0x10b7c]
mov edx, dword [edi + 0x10b80]
cmp edx, 0
jne 0x48f979
cmp eax, 0
jb 0x48f98c
jmp 0x48f97b
jl 0x48f98c
mov ecx, dword [edi + 0x10b78]
inc dword [edi + 0x10b78]
movzx esi, byte [ecx]
jmp 0x48f993
call fcn.0048ec7c
mov esi, eax
cmp esi, 0xffffffff
je 0x48f9a5
cmp dword [edi + 0x10c58], 0
je 0x48f8bf
cmp dword [edi + 0x10c84], 0
je 0x48fab4
lea eax, [edi + 0xb6c]
xor ecx, ecx
mov edx, dword [edi + 0x10c84]
call fcn.0048efac
jmp 0x48fab4
call fcn.0048b920
mov esi, eax
test eax, eax
je 0x48fab4
mov ebx, 6
cmp esi, 3
je 0x48fab4
add ebx, 0xfffffffc
jmp 0x48fab4
call fcn.0049267c
mov esi, eax
test eax, eax
je 0x48fa0c
cmp esi, 5
je 0x48fa0c
mov ebx, 6
cmp esi, 3
je 0x48fa0c
add ebx, 0xfffffffc
cmp esi, 5
jne 0x48fab4
mov eax, dword [edi + 0x4c]
xor edx, edx
cmp edx, dword [edi + 0x10bdc]
jne 0x48fa2d
cmp eax, dword [edi + 0x10bd8]
setbe al
jmp 0x48fa30
setle al
and eax, 1
mov ebx, 1
test eax, eax
jne 0x48fab4
inc ebx
jmp 0x48fab4
cmp word [edi + 0x10bcc], 9
sete al
and eax, 1
call fcn.0048e0a4
mov esi, eax
test eax, eax
je 0x48fab4
mov ebx, 6
cmp esi, 3
je 0x48fab4
add ebx, 0xfffffffc
jmp 0x48fab4
lea eax, [edi + 0x11888]
push eax
mov eax, 0x342
call fcn.00413388
push eax
push 0x4c7888
call fcn.00480d50
add esp, 0xc
call fcn.0048e944
cmp byte [0x4c5b56], 0
jne 0x48faaa
call fcn.0048b7a4
lea edx, [edi + 0x11088]
lea eax, [edi + 0x10c88]
call fcn.0040b1cc
mov eax, 1
jmp 0x48fd13
mov byte [ebp - 0x1d], 0
cmp dword [0x4d27e4], 0
je 0x48face
cmp byte [0x4c5b56], 0
jne 0x48face
mov byte [ebp - 0x1d], 1
cmp dword [edi + 0x10c58], 0
je 0x48fb17
cmp dword [edi + 0x10c58], 1
jle 0x48fb12
cmp byte [0x4c5a88], 0
jne 0x48faf6
cmp byte [0x4c5b56], 0
jne 0x48faf6
mov byte [ebp - 0x1d], 1
lea ecx, [edi + 0x10c88]
mov edx, 0x4c7888
mov eax, 0x4bb2e4
call fcn.0042eca8
mov ebx, 0x32
jmp 0x48fb17
mov ebx, 1
cmp ebx, 6
jne 0x48fb26
mov eax, 0x4bb2e4
call fcn.0042eb64
mov byte [ebp - 0x1e], 0
cmp byte [edi + 0x11d0d], 0
je 0x48fbf6
lea edx, [edi + 0x11d14]
lea eax, [ebp - 0x440]
call fcn.00495988
cmp dword [edi + 0x40], 0xffffffff
jne 0x48fb62
cmp dword [edi + 0x3c], 0xffffffff
jne 0x48fb62
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.0048e944
add dword [edi + 0x3c], 0xa
adc dword [edi + 0x40], 0
call fcn.0048e9fc
mov edx, dword [edi + 0xb68]
and byte [edx + 0x28], 0xfe
xor esi, esi
sub dword [edi + 0x10b7c], 1
sbb dword [edi + 0x10b80], 0
mov eax, dword [edi + 0x10b7c]
mov edx, dword [edi + 0x10b80]
cmp edx, 0
jne 0x48fba6
cmp eax, 0
jb 0x48fbba
jmp 0x48fba8
jl 0x48fbba
mov ecx, dword [edi + 0x10b78]
inc dword [edi + 0x10b78]
xor eax, eax
mov al, byte [ecx]
jmp 0x48fbbf
call fcn.0048ec7c
mov byte [ebp + esi - 0x430], al
inc esi
cmp esi, 0xa
jl 0x48fb80
mov edx, dword [edi + 0xb68]
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x430]
or byte [edx + 0x28], 1
push 0xa
push ecx
push eax
call fcn.0049fecc
add esp, 0xc
test eax, eax
je 0x48fbf6
mov byte [ebp - 0x1e], 1
cmp byte [ebp - 0x1e], 0
jne 0x48fc23
cmp byte [edi + 0x11d0d], 0
je 0x48fc12
cmp byte [edi + 0x11d0e], 0
je 0x48fc96
mov edx, dword [edi + 0x10b70]
xor edx, 0xffffffff
cmp edx, dword [edi + 0x10bd4]
je 0x48fc96
cmp ebx, 1
jle 0x48fc2d
cmp ebx, 2
jne 0x48fc79
mov ecx, dword [edi + 0xb68]
test byte [ecx + 0x28], 1
je 0x48fc5a
lea eax, [edi + 0x11888]
push eax
mov eax, 0x1f8
call fcn.00413388
push eax
push 0x4c7888
call fcn.00480d50
add esp, 0xc
jmp 0x48fc79
lea edx, [edi + 0x11888]
mov eax, 0x1f9
push edx
call fcn.00413388
push eax
push 0x4c7888
call fcn.00480d50
add esp, 0xc
cmp byte [0x4c5a88], 0
jne 0x48fc8f
cmp byte [0x4c5b56], 0
jne 0x48fc8f
mov byte [ebp - 0x1d], 1
mov ebx, 2
jmp 0x48fcc2
cmp byte [0x4c5b56], 0
je 0x48fcc2
cmp dword [edi + 0x10bb0], 0
je 0x48fcc2
movzx edx, word [edi + 0x10bea]
mov eax, dword [edi + 0x10bb0]
call fcn.0048fd1a
mov esi, eax
cmp ebx, eax
jge 0x48fcc2
mov ebx, esi
cmp byte [0x4c5b56], 0
jne 0x48fce7
test ebx, ebx
je 0x48fce7
mov eax, dword [edi + 0x10c70]
xor edx, edx
mov dl, byte [eax + 0x16]
push edx
call fcn.004a2a18
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
cmp byte [0x4c5b56], 0
jne 0x48fcf5
call fcn.0048b7a4
cmp byte [ebp - 0x1d], 0
je 0x48fd0c
lea edx, [edi + 0x11088]
lea eax, [edi + 0x10c88]
call fcn.0040b1cc
call fcn.0048e944
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret