Function at 0x1005b5b6
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1005b71f
mov dword [ebp - 0x24], 0x74fd
mov dword [ebp - 0x58], 0x1000dba8
cmp dword [ebp - 0x24], 0x7824
jle 0x1005b696
and dword [ebp - 0x14], 0
jmp 0x1005b5f3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4dbd
jge 0x1005b696
and dword [ebp - 0x1c], 0
jmp 0x1005b60d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1d41
jge 0x1005b691
and dword [ebp - 0x20], 0
jmp 0x1005b623
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x767a
jge 0x1005b68c
and dword [ebp - 0xc], 0
jmp 0x1005b639
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc2c
jge 0x1005b68a
mov ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
sar eax, cl
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x94]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x94]
call fcn.1002281d
jmp 0x1005b632
jmp 0x1005b61c
jmp 0x1005b606
jmp 0x1005b5ec
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x24], 0x712a
jge 0x1005b6ae
push dword [ebp - 0x58]
call fcn.10077843
pop ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1005b6fc
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1005b6fa
push 1
push 0x6ef5
push 0x7510
push 0x4050
push 1
push 0x3f49
call fcn.10056c49
add esp, 0x18
jmp 0x1005b71a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1005b71a
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1005b843
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 0x1992
mov dword [ebp - 0x30], 0x1000dbf8
cmp dword [ebp - 0x28], 0x1d26
jle 0x1005b804
and dword [ebp - 4], 0
jmp 0x1005b75f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x43d8
jge 0x1005b804
and dword [ebp - 8], 0
jmp 0x1005b779
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7dc5
jge 0x1005b7ff
and dword [ebp - 0x10], 0
jmp 0x1005b78f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3005
jge 0x1005b7fa
and dword [ebp - 0x18], 0
jmp 0x1005b7a5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x239d
jge 0x1005b7f8
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xac]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0xac]
call fcn.1002281d
jmp 0x1005b79e
jmp 0x1005b788
jmp 0x1005b772
jmp 0x1005b758
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x28], 0x1739
jge 0x1005b81c
push dword [ebp - 0x30]
call fcn.10077843
pop ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push 1
push dword [ebp - 0x4c]
push 0x7656
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
call fcn.10054884
add esp, 0x20
mov esp, ebp
pop ebp
ret