Function at 0x610c3cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
cmp eax, 0xf4
ja 0x610c3d30
cmp eax, 0xa
ja 0x610c4070
mov edi, dword [0x61149da0]
mov ebp, 0x10
mov ebx, 2
mov eax, edi
shr eax, 2
test al, 3
je 0x610c408f
not eax
and eax, 1
add ebx, eax
lea esi, [ebx*8]
lea ecx, [esi + 0x61149dc4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
je 0x610c45ce
cmp dword [0x61149db0], eax
ja 0x610c47b4
mov dword [ecx + 8], eax
mov dword [eax + 0xc], ecx
mov ecx, esi
or ecx, 3
mov dword [edx + 4], ecx
or dword [esi + edx + 4], 1
lea eax, [edx + 8]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0xffffffbf
jbe 0x610c3d80
mov edx, dword [0x61149da8]
mov ebp, 0xffffffff
cmp edx, 0xffffffff
jae 0x610c4190
mov eax, dword [0x61149dac]
cmp eax, 0xffffffff
jbe 0x610c3fbb
mov edx, dword [0x61149db8]
sub eax, ebp
mov dword [0x61149dac], eax
or eax, 1
lea edi, [edx + ebp]
mov dword [0x61149db8], edi
mov dword [edi + 4], eax
or ebp, 3
mov dword [edx + 4], ebp
jmp 0x610c3d25
mov ebx, dword [0x61149da4]
lea ebp, [eax + 0xb]
and ebp, 0xfffffff8
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x610c3fa0
mov edi, ebp
mov eax, ebp
xor esi, esi
mov dword [esp + 0x64], esi
neg edi
shr eax, 8
jne 0x610c41ec
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x60]
mov ebx, dword [esi*4 + 0x61149ecc]
test ebx, ebx
je 0x610c3e20
cmp dword [esp + 0x60], 0x1f
mov esi, ebp
je 0x610c3dda
mov eax, dword [esp + 0x60]
mov ecx, 0x19
shr eax, 1
sub ecx, eax
shl esi, cl
xor ecx, ecx
mov dword [esp + 0x5c], ecx
jmp 0x610c3de4
add esi, esi
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, edi
jae 0x610c3dfa
mov dword [esp + 0x64], ebx
test eax, eax
mov edi, eax
je 0x610c3e20
mov eax, esi
mov ecx, dword [ebx + 0x14]
shr eax, 0x1f
mov ebx, dword [ebx + eax*4 + 0x10]
test ecx, ecx
setne dl
cmp ecx, ebx
setne al
test al, dl
je 0x610c3e18
mov dword [esp + 0x5c], ecx
test ebx, ebx
jne 0x610c3de2
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
or eax, ebx
jne 0x610c3e52
movzx ecx, byte [esp + 0x60]
mov eax, 2
shl eax, cl
mov edx, eax
neg edx
or eax, edx
mov edx, dword [esp + 0x28]
and edx, eax
je 0x610c3e52
mov eax, edx
neg eax
and eax, edx
bsf eax, eax
mov ebx, dword [eax*4 + 0x61149ecc]
test ebx, ebx
je 0x610c3e83
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, edi
jae 0x610c3e72
mov dword [esp + 0x64], ebx
mov edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x610c4280
mov ebx, eax
test ebx, ebx
jne 0x610c3e60
mov eax, dword [esp + 0x64]
test eax, eax
je 0x610c43cf
mov edx, dword [0x61149da8]
sub edx, ebp
cmp edx, edi
jbe 0x610c43cf
mov ebx, dword [0x61149db0]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], ebx
cmp ebx, esi
ja 0x610c47b4
add esi, ebp
cmp dword [esp + 0x64], esi
mov dword [esp + 0x58], esi
jae 0x610c47b4
mov eax, dword [esp + 0x64]
mov edx, eax
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x610c4978
mov edx, dword [edx + 8]
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test ebx, ebx
je 0x610c3f67
mov esi, dword [esp + 0x64]
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*4 + 0x61149da0]
cmp dword [edx + 0x12c], esi
je 0x610c4a2e
cmp dword [esp + 0x24], ebx
ja 0x610c47b4
cmp dword [ebx + 0x10], esi
je 0x610c4ac5
mov dword [ebx + 0x14], eax
test eax, eax
je 0x610c3f67
cmp dword [esp + 0x24], eax
ja 0x610c47b4
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x610c3f4c
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov ebx, dword [esp + 0x64]
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x610c3f67
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
cmp edi, 0xf
ja 0x610c4555
mov esi, dword [esp + 0x64]
lea eax, [edi + ebp]
or eax, 3
mov dword [esi + 4], eax
lea eax, [edi + esi]
or dword [eax + ebp + 4], 1
mov eax, dword [esp + 0x64]
add eax, 8
test eax, eax
jne 0x610c3d28
lea esi, [esi]
lea edi, [edi]
mov edx, dword [0x61149da8]
cmp edx, ebp
jae 0x610c4190
mov eax, dword [0x61149dac]
cmp eax, ebp
ja 0x610c3d57
xor eax, eax
mov dword [esp + 0x48], eax
call sym.init_mparams__
mov eax, dword [0x61149f54]
test al, 1
je 0x610c3fe0
cmp dword [0x61149d8c], ebp
jbe 0x610c428a
nop
lea esi, [esi]
test al, 4
jne 0x610c402c
mov edx, dword [0x61149db8]
test edx, edx
jne 0x610c45bd
xor esi, esi
test esi, esi
je 0x610c4a55
mov edi, dword [0x61149dac]
mov edx, ebp
mov eax, dword [0x61149d88]
sub edx, edi
lea ebx, [edx + eax + 0x29]
neg eax
and ebx, eax
cmp ebx, 0x7ffffffe
jbe 0x610c42ae
mov eax, dword [0x61149f54]
or eax, 4
mov dword [0x61149f54], eax
mov eax, dword [0x61149d88]
lea ebx, [ebp + eax + 0x29]
neg eax
and ebx, eax
cmp ebx, ebp
ja 0x610c43d6
mov eax, dword [0x61149d88]
lea edx, [eax + ebp + 0x29]
neg eax
and edx, eax
cmp edx, 0x7ffffffe
jbe 0x610c442c
call sym.cygwin1.dll___errno
mov dword [eax], 0xc
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [eax + 0xb]
mov edi, dword [0x61149da0]
and ebp, 0xfffffff8
mov ebx, ebp
shr ebx, 3
mov eax, edi
mov cl, bl
shr eax, cl
test al, 3
jne 0x610c3ce4
mov edx, dword [0x61149da8]
cmp edx, ebp
jae 0x610c4190
test eax, eax
je 0x610c4219
mov cl, bl
mov esi, 1
shl eax, cl
mov dword [esp + 0x20], eax
mov eax, esi
shl eax, cl
add eax, eax
mov edx, eax
neg edx
or eax, edx
and dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
neg eax
and eax, edx
bsf ebx, eax
lea ecx, [ebx*8 + 0x61149dc4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [eax + 8]
cmp ecx, eax
je 0x610c4965
cmp dword [0x61149db0], eax
ja 0x610c47b4
mov dword [ecx + 8], eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov eax, ebp
lea esi, [ebx*8]
sub esi, ebp
or eax, 3
add ebp, ecx
mov dword [ecx + 4], eax
mov eax, esi
or eax, 1
mov dword [ebp + 4], eax
mov dword [ebp + esi], esi
mov eax, dword [0x61149da8]
mov dword [esp + 0x74], ebp
test eax, eax
je 0x610c416d
mov ebx, dword [0x61149da0]
mov ecx, eax
shr ecx, 3
lea edx, [ecx*8 + 0x61149dc4]
mov ebp, dword [0x61149db4]
mov eax, ebx
shr eax, cl
mov edi, edx
test al, 1
jne 0x610c47a3
mov eax, 1
shl eax, cl
or ebx, eax
mov dword [0x61149da0], ebx
mov dword [edx + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
mov dword [0x61149da8], esi
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add eax, 8
mov dword [0x61149db4], esi
jmp 0x610c3d28
mov ecx, edx
mov ebx, dword [0x61149db4]
sub ecx, ebp
cmp ecx, 0xf
jbe 0x610c41ca
mov dword [0x61149da8], ecx
mov eax, ecx
lea edx, [ebx + ebp]
mov dword [0x61149db4], edx
or eax, 1
or ebp, 3
mov dword [edx + 4], eax
lea eax, [ebx + 8]
mov dword [edx + ecx], ecx
mov dword [ebx + 4], ebp
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
xor esi, esi
or eax, 3
mov dword [0x61149da8], esi
xor ecx, ecx
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
or dword [ebx + edx + 4], 1
mov dword [0x61149db4], ecx
jmp 0x610c41c2
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x60], edx
ja 0x610c3db3
bsr edx, eax
mov eax, ebp
lea ecx, [edx + 7]
shr eax, cl
and eax, 1
lea edx, [eax + edx*2]
mov dword [esp + 0x60], edx
jmp 0x610c3db3
mov ebx, dword [0x61149da4]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x610c3fa6
mov eax, ebx
neg eax
and eax, ebx
bsf eax, eax
mov ebx, dword [eax*4 + 0x61149ecc]
mov esi, dword [ebx + 4]
mov ecx, ebx
and esi, 0xfffffffc
sub esi, ebp
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x610c427b
mov edx, dword [ecx + 0x14]
test edx, edx
mov ecx, edx
je 0x610c4481
mov eax, dword [edx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, esi
jae 0x610c4250
mov ebx, edx
mov edx, dword [ecx + 0x10]
mov esi, eax
test edx, edx
je 0x610c4257
mov ecx, edx
jmp 0x610c4264
mov eax, dword [ebx + 0x14]
mov ebx, eax
jmp 0x610c3e7f
mov eax, dword [0x61149d88]
mov edi, 0x61149da0
lea ebx, [eax + ebp + 0x1f]
neg eax
and ebx, eax
cmp ebx, ebp
ja 0x610c4842
mov eax, dword [0x61149f54]
jmp 0x610c3fe0
mov dword [esp], ebx
call sym._sbrk_1
mov dword [esp + 0x4c], ebx
mov edi, eax
mov edx, dword [esi]
mov dword [esp + 0x50], edi
mov eax, dword [esi + 4]
add eax, edx
cmp edi, eax
je 0x610c4ab5
cmp edi, 0xffffffff
je 0x610c401f
cmp ebx, 0x7ffffffe
ja 0x610c4304
lea eax, [ebp + 0x29]
cmp eax, ebx
jbe 0x610c4304
mov eax, dword [0x61149d88]
mov edx, ebp
sub edx, ebx
lea esi, [edx + eax + 0x29]
neg eax
and esi, eax
cmp esi, 0x7ffffffe
jbe 0x610c4eb7
cmp edi, 0xffffffff
je 0x610c401f
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov ecx, dword [0x61149f4c]
mov eax, dword [esp + 0x4c]
add eax, ecx
cmp eax, dword [0x61149f50]
mov dword [0x61149f4c], eax
jbe 0x610c4333
mov dword [0x61149f50], eax
mov edi, dword [0x61149db8]
test edi, edi
jne 0x610c45e4
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [0x61149f5c], eax
mov eax, dword [0x61149d80]
mov dword [0x61149f64], edx
mov edx, 0x1f
mov dword [0x61149dc0], eax
mov eax, 0x61149dc4
mov dword [0x61149db0], esi
mov dword [0x61149f58], esi
nop
lea esi, [esi]
mov dword [eax + 0xc], eax
mov dword [eax + 8], eax
add eax, 8
dec edx
jns 0x610c4380
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub ecx, 0x28
mov eax, 0x61149da0
call sym.init_top_malloc_state__malloc_chunk__unsigned_int_
mov eax, dword [0x61149dac]
cmp eax, ebp
jbe 0x610c405a
mov edx, dword [0x61149db8]
sub eax, ebp
mov dword [0x61149dac], eax
or eax, 1
lea ecx, [edx + ebp]
mov dword [0x61149db8], ecx
mov dword [ecx + 4], eax
jmp 0x610c3d73
xor eax, eax
jmp 0x610c3f8c
mov dword [esp + 4], ebx
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, 0x22
mov dword [esp + 0xc], eax
mov eax, 3
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._mmap
cmp eax, 0xffffffff
je 0x610c4041
mov dword [esp + 0x50], eax
mov edi, 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
jmp 0x610c4315
mov dword [esp], edx
call sym._sbrk_1
mov dword [esp], 0
mov ebx, eax
call sym._sbrk_1
cmp ebx, 0xffffffff
mov ecx, eax
setne dl
cmp eax, 0xffffffff
setne al
test al, dl
je 0x610c405a
cmp ebx, ecx
jae 0x610c405a
sub ecx, ebx
lea eax, [ebp + 0x28]
cmp eax, ecx
jae 0x610c405a
mov dword [esp + 0x50], ebx
inc ebx
mov dword [esp + 0x4c], ecx
jne 0x610c4315
jmp 0x610c405a
mov eax, dword [0x61149db0]
cmp eax, ebx
mov dword [esp + 0x24], eax
ja 0x610c47b4
lea edx, [ebx + ebp]
cmp ebx, edx
mov dword [esp + 0x70], edx
jae 0x610c47b4
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x18]
cmp eax, ebx
je 0x610c4b88
mov edx, dword [ebx + 8]
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test edi, edi
je 0x610c4531
mov ecx, dword [ebx + 0x1c]
lea edx, [ecx*4 + 0x61149da0]
cmp dword [edx + 0x12c], ebx
je 0x610c4bc3
cmp dword [esp + 0x24], edi
ja 0x610c47b4
cmp dword [edi + 0x10], ebx
je 0x610c4cd0
mov dword [edi + 0x14], eax
test eax, eax
je 0x610c4531
cmp dword [esp + 0x24], eax
ja 0x610c47b4
mov dword [eax + 0x18], edi
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x610c451a
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x610c4531
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
cmp esi, 0xf
ja 0x610c47b9
lea eax, [esi + ebp]
or eax, 3
mov dword [ebx + 4], eax
lea eax, [esi + ebx]
or dword [eax + ebp + 4], 1
mov eax, ebx
add eax, 8
jmp 0x610c3f8e
mov edx, dword [esp + 0x64]
mov eax, ebp
or eax, 3
mov ecx, dword [esp + 0x58]
mov dword [edx + 4], eax
mov eax, edi
or eax, 1
mov dword [ecx + 4], eax
mov dword [ecx + edi], edi
mov ecx, edi
shr ecx, 3
cmp ecx, 0x1f
ja 0x610c48f0
mov edx, dword [0x61149da0]
lea esi, [ecx*8 + 0x61149dc4]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4b74
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da0], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 8], eax
mov dword [ebx + 0xc], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
jmp 0x610c3f85
mov eax, 0x61149da0
call sym.segment_holding_malloc_state__char_
mov esi, eax
jmp 0x610c3ff4
mov eax, 0xfffffffe
mov cl, bl
rol eax, cl
and edi, eax
mov dword [0x61149da0], edi
jmp 0x610c3d18
mov eax, dword [0x61149f5c]
mov edx, 0x61149f58
mov esi, dword [0x61149f58]
add eax, esi
jmp 0x610c4606
mov edx, dword [edx + 8]
test edx, edx
je 0x610c4620
mov eax, dword [edx + 4]
mov ebx, dword [edx]
add eax, ebx
cmp eax, dword [esp + 0x50]
jne 0x610c45f8
mov eax, dword [edx + 0xc]
test al, 8
jne 0x610c4620
and eax, 1
cmp eax, dword [esp + 0x48]
je 0x610c4e43
mov ecx, dword [esp + 0x50]
cmp dword [0x61149db0], ecx
jbe 0x610c4632
mov dword [0x61149db0], ecx
mov eax, dword [esp + 0x50]
mov edx, 0x61149f58
mov ecx, dword [esp + 0x4c]
add eax, ecx
cmp dword [0x61149f58], eax
jmp 0x610c4652
mov edx, dword [edx + 8]
test edx, edx
je 0x610c4668
cmp dword [edx], eax
jne 0x610c4649
mov eax, dword [edx + 0xc]
test al, 8
jne 0x610c4668
and eax, 1
cmp eax, dword [esp + 0x48]
je 0x610c4cf7
mov edx, edi
mov eax, 0x61149da0
call sym.segment_holding_malloc_state__char_
mov ebx, dword [eax + 4]
xor edx, edx
mov esi, dword [eax]
add ebx, esi
mov eax, ebx
mov ecx, ebx
mov dword [esp + 0x38], ebx
sub eax, 0x27
sub ecx, 0x2f
and eax, 7
je 0x610c4697
mov edx, eax
neg edx
and edx, 7
lea eax, [ecx + edx]
lea edx, [edi + 0x10]
cmp edx, eax
mov dword [esp + 0x34], eax
jbe 0x610c46a9
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x4c]
mov eax, 0x61149da0
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
sub ecx, 0x28
mov esi, dword [esp + 0x34]
call sym.init_top_malloc_state__malloc_chunk__unsigned_int_
mov eax, dword [esp + 0x34]
add ebx, 8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
add esi, 0x18
mov dword [eax + 4], 0x1b
mov eax, dword [0x61149f58]
mov dword [edx + 8], eax
mov eax, dword [0x61149f5c]
mov edx, dword [esp + 0x48]
mov dword [ebx + 4], eax
mov eax, dword [0x61149f60]
mov dword [ebx + 8], eax
mov eax, dword [0x61149f64]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [0x61149f58], ecx
mov dword [0x61149f64], edx
mov dword [0x61149f5c], eax
mov dword [0x61149f60], ebx
jmp 0x610c4722
mov esi, edx
mov dword [esi + 4], 7
lea eax, [esi + 8]
lea edx, [esi + 4]
cmp eax, dword [esp + 0x38]
jb 0x610c4720
cmp dword [esp + 0x34], edi
je 0x610c43a1
mov ebx, dword [esp + 0x34]
sub ebx, edi
mov ecx, ebx
mov dword [esp + 0x30], ebx
lea eax, [edi + ebx]
mov edx, ebx
and dword [eax + 4], 0xfffffffe
shr ecx, 3
or edx, 1
mov dword [edi + 4], edx
cmp ecx, 0x1f
mov dword [eax], ebx
ja 0x610c49bf
mov edx, dword [0x61149da0]
lea esi, [ecx*8 + 0x61149dc4]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4c96
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da0], edx
mov dword [esi + 8], edi
mov dword [ebx + 0xc], edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
jmp 0x610c43a1
mov eax, dword [edx + 8]
cmp eax, dword [0x61149db0]
mov edi, eax
jae 0x610c4161
call sym.cygwin1.dll_abort
mov eax, ebp
mov edx, dword [esp + 0x70]
or eax, 3
mov dword [ebx + 4], eax
mov eax, esi
or eax, 1
mov dword [edx + 4], eax
mov dword [edx + esi], esi
mov eax, dword [0x61149da8]
test eax, eax
je 0x610c4828
mov ecx, eax
mov edx, dword [0x61149da0]
shr ecx, 3
lea eax, [ecx*8 + 0x61149dc4]
mov edi, dword [0x61149db4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4cb0
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da0], edx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [edx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [0x61149da8], esi
mov esi, dword [esp + 0x70]
mov eax, ebx
add eax, 8
mov dword [0x61149db4], esi
jmp 0x610c3f8e
mov dword [esp + 4], ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, 0x22
mov dword [esp + 0xc], eax
mov eax, 3
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._mmap
cmp eax, 0xffffffff
mov esi, eax
je 0x610c42a4
mov edx, esi
xor eax, eax
and edx, 7
je 0x610c4894
mov eax, edx
neg eax
and eax, 7
mov edx, ebx
lea ecx, [esi + eax]
sub edx, eax
sub edx, 0x10
or eax, 1
mov dword [ecx], eax
mov eax, edx
or eax, 2
mov dword [ecx + 4], eax
mov eax, 7
mov dword [ecx + edx + 4], eax
xor eax, eax
cmp dword [0x61149db0], esi
mov dword [ecx + edx + 8], eax
jbe 0x610c48c5
mov dword [edi + 0x10], esi
mov eax, dword [0x61149f4c]
add eax, ebx
cmp eax, dword [0x61149f50]
mov dword [edi + 0x1ac], eax
jbe 0x610c48e0
mov dword [edi + 0x1b0], eax
mov eax, ecx
add eax, 8
jne 0x610c3d28
jmp 0x610c42a4
mov eax, edi
shr eax, 8
jne 0x610c4b47
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x14], 0
lea esi, [edx*4 + 0x61149da0]
lea ebx, [esi + 0x12c]
mov dword [ecx + 0x1c], edx
mov edx, dword [0x61149da4]
mov dword [ecx + 0x10], 0
movzx ecx, byte [esp + 0x54]
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4acd
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da4], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x12c], eax
mov dword [eax + 0x18], ebx
mov dword [eax + 0xc], eax
mov dword [eax + 8], eax
jmp 0x610c3f85
mov cl, bl
shl esi, cl
not esi
and edi, esi
mov dword [0x61149da0], edi
jmp 0x610c40fc
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov eax, dword [edx + 0x14]
add ecx, 0x14
test eax, eax
je 0x610c4e89
mov esi, esi
mov esi, dword [eax + 0x14]
lea edx, [eax + 0x14]
test esi, esi
je 0x610c49a0
mov eax, dword [edx]
mov ecx, edx
jmp 0x610c4990
mov esi, dword [eax + 0x10]
lea edx, [eax + 0x10]
test esi, esi
jne 0x610c499a
cmp dword [esp + 0x24], ecx
ja 0x610c47b4
mov dword [ecx], 0
jmp 0x610c3eec
mov eax, dword [esp + 0x30]
shr eax, 8
jne 0x610c4c67
xor ecx, ecx
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esp + 0x2c]
mov dword [edi + 0x14], 0
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x10], 0
lea esi, [eax*4 + 0x61149da0]
lea ebx, [esi + 0x12c]
mov dword [edi + 0x1c], eax
mov edx, dword [0x61149da4]
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4beb
mov dword [esi + 0x12c], edi
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da4], edx
mov dword [edi + 0x18], ebx
mov dword [edi + 0xc], edi
mov dword [edi + 8], edi
jmp 0x610c43a1
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c3f24
mov eax, 0xfffffffe
rol eax, cl
and dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [0x61149da4], eax
jmp 0x610c3f67
mov dword [esp], 0
call sym._sbrk_1
cmp eax, 0xffffffff
mov esi, eax
je 0x610c401f
mov eax, dword [0x61149d88]
lea ebx, [eax + ebp + 0x29]
neg eax
and ebx, eax
mov eax, dword [0x61149d84]
lea edx, [eax - 1]
test esi, edx
je 0x610c4a8f
add eax, esi
not edx
and eax, edx
sub eax, esi
add ebx, eax
cmp ebx, 0x7ffffffe
ja 0x610c401f
mov dword [esp], ebx
call sym._sbrk_1
cmp eax, esi
mov edi, eax
jne 0x610c42cf
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x50], 0xffffffff
jne 0x610c4315
jmp 0x610c42cf
mov dword [ebx + 0x10], eax
jmp 0x610c3f20
cmp dword [esp + 0x54], 0x1f
mov ebx, edi
mov esi, dword [esi + 0x12c]
je 0x610c4b0a
shr dword [esp + 0x54], 1
mov ecx, 0x19
mov eax, dword [esp + 0x54]
sub ecx, eax
shl ebx, cl
jmp 0x610c4b0a
mov eax, ebx
shr eax, 0x1f
add ebx, ebx
lea edx, [esi + eax*4]
mov eax, dword [edx + 0x10]
lea ecx, [edx + 0x10]
test eax, eax
je 0x610c4cd8
mov esi, eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
cmp eax, edi
jne 0x610c4af0
cmp dword [esp + 0x24], esi
mov eax, dword [esi + 8]
ja 0x610c47b4
cmp dword [esp + 0x24], eax
ja 0x610c47b4
mov ebx, dword [esp + 0x58]
mov dword [eax + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], eax
mov dword [ebx + 0x18], 0
jmp 0x610c3f85
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x54], edx
ja 0x610c4901
bsr edx, eax
mov eax, edi
lea ecx, [edx + 7]
shr eax, cl
and eax, 1
lea edx, [eax + edx*2]
mov dword [esp + 0x54], edx
jmp 0x610c4901
mov eax, dword [esi + 8]
cmp eax, dword [esp + 0x24]
mov ebx, eax
jae 0x610c45a8
call sym.cygwin1.dll_abort
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
test eax, eax
je 0x610c4ea4
cmp dword [eax + 0x14], 0
lea edx, [eax + 0x14]
je 0x610c4ba5
mov eax, dword [edx]
mov ecx, edx
jmp 0x610c4b96
cmp dword [eax + 0x10], 0
lea edx, [eax + 0x10]
jne 0x610c4b9f
cmp dword [esp + 0x24], ecx
ja 0x610c47b4
mov dword [ecx], 0
jmp 0x610c44c2
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c44f6
mov eax, 0xfffffffe
rol eax, cl
and dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov dword [0x61149da4], ecx
jmp 0x610c4531
cmp dword [esp + 0x2c], 0x1f
mov ebx, dword [esi + 0x12c]
mov esi, dword [esp + 0x30]
je 0x610c4c2a
shr dword [esp + 0x2c], 1
mov ecx, 0x19
mov eax, dword [esp + 0x2c]
sub ecx, eax
shl esi, cl
jmp 0x610c4c2a
mov eax, esi
shr eax, 0x1f
add esi, esi
lea edx, [ebx + eax*4]
mov eax, dword [edx + 0x10]
lea ecx, [edx + 0x10]
test eax, eax
je 0x610c4e75
mov ebx, eax
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
cmp eax, dword [esp + 0x30]
jne 0x610c4c10
mov edx, dword [0x61149db0]
mov eax, dword [ebx + 8]
cmp edx, ebx
ja 0x610c47b4
cmp edx, eax
ja 0x610c47b4
mov dword [eax + 0xc], edi
mov dword [ebx + 8], edi
mov dword [edi + 0xc], ebx
mov dword [edi + 8], eax
mov dword [edi + 0x18], 0
jmp 0x610c43a1
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x2c], edx
ja 0x610c49d2
bsr edx, eax
mov eax, dword [esp + 0x30]
lea ecx, [edx + 7]
shr eax, cl
and eax, 1
lea edx, [eax + edx*2]
mov dword [esp + 0x2c], edx
jmp 0x610c49d2
mov eax, dword [esi + 8]
cmp eax, dword [0x61149db0]
mov ebx, eax
jae 0x610c4792
call sym.cygwin1.dll_abort
lea esi, [esi]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov dword [esp + 0x68], eax
cmp eax, ecx
jae 0x610c4814
call sym.cygwin1.dll_abort
lea esi, [esi]
mov dword [edi + 0x10], eax
jmp 0x610c44f2
cmp dword [esp + 0x24], ecx
ja 0x610c47b4
mov ecx, dword [esp + 0x58]
mov dword [edx + 0x10], ecx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0xc], ecx
mov dword [ecx + 8], ecx
jmp 0x610c3f85
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [edx]
add dword [edx + 4], ecx
mov dword [edx], eax
mov dword [esp + 0x44], eax
and eax, 7
je 0x610c4d1e
mov edx, dword [esp + 0x50]
neg eax
and eax, 7
add eax, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ebx
mov eax, ebx
and eax, 7
je 0x610c4d34
neg eax
and eax, 7
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
sub ebx, eax
add esi, ebp
sub ebx, ebp
mov dword [esp + 0x40], esi
or ebp, 3
cmp edi, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov dword [eax + 4], ebp
je 0x610c4f39
mov edx, dword [esp + 0x20]
cmp dword [0x61149db4], edx
je 0x610c4fdf
mov eax, dword [edx + 4]
test al, 2
jne 0x610c4dd2
mov edi, eax
and edi, 0xfffffffc
mov edx, edi
shr edx, 3
cmp edx, 0x1f
ja 0x610c500e
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, ebx
je 0x610c51d4
lea edx, [edx*8 + 0x61149dc4]
cmp edx, eax
je 0x610c4db5
cmp dword [0x61149db0], eax
ja 0x610c47b4
cmp edx, ebx
jne 0x610c51c3
mov dword [eax + 0xc], ebx
mov dword [ebx + 8], eax
add dword [esp + 0x20], edi
add dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
and eax, 0xfffffffe
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + ecx], ecx
shr ecx, 3
or eax, 1
mov dword [edx + 4], eax
cmp ecx, 0x1f
ja 0x610c4ecd
mov edx, dword [0x61149da0]
lea esi, [ecx*8 + 0x61149dc4]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c50cd
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da0], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 8], eax
mov dword [ebx + 0xc], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x44]
add eax, 8
jmp 0x610c3d28
mov eax, dword [edx]
cmp edi, eax
jb 0x610c4620
mov ecx, dword [edx + 4]
add eax, ecx
cmp edi, eax
jae 0x610c4620
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + ebx]
mov dword [edx + 4], eax
mov esi, dword [0x61149dac]
mov edx, edi
add ebx, esi
mov ecx, ebx
jmp 0x610c4397
cmp dword [0x61149db0], ecx
ja 0x610c47b4
mov dword [edx + 0x10], edi
jmp 0x610c4a20
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x10]
add ecx, 0x10
test eax, eax
jne 0x610c4990
jmp 0x610c3eec
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
test eax, eax
jne 0x610c4b96
jmp 0x610c44c2
mov dword [esp], esi
call sym._sbrk_1
inc eax
je 0x610c512f
add ebx, esi
jmp 0x610c4304
mov eax, dword [esp + 0x3c]
shr eax, 8
jne 0x610c50e3
xor edi, edi
mov eax, dword [esp + 0x40]
mov ecx, edi
lea esi, [edi*4 + 0x61149da0]
lea ebx, [esi + 0x12c]
mov dword [eax + 0x1c], edi
mov edx, dword [0x61149da4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4f63
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61149da4], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x12c], eax
mov dword [eax + 0x18], ebx
mov dword [eax + 0xc], eax
mov dword [eax + 8], eax
mov eax, dword [esp + 0x44]
jmp 0x610c4e3b
mov esi, dword [0x61149dac]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, esi
mov dword [0x61149dac], eax
or eax, 1
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [0x61149db8], edx
jmp 0x610c4e3b
cmp edi, 0x1f
mov ebx, dword [esi + 0x12c]
mov esi, dword [esp + 0x3c]
je 0x610c4f9a
shr edi, 1
mov ecx, 0x19
sub ecx, edi
shl esi, cl
jmp 0x610c4f9a
mov eax, esi
shr eax, 0x1f
add esi, esi
lea eax, [ebx + eax*4]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
test edx, edx
je 0x610c510a
mov ebx, edx
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
cmp eax, dword [esp + 0x3c]
jne 0x610c4f80
mov edx, dword [0x61149db0]
mov eax, dword [ebx + 8]
cmp edx, ebx
ja 0x610c47b4
cmp edx, eax
ja 0x610c47b4
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x18], 0
jmp 0x610c4e3b
mov ebx, dword [0x61149da8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add eax, ebx
mov edx, eax
or edx, 1
mov dword [0x61149da8], eax
mov dword [ecx + eax], eax
mov eax, dword [esp + 0x44]
mov dword [0x61149db4], ecx
mov dword [ecx + 4], edx
jmp 0x610c4e3b
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x18]
cmp eax, ebx
je 0x610c516f
mov edx, dword [ebx + 8]
cmp dword [0x61149db0], edx
ja 0x610c47b4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test esi, esi
je 0x610c4dc3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [edx + 0x1c]
lea edx, [ebx*4 + 0x61149da0]
cmp dword [edx + 0x12c], ecx
je 0x610c5146
cmp dword [0x61149db0], esi
ja 0x610c47b4
cmp dword [esi + 0x10], ecx
je 0x610c513e
mov dword [esi + 0x14], eax
test eax, eax
je 0x610c4dc3
mov ebx, dword [0x61149db0]
cmp ebx, eax
mov dword [esp + 0x24], ebx
ja 0x610c47b4
mov dword [eax + 0x18], esi
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x610c50a9
cmp ebx, edx
ja 0x610c47b4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x610c4dc3
cmp dword [esp + 0x24], edx
ja 0x610c47b4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
jmp 0x610c4dc3
mov eax, dword [esi + 8]
cmp eax, dword [0x61149db0]
mov ebx, eax
jae 0x610c4e27
call sym.cygwin1.dll_abort
cmp eax, 0xffff
mov edi, 0x1f
ja 0x610c4edc
bsr edx, eax
mov eax, dword [esp + 0x3c]
lea ecx, [edx + 7]
shr eax, cl
and eax, 1
lea edi, [eax + edx*2]
jmp 0x610c4edc
cmp dword [0x61149db0], ecx
ja 0x610c47b4
mov edx, dword [esp + 0x40]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x44]
mov dword [edx + 0x18], ebx
mov dword [edx + 0xc], edx
mov dword [edx + 8], edx
jmp 0x610c4e3b
neg ebx
mov dword [esp], ebx
call sym._sbrk_1
jmp 0x610c401f
mov dword [esi + 0x10], eax
jmp 0x610c5073
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c507b
mov cl, bl
mov ebx, dword [0x61149da4]
mov eax, 0xfffffffe
rol eax, cl
and eax, ebx
mov dword [0x61149da4], eax
jmp 0x610c4dc3
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
add ebx, 0x14
test eax, eax
je 0x610c51b2
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x14]
test ecx, ecx
je 0x610c5191
mov eax, dword [edx]
mov ebx, edx
jmp 0x610c5181
mov ebp, dword [eax + 0x10]
lea edx, [eax + 0x10]
test ebp, ebp
jne 0x610c518b
cmp dword [0x61149db0], ebx
ja 0x610c47b4
mov dword [ebx], 0
jmp 0x610c5035
mov eax, dword [edx + 0x10]
mov ebx, edx
add ebx, 0x10
test eax, eax
jne 0x610c5181
jmp 0x610c5035
cmp dword [0x61149db0], ebx
jbe 0x610c4dbd
call sym.cygwin1.dll_abort
mov eax, 0xfffffffe
mov cl, dl
rol eax, cl
and dword [0x61149da0], eax
jmp 0x610c4dc3