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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov dword [esp + 0x24], ecx
mov ecx, dword [edx]
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x59c6d0
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], edx
mov edi, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], edx
lea eax, [ecx + 0x10c]
mov dword [esp + 0x14], ecx
movzx ecx, word [ecx + 0x192]
xor esi, esi
dec esi
mov dword [esp + 0x18], ecx
lea ecx, [ecx*4]
lea ebx, [ecx + ecx*2]
test ebx, ebx
je 0x59c66a
lea ecx, [eax + 0xc]
mov edx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 8]
mov edi, edx
sub edi, ecx
cmovb ecx, edx
push ecx
push dword [eax]
push dword [esp + 0xc]
call fcn.0064aeea
add esp, 0xc
test eax, eax
cmovne edi, eax
xor ecx, ecx
mov eax, 0xff
test edi, edi
setne cl
cmovs ecx, eax
mov eax, dword [esp + 8]
inc esi
add ebx, 0xfffffff4
cmp cl, 1
je 0x59c618
movzx eax, cl
test eax, eax
jne 0x59c66e
jmp 0x59c68f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, 1
jb 0x59c821
mov ecx, dword [ecx + esi*4 + 0x198]
mov dword [esp + 0x10], eax
jmp 0x59c5f6
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp dword [ecx + 4], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], 0
je 0x59c736
push dword [esp + 4]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x59c6ed
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov dword [esp + 0x30], eax
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0
cmp dword [esp + 0x28], 0
je 0x59c72e
mov esi, dword [esp + 0x38]
test esi, esi
je 0x59c783
cmp word [esi + 0x192], 0xb
jae 0x59c7e9
lea edx, [esp + 0x38]
lea eax, [esp + 0x28]
lea ecx, [esp + 0xc0]
push dword [ebp + 0xc]
push eax
call fcn.0059d1cb
add esp, 8
jmp 0x59cebd
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x24]
mov esi, dword [ebp + 0xc]
movsd xmm0, qword [edx + eax*8 + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [edx + eax*8]
movsd xmm1, qword [edx + eax*8 + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [edx + eax*8], xmm0
movsd qword [edx + eax*8 + 8], xmm1
movsd xmm0, qword [esi + 0x10]
movsd qword [edx + eax*8 + 0x10], xmm0
jmp 0x59cecb
mov esi, dword [esp + 0x34]
call fcn.0059cf2d
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [esp + 0x28]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov dword [eax + 0x108], ecx
mov word [eax + 0x192], 1
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x10c], xmm0
mov dword [eax + 0x114], edx
movsd xmm0, qword [edi]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 8], 1
jmp 0x59cec8
mov eax, dword [esp + 0x40]
mov edi, 4
cmp eax, 5
jae 0x59c7ff
mov cl, 1
mov dword [esp + 4], eax
jmp 0x59c85a
je 0x59c852
cmp eax, 6
jne 0x59ce88
mov edi, 5
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
jmp 0x59c85e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
jmp 0x59c6ed
mov cl, 1
mov dword [esp + 4], eax
mov edi, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.0059cf2d
mov dword [eax + 0x108], 0
mov word [eax + 0x192], 0
mov ecx, edi
not edi
mov dword [esp + 0x14], eax
movzx ebx, word [esi + 0x192]
mov dword [esp + 8], ecx
lea ecx, [ecx + ecx*2]
add edi, ebx
mov word [eax + 0x192], di
cmp edi, 0xc
mov edx, dword [esi + ecx*4 + 0x114]
mov dword [esp + 0xa0], edx
movsd xmm0, qword [esi + ecx*4 + 0x10c]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esi + ecx*8 + 0x10]
mov al, byte [esi + ecx*8]
movsd qword [esp + 0xcf], xmm0
movsd xmm0, qword [esi + ecx*8 + 9]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [esi + ecx*8 + 1]
movsd qword [esp + 0xc0], xmm0
jae 0x59cee4
mov ecx, dword [esp + 8]
mov byte [esp + 0x18], al
inc ecx
sub ebx, ecx
cmp ebx, edi
jne 0x59ced3
mov edx, dword [esp + 0x14]
lea ebx, [ecx + ecx*2]
lea eax, [esi + 0x10c]
lea ecx, [edi*4]
lea eax, [eax + ebx*4]
lea ecx, [ecx + ecx*2]
add edx, 0x10c
push ecx
push eax
push edx
call fcn.0064a810
add esp, 0xc
shl edi, 3
lea eax, [esi + ebx*8]
lea ecx, [edi + edi*2]
push ecx
push eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.0064a810
add esp, 0xc
mov eax, dword [esp + 8]
lea ecx, [esp + 0x98]
cmp byte [esp + 0x10], 0
lea edx, [esp + 0xc0]
mov word [esi + 0x192], ax
mov eax, dword [ecx + 8]
movsd xmm1, qword [edx]
movsd xmm0, qword [edx + 0xf]
movsd xmm2, qword [edx + 8]
movsd xmm3, qword [ecx]
mov dword [esp + 0x88], eax
mov eax, edi
movsd qword [esp + 0x57], xmm0
movsd qword [esp + 0x80], xmm3
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x48], xmm1
cmovne eax, esi
mov dword [edx], eax
mov eax, 0
cmovne eax, dword [esp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esp + 4]
mov dword [edx + 8], eax
lea eax, [esp + 0x28]
push dword [ebp + 0xc]
push eax
call fcn.0059d1cb
add esp, 8
mov al, byte [esp + 0x18]
cmp al, 6
je 0x59cebd
movsd xmm1, qword [esp + 0x88]
movsd xmm0, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x48]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x98], xmm0
mov byte [esp + 0xa8], al
movsd qword [esp + 0xa9], xmm2
movsd qword [esp + 0xb1], xmm1
movsd xmm1, qword [esp + 0x57]
movsd qword [esp + 0xb8], xmm1
mov eax, dword [esi + 0x108]
test eax, eax
je 0x59cdd8
mov edx, dword [esp + 0xc]
mov dword [esp + 4], esi
xor esi, esi
cmp edx, esi
jne 0x59cef2
mov ecx, eax
mov eax, dword [esp + 4]
mov ebx, edx
movzx esi, word [ecx + 0x192]
movzx eax, word [eax + 0x190]
cmp esi, 0xb
movzx edx, ax
jb 0x59cea1
mov edi, 4
cmp ax, 5
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
jae 0x59ca91
mov al, 1
mov dword [esp + 0x18], edx
jmp 0x59cab8
movzx edi, ax
je 0x59cab2
cmp edi, 6
jne 0x59cabe
mov edi, 5
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jmp 0x59cad2
mov al, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
jmp 0x59cad2
add edx, 0xfffffff9
mov edi, 6
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edx
call fcn.0059cf57
mov dword [eax + 0x108], 0
mov ebx, eax
mov word [eax + 0x192], 0
mov eax, dword [esp + 8]
mov ecx, edi
not edi
mov dword [esp + 4], ecx
lea ecx, [ecx + ecx*2]
movzx esi, word [eax + 0x192]
add edi, esi
mov word [ebx + 0x192], di
cmp edi, 0xc
mov edx, dword [eax + ecx*4 + 0x114]
mov dword [esp + 0x68], edx
mov edx, eax
movsd xmm0, qword [eax + ecx*4 + 0x10c]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [edx + ecx*8 + 0x10]
mov al, byte [eax + ecx*8]
movsd qword [esp + 0xcf], xmm0
mov byte [esp + 0x23], al
movsd xmm0, qword [edx + ecx*8 + 9]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [edx + ecx*8 + 1]
movsd qword [esp + 0xc0], xmm0
jae 0x59cee4
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
sub esi, ecx
cmp esi, edi
mov esi, dword [esp + 0x10]
jne 0x59ced3
lea eax, [edx + 0x10c]
lea edx, [ebx + 0x10c]
mov dword [esp + 0x74], ecx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x78], edx
lea edx, [edi*4]
mov dword [esp + 0x7c], ecx
lea eax, [eax + ecx*4]
lea edx, [edx + edx*2]
push edx
push eax
push dword [esp + 0x80]
call fcn.0064a810
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x7c]
shl edi, 3
lea eax, [eax + ecx*8]
lea ecx, [edi + edi*2]
push ecx
push eax
push ebx
call fcn.0064a810
mov edx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esp + 4]
mov word [edx + 0x192], ax
movsd xmm1, qword [esp + 0xcf]
movzx edi, word [ebx + 0x192]
movsd xmm0, qword [esp + 0x60]
mov eax, dword [esp + 0x68]
movsd xmm2, qword [esp + 0xc0]
movsd qword [esp + 0x57], xmm1
movsd xmm1, qword [esp + 0xc8]
lea ecx, [edi + 1]
cmp edi, 0xc
movsd qword [esp + 0x108], xmm0
mov dword [esp + 0x110], eax
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
jae 0x59cf08
sub esi, dword [esp + 4]
cmp esi, ecx
jne 0x59ced3
mov eax, dword [esp + 0x74]
inc dword [esp + 0xc]
mov ecx, 0x198
shl esi, 2
lea eax, [edx + eax*4]
add eax, ecx
add ecx, ebx
push esi
push eax
push ecx
call fcn.0064a810
add esp, 0xc
xor eax, eax
mov ecx, eax
cmp eax, edi
mov edx, dword [ebx + ecx*4 + 0x198]
adc eax, 0
cmp ecx, edi
mov dword [edx + 0x108], ebx
mov word [edx + 0x190], cx
jae 0x59cc8a
cmp eax, edi
jbe 0x59cc67
movsd xmm1, qword [esp + 0x110]
movsd xmm0, qword [esp + 0x108]
movsd xmm2, qword [esp + 0x48]
cmp byte [esp + 0x1c], 0
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, ebx
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0xc0], xmm2
cmovne ecx, edi
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [esp + 0x57]
movsd qword [esp + 0xcf], xmm1
push dword [esp + 0x14]
lea esi, [esp + 0xac]
push esi
lea eax, [esp + 0xa0]
push eax
call fcn.0059d02b
add esp, 0xc
movsd xmm1, qword [esp + 0x68]
mov al, byte [esp + 0x23]
movsd xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0xc0]
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [esp + 0xc8]
cmp al, 6
movsd qword [esp + 0xf8], xmm0
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0xcf]
movsd qword [esp + 0x8f], xmm1
je 0x59cebd
movsd xmm1, qword [esp + 0x100]
movsd xmm0, qword [esp + 0xf8]
movsd xmm2, qword [esp + 0x80]
mov edx, dword [esp + 0xc]
mov dword [esp + 4], edi
mov dword [esp + 0x14], ebx
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x8f]
movsd qword [esp + 0x98], xmm0
mov byte [esp + 0xa8], al
movsd qword [esi + 1], xmm2
mov ecx, edx
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [esi + 9], xmm1
mov esi, edx
mov eax, dword [edi + 0x108]
test eax, eax
jne 0x59ca48
jmp 0x59cde4
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, esi
lea eax, [esp + 0xc0]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
lea esi, [esp + 0x98]
mov ecx, 0xa
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
test edi, edi
je 0x59cf1c
mov esi, dword [eax + 4]
mov dword [esp + 8], eax
call fcn.0059cf57
xor ecx, ecx
mov dword [eax + 0x108], 0
inc esi
mov word [eax + 0x192], cx
mov dword [eax + 0x198], edi
mov dword [edi + 0x108], eax
mov word [edi + 0x190], cx
mov ecx, dword [esp + 8]
lea edi, [esp + 0xd0]
mov edx, esi
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, eax
push dword [esp + 0xc]
push ebx
push edi
lea eax, [esp + 0xcc]
push eax
call fcn.0059cf81
add esp, 0x10
jmp 0x59cebd
add eax, 0xfffffff9
mov edi, 6
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
jmp 0x59c85e
push dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0059d02b
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
inc dword [eax + 8]
mov byte [ecx], 6
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.assertion_failed:_src.len____dst.len__
mov edx, 0x28
push 0x7bf558
jmp 0x59cf01
mov ecx, edi
mov edx, 0xb
push 0x7bf568
jmp 0x59cf12
mov ecx, str.assertion_failed:_edge.height__self.node.height___1
mov edx, 0x35
push 0x7bf5c0
call fcn.006522d0
jmp 0x59cf17
mov edx, 0xc
push 0x7bf578
call fcn.00652260
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7bf3c8
jmp 0x59cf01