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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
cmp eax, 0xf4
ja 0x610c3940
cmp eax, 0xa
ja 0x610c3c80
mov edi, dword [0x61147f50]
mov ebp, 0x10
mov ebx, 2
mov eax, edi
shr eax, 2
test al, 3
je 0x610c3c9f
not eax
and eax, 1
add ebx, eax
lea esi, [ebx*8]
lea ecx, [esi + 0x61147f74]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
je 0x610c41de
cmp dword [0x61147f60], eax
ja 0x610c43c4
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 0x610c3990
mov edx, dword [0x61147f58]
mov ebp, 0xffffffff
cmp edx, 0xffffffff
jae 0x610c3da0
mov eax, dword [0x61147f5c]
cmp eax, 0xffffffff
jbe 0x610c3bcb
mov edx, dword [0x61147f68]
sub eax, ebp
mov dword [0x61147f5c], eax
or eax, 1
lea edi, [edx + ebp]
mov dword [0x61147f68], edi
mov dword [edi + 4], eax
or ebp, 3
mov dword [edx + 4], ebp
jmp 0x610c3935
mov ebx, dword [0x61147f54]
lea ebp, [eax + 0xb]
and ebp, 0xfffffff8
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x610c3bb0
mov edi, ebp
mov eax, ebp
xor esi, esi
mov dword [esp + 0x64], esi
neg edi
shr eax, 8
jne 0x610c3dfc
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x60]
mov ebx, dword [esi*4 + 0x6114807c]
test ebx, ebx
je 0x610c3a30
cmp dword [esp + 0x60], 0x1f
mov esi, ebp
je 0x610c39ea
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 0x610c39f4
add esi, esi
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, edi
jae 0x610c3a0a
mov dword [esp + 0x64], ebx
test eax, eax
mov edi, eax
je 0x610c3a30
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 0x610c3a28
mov dword [esp + 0x5c], ecx
test ebx, ebx
jne 0x610c39f2
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
or eax, ebx
jne 0x610c3a62
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 0x610c3a62
mov eax, edx
neg eax
and eax, edx
bsf eax, eax
mov ebx, dword [eax*4 + 0x6114807c]
test ebx, ebx
je 0x610c3a93
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, edi
jae 0x610c3a82
mov dword [esp + 0x64], ebx
mov edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x610c3e90
mov ebx, eax
test ebx, ebx
jne 0x610c3a70
mov eax, dword [esp + 0x64]
test eax, eax
je 0x610c3fdf
mov edx, dword [0x61147f58]
sub edx, ebp
cmp edx, edi
jbe 0x610c3fdf
mov ebx, dword [0x61147f60]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], ebx
cmp ebx, esi
ja 0x610c43c4
add esi, ebp
cmp dword [esp + 0x64], esi
mov dword [esp + 0x58], esi
jae 0x610c43c4
mov eax, dword [esp + 0x64]
mov edx, eax
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x610c4588
mov edx, dword [edx + 8]
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test ebx, ebx
je 0x610c3b77
mov esi, dword [esp + 0x64]
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*4 + 0x61147f50]
cmp dword [edx + 0x12c], esi
je 0x610c463e
cmp dword [esp + 0x24], ebx
ja 0x610c43c4
cmp dword [ebx + 0x10], esi
je 0x610c46d5
mov dword [ebx + 0x14], eax
test eax, eax
je 0x610c3b77
cmp dword [esp + 0x24], eax
ja 0x610c43c4
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x610c3b5c
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov ebx, dword [esp + 0x64]
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x610c3b77
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
cmp edi, 0xf
ja 0x610c4165
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 0x610c3938
lea esi, [esi]
lea edi, [edi]
mov edx, dword [0x61147f58]
cmp edx, ebp
jae 0x610c3da0
mov eax, dword [0x61147f5c]
cmp eax, ebp
ja 0x610c3967
xor eax, eax
mov dword [esp + 0x48], eax
call sym.init_mparams__
mov eax, dword [0x61148104]
test al, 1
je 0x610c3bf0
cmp dword [0x61147f3c], ebp
jbe 0x610c3e9a
nop
lea esi, [esi]
test al, 4
jne 0x610c3c3c
mov edx, dword [0x61147f68]
test edx, edx
jne 0x610c41cd
xor esi, esi
test esi, esi
je 0x610c4665
mov edi, dword [0x61147f5c]
mov edx, ebp
mov eax, dword [0x61147f38]
sub edx, edi
lea ebx, [edx + eax + 0x29]
neg eax
and ebx, eax
cmp ebx, 0x7ffffffe
jbe 0x610c3ebe
mov eax, dword [0x61148104]
or eax, 4
mov dword [0x61148104], eax
mov eax, dword [0x61147f38]
lea ebx, [ebp + eax + 0x29]
neg eax
and ebx, eax
cmp ebx, ebp
ja 0x610c3fe6
mov eax, dword [0x61147f38]
lea edx, [eax + ebp + 0x29]
neg eax
and edx, eax
cmp edx, 0x7ffffffe
jbe 0x610c403c
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 [0x61147f50]
and ebp, 0xfffffff8
mov ebx, ebp
shr ebx, 3
mov eax, edi
mov cl, bl
shr eax, cl
test al, 3
jne 0x610c38f4
mov edx, dword [0x61147f58]
cmp edx, ebp
jae 0x610c3da0
test eax, eax
je 0x610c3e29
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 + 0x61147f74]
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [eax + 8]
cmp ecx, eax
je 0x610c4575
cmp dword [0x61147f60], eax
ja 0x610c43c4
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 [0x61147f58]
mov dword [esp + 0x74], ebp
test eax, eax
je 0x610c3d7d
mov ebx, dword [0x61147f50]
mov ecx, eax
shr ecx, 3
lea edx, [ecx*8 + 0x61147f74]
mov ebp, dword [0x61147f64]
mov eax, ebx
shr eax, cl
mov edi, edx
test al, 1
jne 0x610c43b3
mov eax, 1
shl eax, cl
or ebx, eax
mov dword [0x61147f50], ebx
mov dword [edx + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
mov dword [0x61147f58], esi
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add eax, 8
mov dword [0x61147f64], esi
jmp 0x610c3938
mov ecx, edx
mov ebx, dword [0x61147f64]
sub ecx, ebp
cmp ecx, 0xf
jbe 0x610c3dda
mov dword [0x61147f58], ecx
mov eax, ecx
lea edx, [ebx + ebp]
mov dword [0x61147f64], 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 [0x61147f58], esi
xor ecx, ecx
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
or dword [ebx + edx + 4], 1
mov dword [0x61147f64], ecx
jmp 0x610c3dd2
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x60], edx
ja 0x610c39c3
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 0x610c39c3
mov ebx, dword [0x61147f54]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x610c3bb6
mov eax, ebx
neg eax
and eax, ebx
bsf eax, eax
mov ebx, dword [eax*4 + 0x6114807c]
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 0x610c3e8b
mov edx, dword [ecx + 0x14]
test edx, edx
mov ecx, edx
je 0x610c4091
mov eax, dword [edx + 4]
and eax, 0xfffffffc
sub eax, ebp
cmp eax, esi
jae 0x610c3e60
mov ebx, edx
mov edx, dword [ecx + 0x10]
mov esi, eax
test edx, edx
je 0x610c3e67
mov ecx, edx
jmp 0x610c3e74
mov eax, dword [ebx + 0x14]
mov ebx, eax
jmp 0x610c3a8f
mov eax, dword [0x61147f38]
mov edi, 0x61147f50
lea ebx, [eax + ebp + 0x1f]
neg eax
and ebx, eax
cmp ebx, ebp
ja 0x610c4452
mov eax, dword [0x61148104]
jmp 0x610c3bf0
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 0x610c46c5
cmp edi, 0xffffffff
je 0x610c3c2f
cmp ebx, 0x7ffffffe
ja 0x610c3f14
lea eax, [ebp + 0x29]
cmp eax, ebx
jbe 0x610c3f14
mov eax, dword [0x61147f38]
mov edx, ebp
sub edx, ebx
lea esi, [edx + eax + 0x29]
neg eax
and esi, eax
cmp esi, 0x7ffffffe
jbe 0x610c4ac7
cmp edi, 0xffffffff
je 0x610c3c2f
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov ecx, dword [0x611480fc]
mov eax, dword [esp + 0x4c]
add eax, ecx
cmp eax, dword [0x61148100]
mov dword [0x611480fc], eax
jbe 0x610c3f43
mov dword [0x61148100], eax
mov edi, dword [0x61147f68]
test edi, edi
jne 0x610c41f4
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [0x6114810c], eax
mov eax, dword [0x61147f30]
mov dword [0x61148114], edx
mov edx, 0x1f
mov dword [0x61147f70], eax
mov eax, 0x61147f74
mov dword [0x61147f60], esi
mov dword [0x61148108], esi
nop
lea esi, [esi]
mov dword [eax + 0xc], eax
mov dword [eax + 8], eax
add eax, 8
dec edx
jns 0x610c3f90
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub ecx, 0x28
mov eax, 0x61147f50
call sym.init_top_malloc_state__malloc_chunk__unsigned_int_
mov eax, dword [0x61147f5c]
cmp eax, ebp
jbe 0x610c3c6a
mov edx, dword [0x61147f68]
sub eax, ebp
mov dword [0x61147f5c], eax
or eax, 1
lea ecx, [edx + ebp]
mov dword [0x61147f68], ecx
mov dword [ecx + 4], eax
jmp 0x610c3983
xor eax, eax
jmp 0x610c3b9c
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 0x610c3c51
mov dword [esp + 0x50], eax
mov edi, 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
jmp 0x610c3f25
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 0x610c3c6a
cmp ebx, ecx
jae 0x610c3c6a
sub ecx, ebx
lea eax, [ebp + 0x28]
cmp eax, ecx
jae 0x610c3c6a
mov dword [esp + 0x50], ebx
inc ebx
mov dword [esp + 0x4c], ecx
jne 0x610c3f25
jmp 0x610c3c6a
mov eax, dword [0x61147f60]
cmp eax, ebx
mov dword [esp + 0x24], eax
ja 0x610c43c4
lea edx, [ebx + ebp]
cmp ebx, edx
mov dword [esp + 0x70], edx
jae 0x610c43c4
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x18]
cmp eax, ebx
je 0x610c4798
mov edx, dword [ebx + 8]
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test edi, edi
je 0x610c4141
mov ecx, dword [ebx + 0x1c]
lea edx, [ecx*4 + 0x61147f50]
cmp dword [edx + 0x12c], ebx
je 0x610c47d3
cmp dword [esp + 0x24], edi
ja 0x610c43c4
cmp dword [edi + 0x10], ebx
je 0x610c48e0
mov dword [edi + 0x14], eax
test eax, eax
je 0x610c4141
cmp dword [esp + 0x24], eax
ja 0x610c43c4
mov dword [eax + 0x18], edi
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x610c412a
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x610c4141
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
cmp esi, 0xf
ja 0x610c43c9
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 0x610c3b9e
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 0x610c4500
mov edx, dword [0x61147f50]
lea esi, [ecx*8 + 0x61147f74]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4784
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f50], 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 0x610c3b95
mov eax, 0x61147f50
call sym.segment_holding_malloc_state__char_
mov esi, eax
jmp 0x610c3c04
mov eax, 0xfffffffe
mov cl, bl
rol eax, cl
and edi, eax
mov dword [0x61147f50], edi
jmp 0x610c3928
mov eax, dword [0x6114810c]
mov edx, 0x61148108
mov esi, dword [0x61148108]
add eax, esi
jmp 0x610c4216
mov edx, dword [edx + 8]
test edx, edx
je 0x610c4230
mov eax, dword [edx + 4]
mov ebx, dword [edx]
add eax, ebx
cmp eax, dword [esp + 0x50]
jne 0x610c4208
mov eax, dword [edx + 0xc]
test al, 8
jne 0x610c4230
and eax, 1
cmp eax, dword [esp + 0x48]
je 0x610c4a53
mov ecx, dword [esp + 0x50]
cmp dword [0x61147f60], ecx
jbe 0x610c4242
mov dword [0x61147f60], ecx
mov eax, dword [esp + 0x50]
mov edx, 0x61148108
mov ecx, dword [esp + 0x4c]
add eax, ecx
cmp dword [0x61148108], eax
jmp 0x610c4262
mov edx, dword [edx + 8]
test edx, edx
je 0x610c4278
cmp dword [edx], eax
jne 0x610c4259
mov eax, dword [edx + 0xc]
test al, 8
jne 0x610c4278
and eax, 1
cmp eax, dword [esp + 0x48]
je 0x610c4907
mov edx, edi
mov eax, 0x61147f50
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 0x610c42a7
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 0x610c42b9
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x4c]
mov eax, 0x61147f50
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 [0x61148108]
mov dword [edx + 8], eax
mov eax, dword [0x6114810c]
mov edx, dword [esp + 0x48]
mov dword [ebx + 4], eax
mov eax, dword [0x61148110]
mov dword [ebx + 8], eax
mov eax, dword [0x61148114]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [0x61148108], ecx
mov dword [0x61148114], edx
mov dword [0x6114810c], eax
mov dword [0x61148110], ebx
jmp 0x610c4332
mov esi, edx
mov dword [esi + 4], 7
lea eax, [esi + 8]
lea edx, [esi + 4]
cmp eax, dword [esp + 0x38]
jb 0x610c4330
cmp dword [esp + 0x34], edi
je 0x610c3fb1
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 0x610c45cf
mov edx, dword [0x61147f50]
lea esi, [ecx*8 + 0x61147f74]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c48a6
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f50], edx
mov dword [esi + 8], edi
mov dword [ebx + 0xc], edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
jmp 0x610c3fb1
mov eax, dword [edx + 8]
cmp eax, dword [0x61147f60]
mov edi, eax
jae 0x610c3d71
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 [0x61147f58]
test eax, eax
je 0x610c4438
mov ecx, eax
mov edx, dword [0x61147f50]
shr ecx, 3
lea eax, [ecx*8 + 0x61147f74]
mov edi, dword [0x61147f64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c48c0
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f50], 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 [0x61147f58], esi
mov esi, dword [esp + 0x70]
mov eax, ebx
add eax, 8
mov dword [0x61147f64], esi
jmp 0x610c3b9e
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 0x610c3eb4
mov edx, esi
xor eax, eax
and edx, 7
je 0x610c44a4
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 [0x61147f60], esi
mov dword [ecx + edx + 8], eax
jbe 0x610c44d5
mov dword [edi + 0x10], esi
mov eax, dword [0x611480fc]
add eax, ebx
cmp eax, dword [0x61148100]
mov dword [edi + 0x1ac], eax
jbe 0x610c44f0
mov dword [edi + 0x1b0], eax
mov eax, ecx
add eax, 8
jne 0x610c3938
jmp 0x610c3eb4
mov eax, edi
shr eax, 8
jne 0x610c4757
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 + 0x61147f50]
lea ebx, [esi + 0x12c]
mov dword [ecx + 0x1c], edx
mov edx, dword [0x61147f54]
mov dword [ecx + 0x10], 0
movzx ecx, byte [esp + 0x54]
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c46dd
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f54], 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 0x610c3b95
mov cl, bl
shl esi, cl
not esi
and edi, esi
mov dword [0x61147f50], edi
jmp 0x610c3d0c
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov eax, dword [edx + 0x14]
add ecx, 0x14
test eax, eax
je 0x610c4a99
mov esi, esi
mov esi, dword [eax + 0x14]
lea edx, [eax + 0x14]
test esi, esi
je 0x610c45b0
mov eax, dword [edx]
mov ecx, edx
jmp 0x610c45a0
mov esi, dword [eax + 0x10]
lea edx, [eax + 0x10]
test esi, esi
jne 0x610c45aa
cmp dword [esp + 0x24], ecx
ja 0x610c43c4
mov dword [ecx], 0
jmp 0x610c3afc
mov eax, dword [esp + 0x30]
shr eax, 8
jne 0x610c4877
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 + 0x61147f50]
lea ebx, [esi + 0x12c]
mov dword [edi + 0x1c], eax
mov edx, dword [0x61147f54]
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c47fb
mov dword [esi + 0x12c], edi
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f54], edx
mov dword [edi + 0x18], ebx
mov dword [edi + 0xc], edi
mov dword [edi + 8], edi
jmp 0x610c3fb1
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c3b34
mov eax, 0xfffffffe
rol eax, cl
and dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [0x61147f54], eax
jmp 0x610c3b77
mov dword [esp], 0
call sym._sbrk_1
cmp eax, 0xffffffff
mov esi, eax
je 0x610c3c2f
mov eax, dword [0x61147f38]
lea ebx, [eax + ebp + 0x29]
neg eax
and ebx, eax
mov eax, dword [0x61147f34]
lea edx, [eax - 1]
test esi, edx
je 0x610c469f
add eax, esi
not edx
and eax, edx
sub eax, esi
add ebx, eax
cmp ebx, 0x7ffffffe
ja 0x610c3c2f
mov dword [esp], ebx
call sym._sbrk_1
cmp eax, esi
mov edi, eax
jne 0x610c3edf
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x50], 0xffffffff
jne 0x610c3f25
jmp 0x610c3edf
mov dword [ebx + 0x10], eax
jmp 0x610c3b30
cmp dword [esp + 0x54], 0x1f
mov ebx, edi
mov esi, dword [esi + 0x12c]
je 0x610c471a
shr dword [esp + 0x54], 1
mov ecx, 0x19
mov eax, dword [esp + 0x54]
sub ecx, eax
shl ebx, cl
jmp 0x610c471a
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 0x610c48e8
mov esi, eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
cmp eax, edi
jne 0x610c4700
cmp dword [esp + 0x24], esi
mov eax, dword [esi + 8]
ja 0x610c43c4
cmp dword [esp + 0x24], eax
ja 0x610c43c4
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 0x610c3b95
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x54], edx
ja 0x610c4511
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 0x610c4511
mov eax, dword [esi + 8]
cmp eax, dword [esp + 0x24]
mov ebx, eax
jae 0x610c41b8
call sym.cygwin1.dll_abort
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
test eax, eax
je 0x610c4ab4
cmp dword [eax + 0x14], 0
lea edx, [eax + 0x14]
je 0x610c47b5
mov eax, dword [edx]
mov ecx, edx
jmp 0x610c47a6
cmp dword [eax + 0x10], 0
lea edx, [eax + 0x10]
jne 0x610c47af
cmp dword [esp + 0x24], ecx
ja 0x610c43c4
mov dword [ecx], 0
jmp 0x610c40d2
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c4106
mov eax, 0xfffffffe
rol eax, cl
and dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov dword [0x61147f54], ecx
jmp 0x610c4141
cmp dword [esp + 0x2c], 0x1f
mov ebx, dword [esi + 0x12c]
mov esi, dword [esp + 0x30]
je 0x610c483a
shr dword [esp + 0x2c], 1
mov ecx, 0x19
mov eax, dword [esp + 0x2c]
sub ecx, eax
shl esi, cl
jmp 0x610c483a
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 0x610c4a85
mov ebx, eax
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
cmp eax, dword [esp + 0x30]
jne 0x610c4820
mov edx, dword [0x61147f60]
mov eax, dword [ebx + 8]
cmp edx, ebx
ja 0x610c43c4
cmp edx, eax
ja 0x610c43c4
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 0x610c3fb1
mov edx, 0x1f
cmp eax, 0xffff
mov dword [esp + 0x2c], edx
ja 0x610c45e2
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 0x610c45e2
mov eax, dword [esi + 8]
cmp eax, dword [0x61147f60]
mov ebx, eax
jae 0x610c43a2
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 0x610c4424
call sym.cygwin1.dll_abort
lea esi, [esi]
mov dword [edi + 0x10], eax
jmp 0x610c4102
cmp dword [esp + 0x24], ecx
ja 0x610c43c4
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 0x610c3b95
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 0x610c492e
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 0x610c4944
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 0x610c4b49
mov edx, dword [esp + 0x20]
cmp dword [0x61147f64], edx
je 0x610c4bef
mov eax, dword [edx + 4]
test al, 2
jne 0x610c49e2
mov edi, eax
and edi, 0xfffffffc
mov edx, edi
shr edx, 3
cmp edx, 0x1f
ja 0x610c4c1e
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, ebx
je 0x610c4de4
lea edx, [edx*8 + 0x61147f74]
cmp edx, eax
je 0x610c49c5
cmp dword [0x61147f60], eax
ja 0x610c43c4
cmp edx, ebx
jne 0x610c4dd3
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 0x610c4add
mov edx, dword [0x61147f50]
lea esi, [ecx*8 + 0x61147f74]
mov ebx, esi
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4cdd
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f50], 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 0x610c3938
mov eax, dword [edx]
cmp edi, eax
jb 0x610c4230
mov ecx, dword [edx + 4]
add eax, ecx
cmp edi, eax
jae 0x610c4230
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + ebx]
mov dword [edx + 4], eax
mov esi, dword [0x61147f5c]
mov edx, edi
add ebx, esi
mov ecx, ebx
jmp 0x610c3fa7
cmp dword [0x61147f60], ecx
ja 0x610c43c4
mov dword [edx + 0x10], edi
jmp 0x610c4630
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x10]
add ecx, 0x10
test eax, eax
jne 0x610c45a0
jmp 0x610c3afc
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
test eax, eax
jne 0x610c47a6
jmp 0x610c40d2
mov dword [esp], esi
call sym._sbrk_1
inc eax
je 0x610c4d3f
add ebx, esi
jmp 0x610c3f14
mov eax, dword [esp + 0x3c]
shr eax, 8
jne 0x610c4cf3
xor edi, edi
mov eax, dword [esp + 0x40]
mov ecx, edi
lea esi, [edi*4 + 0x61147f50]
lea ebx, [esi + 0x12c]
mov dword [eax + 0x1c], edi
mov edx, dword [0x61147f54]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov eax, edx
shr eax, cl
test al, 1
jne 0x610c4b73
mov eax, 1
shl eax, cl
or edx, eax
mov dword [0x61147f54], 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 0x610c4a4b
mov esi, dword [0x61147f5c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, esi
mov dword [0x61147f5c], eax
or eax, 1
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [0x61147f68], edx
jmp 0x610c4a4b
cmp edi, 0x1f
mov ebx, dword [esi + 0x12c]
mov esi, dword [esp + 0x3c]
je 0x610c4baa
shr edi, 1
mov ecx, 0x19
sub ecx, edi
shl esi, cl
jmp 0x610c4baa
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 0x610c4d1a
mov ebx, edx
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
cmp eax, dword [esp + 0x3c]
jne 0x610c4b90
mov edx, dword [0x61147f60]
mov eax, dword [ebx + 8]
cmp edx, ebx
ja 0x610c43c4
cmp edx, eax
ja 0x610c43c4
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 0x610c4a4b
mov ebx, dword [0x61147f58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add eax, ebx
mov edx, eax
or edx, 1
mov dword [0x61147f58], eax
mov dword [ecx + eax], eax
mov eax, dword [esp + 0x44]
mov dword [0x61147f64], ecx
mov dword [ecx + 4], edx
jmp 0x610c4a4b
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x18]
cmp eax, ebx
je 0x610c4d7f
mov edx, dword [ebx + 8]
cmp dword [0x61147f60], edx
ja 0x610c43c4
mov dword [edx + 0xc], eax
mov dword [eax + 8], edx
test esi, esi
je 0x610c49d3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [edx + 0x1c]
lea edx, [ebx*4 + 0x61147f50]
cmp dword [edx + 0x12c], ecx
je 0x610c4d56
cmp dword [0x61147f60], esi
ja 0x610c43c4
cmp dword [esi + 0x10], ecx
je 0x610c4d4e
mov dword [esi + 0x14], eax
test eax, eax
je 0x610c49d3
mov ebx, dword [0x61147f60]
cmp ebx, eax
mov dword [esp + 0x24], ebx
ja 0x610c43c4
mov dword [eax + 0x18], esi
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x610c4cb9
cmp ebx, edx
ja 0x610c43c4
mov dword [eax + 0x10], edx
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x610c49d3
cmp dword [esp + 0x24], edx
ja 0x610c43c4
mov dword [eax + 0x14], edx
mov dword [edx + 0x18], eax
jmp 0x610c49d3
mov eax, dword [esi + 8]
cmp eax, dword [0x61147f60]
mov ebx, eax
jae 0x610c4a37
call sym.cygwin1.dll_abort
cmp eax, 0xffff
mov edi, 0x1f
ja 0x610c4aec
bsr edx, eax
mov eax, dword [esp + 0x3c]
lea ecx, [edx + 7]
shr eax, cl
and eax, 1
lea edi, [eax + edx*2]
jmp 0x610c4aec
cmp dword [0x61147f60], ecx
ja 0x610c43c4
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 0x610c4a4b
neg ebx
mov dword [esp], ebx
call sym._sbrk_1
jmp 0x610c3c2f
mov dword [esi + 0x10], eax
jmp 0x610c4c83
mov dword [edx + 0x12c], eax
test eax, eax
jne 0x610c4c8b
mov cl, bl
mov ebx, dword [0x61147f54]
mov eax, 0xfffffffe
rol eax, cl
and eax, ebx
mov dword [0x61147f54], eax
jmp 0x610c49d3
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
add ebx, 0x14
test eax, eax
je 0x610c4dc2
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x14]
test ecx, ecx
je 0x610c4da1
mov eax, dword [edx]
mov ebx, edx
jmp 0x610c4d91
mov ebp, dword [eax + 0x10]
lea edx, [eax + 0x10]
test ebp, ebp
jne 0x610c4d9b
cmp dword [0x61147f60], ebx
ja 0x610c43c4
mov dword [ebx], 0
jmp 0x610c4c45
mov eax, dword [edx + 0x10]
mov ebx, edx
add ebx, 0x10
test eax, eax
jne 0x610c4d91
jmp 0x610c4c45
cmp dword [0x61147f60], ebx
jbe 0x610c49cd
call sym.cygwin1.dll_abort
mov eax, 0xfffffffe
mov cl, dl
rol eax, cl
and dword [0x61147f50], eax
jmp 0x610c49d3