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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov ebx, eax
mov eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x46a09f
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov dword [esp + 0x24], eax
sub eax, esi
sar eax, 3
cmp eax, ebp
jae 0x46a0c0
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffffff
mov eax, dword [eax]
sub esi, eax
sar esi, 3
sub ecx, esi
mov edx, esi
cmp ebp, ecx
ja 0x46a3c7
cmp ebp, esi
mov ebx, dword [esp + 0x20]
cmovae esi, ebp
add esi, edx
setb dl
sub ebx, eax
movzx edx, dl
test edx, edx
jne 0x46a1c0
test esi, esi
jne 0x46a3b0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
add ebx, dword [esp + 0x24]
mov edx, ebp
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
test eax, eax
je 0x469f83
lock add dword [eax + 4], 1
add ebx, 8
sub edx, 1
jne 0x469f70
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x20]
cmp ebx, eax
je 0x46a3a0
sub eax, ebx
mov edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x24]
add ecx, eax
lea esi, [esi]
mov esi, dword [edx]
mov dword [eax + 4], 0
add eax, 8
add edx, 8
mov dword [edx - 8], 0
mov dword [eax - 8], esi
mov esi, dword [edx - 4]
mov dword [edx - 4], 0
mov dword [eax - 4], esi
cmp eax, ecx
jne 0x469fb0
mov eax, dword [esp + 0x1c]
lea edx, [ecx + ebp*8]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x20]
cmp esi, eax
je 0x46a390
mov edi, esi
sub edi, eax
add edi, edx
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [eax]
add edx, 8
mov dword [eax], 0
add eax, 8
mov dword [edx - 8], ecx
mov ecx, dword [eax - 4]
mov dword [eax - 4], 0
mov dword [edx - 4], ecx
cmp edx, edi
jne 0x46a000
cmp ebx, esi
jne 0x46a037
jmp 0x46a06e
add ebx, 8
cmp esi, ebx
je 0x46a068
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x46a030
lock sub dword [ebp + 4], 1
jne 0x46a030
mov eax, dword [ebp]
mov dword [esp], ebp
call dword [eax + 8]
lock sub dword [ebp + 8], 1
jne 0x46a030
mov eax, dword [ebp]
add ebx, 8
mov dword [esp], ebp
call dword [eax + 0xc]
cmp esi, ebx
jne 0x46a037
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
test esi, esi
je 0x46a08b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp], esi
mov dword [esp + 0x20], eax
sub eax, esi
mov dword [esp + 4], eax
call sub.cygstdc_6.dll_operator_delete_void__unsigned_int_
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 8], edi
mov eax, dword [esp + 0x3c]
sub eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
jne 0x46a3c2
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x24], eax
test edi, edi
je 0x46a0d5
lock add dword [edi + 4], 1
mov esi, dword [ecx + 4]
mov ecx, esi
sub ecx, dword [esp + 0x20]
mov eax, ecx
sar eax, 3
cmp ebp, eax
jae 0x46a1e0
lea eax, [ebp*8]
mov ebp, esi
sub ebp, eax
mov dword [esp + 0x28], eax
lea ecx, [esi + eax]
mov eax, esi
mov edx, ebp
cmp ebp, esi
je 0x46a13e
mov dword [esp + 0x2c], ebx
lea esi, [esi]
lea esi, [esi]
mov ebx, dword [edx]
mov dword [eax + 4], 0
add eax, 8
add edx, 8
mov dword [edx - 8], 0
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [edx - 4], 0
mov dword [eax - 4], ebx
cmp eax, ecx
jne 0x46a110
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, ebp
sub eax, dword [esp + 0x20]
mov edx, eax
sar edx, 3
test eax, eax
jle 0x46a328
mov dword [esp + 0x1c], ebx
mov ebx, edx
mov dword [esp + 0x2c], edi
jmp 0x46a171
sub ebx, 1
je 0x46a320
sub esi, 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
sub ebp, 8
mov dword [ebp], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
test edi, edi
je 0x46a168
lock sub dword [edi + 4], 1
jne 0x46a168
mov ecx, dword [edi]
mov dword [esp], edi
call dword [ecx + 8]
lock sub dword [edi + 8], 1
jne 0x46a168
mov ecx, dword [edi]
mov dword [esp], edi
call dword [ecx + 0xc]
jmp 0x46a168
mov esi, 0x7ffffff8
mov dword [esp], esi
call sub.cygwin1.dll___wrap__Znwj
add esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
jmp 0x469f6a
sub ebp, eax
je 0x46a3a9
mov dword [esp + 0x28], ebp
mov edx, ebp
mov ebp, dword [esp + 0x24]
mov eax, esi
lea esi, [esi]
mov dword [eax], ebp
mov dword [eax + 4], edi
test edi, edi
je 0x46a206
lock add dword [edi + 4], 1
add eax, 8
sub edx, 1
jne 0x46a1f8
mov ebp, dword [esp + 0x28]
lea eax, [esi + ebp*8]
lea ebp, [eax + ecx]
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x46a2c1
mov edx, ecx
mov dword [esp + 0x20], ebx
mov ecx, esi
sub ecx, edx
add ecx, eax
mov ebx, dword [edx]
mov dword [eax + 4], 0
add eax, 8
add edx, 8
mov dword [edx - 8], 0
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [edx - 4], 0
mov dword [eax - 4], ebx
cmp eax, ecx
jne 0x46a230
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [eax + 4], ebp
mov eax, esi
mov esi, dword [esp + 0x24]
jmp 0x46a27a
mov dword [ebx + 4], edi
add ebx, 8
cmp eax, ebx
je 0x46a2d0
mov ebp, dword [ebx + 4]
mov dword [ebx], esi
cmp edi, ebp
je 0x46a273
test edi, edi
je 0x46a28f
lock add dword [edi + 4], 1
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x46a270
lock sub dword [ebp + 4], 1
jne 0x46a270
mov edx, dword [ebp]
mov dword [esp + 0x1c], eax
mov dword [esp], ebp
call dword [edx + 8]
lock sub dword [ebp + 8], 1
mov eax, dword [esp + 0x1c]
jne 0x46a270
mov edx, dword [ebp]
mov dword [esp], ebp
call dword [edx + 0xc]
mov eax, dword [esp + 0x1c]
jmp 0x46a270
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ebp
lea esi, [esi]
nop
test edi, edi
je 0x46a09f
lock sub dword [edi + 4], 1
jne 0x46a09f
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
lock sub dword [edi + 8], 1
jne 0x46a09f
mov eax, dword [esp + 0x3c]
sub eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
jne 0x46a3c2
mov eax, dword [edi]
mov dword [esp + 0x60], edi
mov eax, dword [eax + 0xc]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add ebp, eax
cmp ebp, eax
je 0x46a2d0
mov eax, dword [esp + 0x24]
jmp 0x46a34a
mov dword [ebx + 4], edi
add ebx, 8
cmp ebp, ebx
je 0x46a2d0
mov esi, dword [ebx + 4]
mov dword [ebx], eax
cmp edi, esi
je 0x46a343
test edi, edi
je 0x46a35f
lock add dword [edi + 4], 1
mov esi, dword [ebx + 4]
test esi, esi
je 0x46a340
lock sub dword [esi + 4], 1
jne 0x46a340
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp], esi
call dword [edx + 8]
lock sub dword [esi + 8], 1
mov eax, dword [esp + 0x1c]
jne 0x46a340
mov edx, dword [esi]
mov dword [esp], esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x1c]
jmp 0x46a340
mov edi, edx
jmp 0x46a022
mov ecx, dword [esp + 0x24]
jmp 0x469fda
mov eax, esi
jmp 0x46a215
mov eax, 0xfffffff
cmp esi, eax
cmova esi, eax
shl esi, 3
jmp 0x46a1c5
call sub.cygwin1.dll___stack_chk_fail
mov dword [esp], 0x47950a
call fcn.00450ff0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop