Function at 0x10001960
Capabilities:
Clear file content

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push ebx
push ebp
lea ecx, [eax + 0xd3]
push esi
mov esi, dword [esp + 0x28]
push edi
lea edi, [eax - 0x2a1]
mov dword [esp + 0x14], ecx
add eax, 0xfffffb31
add esi, 0xffffcbaf
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], esi
lea ecx, [eax - 0x310f]
lea ebx, [eax - 0x372]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x48]
lea eax, [edx + 0x565]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
add eax, 0x38e
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], eax
lea ebp, [ecx + 0x15f]
lea eax, [edx - 0x2ff7]
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
add edx, 0xffffffdc
lea eax, [ecx - 0x2d9d]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add eax, 0x18d
cmp esi, eax
jge 0x10001b68
mov ecx, dword [esp + 0x58]
lea eax, [esi + 0x310f]
cmp ecx, eax
je 0x10001c6c
mov esi, dword [esp + 0x40]
lea eax, [edx + 0x754]
push edx
lea ebx, [esi - 0x660]
push ebx
push eax
lea eax, [ecx + 0x2dad]
push eax
lea eax, [ebp - 0x14f]
mov ebp, dword [esp + 0x64]
push eax
push ebp
lea eax, [edi - 0xa1]
push eax
lea eax, [ecx + 0x2d9d]
push eax
lea eax, [esi - 0x323]
push eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffe3e
push eax
call fcn.10002240
mov edx, dword [esp + 0x3c]
mov edi, eax
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x54]
push ebp
lea eax, [edx - 0x2eb]
add esi, 0xffffff7a
push eax
lea eax, [ecx + 0x2ff7]
push eax
push esi
lea eax, [edi + 0x486]
push eax
mov eax, dword [esp + 0x74]
add eax, 0x1ea
push eax
push edx
lea eax, [ecx + 0x2d9d]
push eax
push dword [esp + 0x88]
lea eax, [ecx + 0x3239]
mov ecx, dword [esp + 0x80]
push eax
lea eax, [ecx + 0x4b0]
push eax
mov eax, dword [esp + 0xac]
add eax, 0x2d89
push eax
push ecx
call fcn.10009e40
mov ecx, dword [esp + 0xb4]
add esp, 0x5c
mov edx, eax
add ecx, 0x355c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
push ecx
lea ecx, [eax + 0xfb]
push ecx
mov ecx, dword [esp + 0x34]
add ecx, 0x5a2
push ecx
lea ecx, [eax + 0x86]
add eax, 0x628
push ecx
push esi
push eax
mov eax, dword [esp + 0x30]
add eax, 0xffffffec
push ebx
push eax
mov eax, dword [esp + 0x48]
add eax, 0x3233
push eax
mov eax, dword [esp + 0x38]
add eax, 0xffffffb9
push eax
lea eax, [edi + 0x51d]
push eax
mov eax, dword [esp + 0x60]
add eax, 0x14
push eax
lea eax, [edx + 0xa8]
push eax
lea eax, [edi + 0x14f]
push eax
push ebp
call fcn.10002820
mov edi, dword [esp + 0x74]
add esp, 0x3c
mov eax, dword [ebp + 0x3c]
sub edi, 0x3ce
mov dword [ebp + 0xa8], eax
lea eax, [edi + 0x555]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x174]
sub eax, 0x310f
and eax, ebx
cmp ecx, eax
jne 0x10001c25
mov eax, dword [esi + 0x140]
and eax, dword [esp + 0x2c]
sub ebx, eax
mov eax, dword [esi + 0x10c]
add eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esi + 0xa4]
mov ecx, dword [esp + 0x58]
and eax, 0x2dad
or eax, dword [esi + 0x18c]
push eax
mov edx, dword [esp + 0x44]
mov eax, ebp
or eax, ecx
sub eax, ebp
push eax
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x24]
sub eax, dword [esi + 0xe8]
push eax
mov eax, dword [esi + 0x174]
add eax, dword [esp + 0x34]
or eax, ebp
push eax
mov eax, dword [esi + 0x194]
add eax, dword [esi + 0x134]
or eax, edx
and edx, 0x3372
push eax
mov eax, ebp
imul eax, ecx
push eax
mov eax, dword [esi + 0xc]
imul eax, dword [esp + 0x38]
sub eax, dword [esi + 0xf0]
push eax
mov eax, dword [esi + 0x50]
push edx
and eax, edi
push esi
push eax
mov eax, dword [esi + 0x160]
and eax, ecx
push eax
call fcn.10004ee0
mov ecx, dword [esp + 0x3c]
add esp, 0x2c
mov eax, dword [esi + 0x1b8]
xor eax, dword [esi + 0x60]
cmp ecx, eax
jae 0x10001c6c
mov eax, dword [esi + 8]
xor ebx, 0x2dad
mov ecx, dword [esi + 0x188]
and ebx, eax
cmp ecx, ebx
jbe 0x10001c6c
mov edx, dword [esi + 0x108]
or edx, 0x3239
cmp eax, edx
jae 0x10001c65
mov eax, ebp
imul eax, edi
add dword [esi + 0x160], eax
mov eax, dword [esi + 8]
add ecx, 4
cmp ecx, ebx
ja 0x10001c53
lea eax, [edi + 0x555]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret