Function at 0x48c63c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
mov esi, 0x4d72b0
push edi
xor edi, edi
mov dword [esi + 0x10b88], eax
mov dword [esi + 0x10b84], edx
mov dword [esi + 0x10b8c], ecx
mov dword [esi + 0x10c5c], 1
mov dword [esi + 0x10b70], 0xffffffff
cmp byte [0x4bdc0e], 0
jne 0x48c76b
call fcn.0048b804
test eax, eax
je 0x48c76b
lea eax, [esi + 0x10c88]
mov cl, 1
xor edx, edx
call fcn.0040a3dc
call fcn.0048b804
test eax, eax
je 0x48c76b
lea ecx, [esi + 0x10c88]
mov edx, 0x4bf940
mov eax, 0x4b3b9c
call fcn.0042db60
lea eax, [esi + 0x10c88]
call fcn.0040c77c
test al, al
je 0x48c6df
mov eax, 0x34
jmp 0x48cc14
mov eax, 0x456
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 8
push 0x103
lea edx, [esi + 0x10c88]
push edx
lea ecx, [ebp - 0x124]
push ecx
call fcn.0049905c
mov byte [ebp - 0x21], 0
add esp, 0xc
lea eax, [esi + 0x10c88]
mov dl, 1
call fcn.0040c818
lea eax, [esi + 0x10c88]
mov cl, 1
xor edx, edx
call fcn.0040a3dc
call fcn.0048b804
test eax, eax
je 0x48c745
mov eax, 0x34
jmp 0x48cc14
lea edx, [esi + 0x10c88]
lea ecx, [ebp - 0x124]
push edx
push ecx
mov eax, 0x4ae
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 0x10
cmp byte [0x4bdc0e], 0
jne 0x48c857
push 0
push 0x800
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
call fcn.0049d373
cmp edx, dword [esi + 0x40]
jne 0x48c79a
cmp eax, dword [esi + 0x3c]
jae 0x48c857
jmp 0x48c7a0
jge 0x48c857
cmp dword [esi + 0x48], 0
mov cl, 1
jne 0x48c7b3
cmp dword [esi + 0x44], 0x5f5e100
jbe 0x48c815
jmp 0x48c7b5
jle 0x48c815
push 0
push 0
mov edx, 1
mov eax, dword [esi + 0x10b94]
call fcn.0048bea0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0
mov edx, 2
mov eax, dword [esi + 0x10b94]
call fcn.0048bea0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
xor edx, edx
mov eax, dword [esi + 0x10b94]
call fcn.0048bea0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [esi + 0x40]
jne 0x48c80f
cmp eax, dword [esi + 0x3c]
seta cl
jmp 0x48c812
setg cl
and ecx, 1
test cl, cl
je 0x48c857
push 0
mov eax, dword [esi + 0x44]
push eax
push dword [esi + 0x10c70]
call fcn.0049b0c4
add esp, 0xc
mov edx, dword [esi + 0x10c70]
xor ecx, ecx
mov cl, byte [edx + 0x16]
push ecx
call fcn.0049b9b0
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push 0
push 0
push dword [esi + 0x10c70]
call fcn.0049b0c4
add esp, 0xc
call fcn.0048b970
mov ax, word [esi + 0x10bcc]
sub ax, 1
jb 0x48c88b
je 0x48c9c3
sub ax, 5
je 0x48c9ea
add eax, 0xfffffffe
sub ax, 2
jb 0x48ca3e
jmp 0x48ca68
mov dword [ebp - 8], 0x10000
lea edx, [esi + 0xb6c]
xor ecx, ecx
mov dword [esi + 0x10c80], edx
mov dword [esi + 0x10c84], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x48c94b
mov eax, dword [esi + 0x10c80]
inc dword [esi + 0x10c80]
mov byte [eax], bl
inc dword [esi + 0x10c84]
mov edx, dword [esi + 0x10c84]
cmp edx, dword [ebp - 8]
jne 0x48c94b
mov eax, dword [esi + 0x10c84]
xor edx, edx
add dword [ebp - 0x20], eax
adc dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [esi + 0x48]
push dword [esi + 0x44]
mov edx, dword [esi + 0xb68]
mov eax, dword [edx]
mov edx, dword [edx + 4]
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
push edx
push eax
push dword [esi + 0x10b9c]
push dword [esi + 0x10b98]
call fcn.00453e8c
call fcn.0047d98c
cmp dword [0x4c989c], 0
jne 0x48c99e
lea eax, [esi + 0xb6c]
xor ecx, ecx
mov edx, dword [esi + 0x10c84]
call fcn.0048beec
lea eax, [esi + 0xb6c]
xor edx, edx
mov dword [esi + 0x10c80], eax
mov dword [esi + 0x10c84], edx
sub dword [esi + 0x10b7c], 1
sbb dword [esi + 0x10b80], 0
mov eax, dword [esi + 0x10b7c]
mov edx, dword [esi + 0x10b80]
cmp edx, 0
jne 0x48c971
cmp eax, 0
jb 0x48c985
jmp 0x48c973
jl 0x48c985
mov ecx, dword [esi + 0x10b78]
inc dword [esi + 0x10b78]
xor ebx, ebx
mov bl, byte [ecx]
jmp 0x48c98c
call fcn.0048bbf0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48c99e
cmp dword [esi + 0x10c58], 0
je 0x48c8b9
cmp dword [esi + 0x10c84], 0
je 0x48caaf
lea eax, [esi + 0xb6c]
xor ecx, ecx
mov edx, dword [esi + 0x10c84]
call fcn.0048beec
jmp 0x48caaf
call fcn.00488904
mov dword [ebp - 4], eax
test eax, eax
je 0x48caaf
cmp dword [ebp - 4], 3
mov edi, 6
je 0x48caaf
add edi, 0xfffffffc
jmp 0x48caaf
call fcn.0048f42c
mov dword [ebp - 4], eax
test eax, eax
je 0x48ca0a
cmp dword [ebp - 4], 5
je 0x48ca0a
cmp dword [ebp - 4], 3
mov edi, 6
je 0x48ca0a
add edi, 0xfffffffc
cmp dword [ebp - 4], 5
jne 0x48caaf
mov eax, dword [esi + 0x4c]
xor edx, edx
cmp edx, dword [esi + 0x10bdc]
jne 0x48ca2c
cmp eax, dword [esi + 0x10bd8]
setbe al
jmp 0x48ca2f
setle al
and eax, 1
mov edi, 1
test eax, eax
jne 0x48caaf
inc edi
jmp 0x48caaf
cmp word [esi + 0x10bcc], 9
sete al
and eax, 1
call fcn.0048b084
mov dword [ebp - 4], eax
test eax, eax
je 0x48caaf
cmp dword [ebp - 4], 3
mov edi, 6
je 0x48caaf
add edi, 0xfffffffc
jmp 0x48caaf
lea eax, [esi + 0x10d8c]
push eax
mov eax, 0x342
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 0xc
call fcn.0048b8b8
cmp byte [0x4bdc0e], 0
jne 0x48caa5
call fcn.004887d0
lea eax, [esi + 0x10c88]
call fcn.0040b074
mov eax, 1
jmp 0x48cc14
xor ebx, ebx
cmp dword [0x4c989c], 0
je 0x48cac5
cmp byte [0x4bdc0e], 0
jne 0x48cac5
mov bl, 1
cmp dword [esi + 0x10c58], 0
je 0x48cb0c
cmp dword [esi + 0x10c58], 1
jle 0x48cb07
cmp byte [0x4bdb40], 0
jne 0x48caeb
cmp byte [0x4bdc0e], 0
jne 0x48caeb
mov bl, 1
lea ecx, [esi + 0x10c88]
mov edx, 0x4bf940
mov eax, 0x4b3b9c
call fcn.0042dc44
mov edi, 0x32
jmp 0x48cb0c
mov edi, 1
cmp edi, 6
jne 0x48cb1b
mov eax, 0x4b3b9c
call fcn.0042db00
mov edx, dword [esi + 0x10b70]
xor edx, 0xffffffff
cmp edx, dword [esi + 0x10bd4]
je 0x48cb9d
cmp edi, 1
jle 0x48cb36
cmp edi, 2
jne 0x48cb82
mov ecx, dword [esi + 0xb68]
test byte [ecx + 0x28], 1
je 0x48cb63
lea eax, [esi + 0x10d8c]
push eax
mov eax, 0x1f8
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 0xc
jmp 0x48cb82
lea edx, [esi + 0x10d8c]
mov eax, 0x1f9
push edx
call fcn.004129c8
push eax
push 0x4bf940
call fcn.0047dfcc
add esp, 0xc
cmp byte [0x4bdb40], 0
jne 0x48cb96
cmp byte [0x4bdc0e], 0
jne 0x48cb96
mov bl, 1
mov edi, 2
jmp 0x48cbcb
cmp byte [0x4bdc0e], 0
je 0x48cbcb
cmp dword [esi + 0x10bb0], 0
je 0x48cbcb
movzx edx, word [esi + 0x10bea]
mov eax, dword [esi + 0x10bb0]
call fcn.0048cc1b
mov dword [ebp - 4], eax
cmp edi, eax
jge 0x48cbcb
mov edi, dword [ebp - 4]
cmp byte [0x4bdc0e], 0
jne 0x48cbf0
test edi, edi
je 0x48cbf0
mov eax, dword [esi + 0x10c70]
xor edx, edx
mov dl, byte [eax + 0x16]
push edx
call fcn.0049b9b0
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
cmp byte [0x4bdc0e], 0
jne 0x48cbfe
call fcn.004887d0
test bl, bl
je 0x48cc0d
lea eax, [esi + 0x10c88]
call fcn.0040b074
call fcn.0048b8b8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret