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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov dword [esp + 0x2c], ecx
mov edi, edx
mov eax, dword [0x70607c]
cmp eax, 3
je 0x4595c2
mov eax, dword [0x70607c]
cmp eax, 3
jne 0x4598b4
mov edx, dword [0x706074]
lea esi, [esp + 0x88]
mov ecx, esi
call fcn.004d5305
mov edx, dword [ebp + 8]
mov ebx, dword [0x706074]
mov dword [esp + 0xa8], edi
and dword [esi], 0
xor ecx, ecx
mov dword [esp + 0xac], edx
and dword [esp + 0xb0], 0
mov dword [esp + 0xb4], edx
and dword [esp + 0xa0], 0
mov byte [esp + 0xb8], 0
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x58]
cmp dword [eax], ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
je 0x459645
cmp dword [eax + 4], edx
ja 0x4597a3
test byte [eax + 0x1c], 1
je 0x459645
test byte [eax + 0x20], 2
je 0x459645
cmp dword [eax + 8], 0
je 0x459645
cmp dword [eax + 0xc], edx
jb 0x4597a3
mov dword [esp + 0x28], edi
mov edi, dword [0x706078]
mov dword [esp + 4], ecx
mov ecx, fcn.004d56e1
mov dword [esp + 0x14], esi
call fcn.0044b13f
mov esi, dword [edi + 0x2f8]
cmp eax, esi
jne 0x459889
mov esi, eax
xor eax, eax
mov dword [edi + 0x2f8], 1
mov dword [esp + 0x10], 0
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov edx, dword [ebx + 8]
dec edx
and edx, 0xfffffff8
test al, al
lea ecx, [edx + ecx + 8]
mov edx, esi
jne 0x4596a6
mov edx, edi
lea esi, [esp + 0xa0]
push dword [esp + 0x14]
push dword [esp + 8]
push esi
push edx
push ecx
call dword [ebx + 0x40]
add esp, 0x14
cmp byte [esp + 8], 0
mov esi, eax
mov ebx, edx
je 0x4596df
cmp byte [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
je 0x4597c1
call 0x459d54
jmp 0x4596f6
mov eax, dword [esp + 0xc]
cmp eax, 2
mov dword [esp + 0x7c], eax
je 0x459d1e
mov dword [edi + 0x2f8], eax
test esi, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
je 0x4597a3
mov eax, dword [esp + 0x9c]
mov esi, dword [eax + 0x10]
cmp esi, 1
jne 0x459723
push 3
pop eax
push 2
pop ecx
jmp 0x459744
mov edi, dword [eax + 0xc]
mov edx, esi
mov ecx, edi
push ebx
call fcn.00497cab
pop ecx
cmp eax, 2
jb 0x4597a3
cmp esi, ebx
jbe 0x459d10
mov ecx, dword [edi + ebx*8]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x4597a3
cmp eax, edx
jae 0x4597a3
mov edx, dword [esp + 0x94]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x4597a3
mov edx, dword [edx + eax*4]
test edx, edx
je 0x4597a3
dec ecx
dec edx
push 0x63c1c8
push dword [ebp + 8]
push dword [esp + 0x30]
call fcn.0047423d
add esp, 0xc
mov esi, edx
lea edi, [esp + 0xa0]
mov edx, eax
mov ecx, edi
push esi
call fcn.0043e6d0
pop eax
xor eax, eax
cmp dword [edi], 0
mov esi, dword [edi + 4]
cmove eax, esi
je 0x4598f2
mov eax, dword [esp + 0x2c]
mov dword [eax], 0x80000000
lea ecx, [esp + 0x88]
call fcn.00474b2a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, fcn.004d56e1
mov dword [esp + 8], esi
mov dword [esp + 0x14], ebx
call fcn.0044b13f
mov ecx, dword [edi + 0x304]
test ecx, ecx
je 0x459cfe
xor edx, edx
div ecx
mov ebx, edx
push 0xa
pop esi
shl ebx, 6
mov dword [esp + 4], edx
sub esi, 1
jb 0x459834
mov edx, dword [edi + 0x304]
cmp edx, dword [esp + 4]
jbe 0x459cc4
mov edx, dword [edi + 0x300]
lea ecx, [esp + 0x3c]
add edx, ebx
call fcn.0044af24
cmp dword [esp + 0x3c], 0
je 0x45984a
mov al, byte [esp + 0x44]
cmp al, 2
je 0x4597f1
mov ecx, dword [esp + 0x40]
movzx edx, al
call fcn.0045494f
jmp 0x4597f1
mov ecx, dword [esp + 0xc]
call 0x459d54
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 8]
jmp 0x4596f6
mov edi, dword [esp + 0x40]
mov bl, byte [esp + 0x44]
mov edx, dword [edi + 0x10]
cmp edx, dword [edi + 8]
jne 0x459865
lea ecx, [edi + 8]
call fcn.00427049
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], ecx
inc dword [edi + 0x10]
movzx edx, bl
mov ecx, edi
call fcn.0045494f
mov ebx, dword [esp + 0x14]
jmp 0x4596f6
lea ecx, [esp + 0x3c]
mov edx, edi
push esi
push eax
call fcn.0044ad7f
pop eax
pop ecx
lea ecx, [esp + 0x3c]
cmp dword [ecx], 0
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov cl, byte [ecx + 0xc]
sete al
mov dword [esp + 0x10], ecx
jmp 0x459685
xor edx, edx
lea eax, [esp + 0xa0]
lea esi, [esp + 0x3c]
lea ecx, [esp + 0x88]
mov dword [eax], 0x706074
mov dword [eax + 4], ecx
mov dword [esi], eax
lea ecx, [0x70607c]
inc edx
push 0x63be10
push 0x63bdfc
push esi
call fcn.0051eba0
add esp, 0xc
jmp 0x4595c2
lea edi, [esp + 0xa0]
mov dword [esp + 0x38], eax
mov ebx, dword [edi + 8]
mov ecx, edi
call fcn.00542190
mov edi, dword [edi]
cmp edi, 0x80000000
jne 0x459938
mov ecx, ebx
xor edx, edx
call fcn.00426eaa
mov edi, ebx
mov ebx, edx
mov dword [esp + 4], eax
push edi
push esi
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, edi
mov edi, dword [esp + 4]
jmp 0x459caf
mov dword [esp + 0x30], ebx
lea ebx, [esp + 0xa0]
lea ecx, [esp + 0x3c]
mov edx, dword [ebx + 4]
mov dword [esp + 4], edx
push dword [ebx + 8]
call fcn.005522a0
pop eax
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x3c]
call fcn.004592b9
mov edx, dword [esp + 4]
mov ecx, edi
call fcn.00563c9c
lea ecx, [esp + 0x7c]
mov edx, esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x3c]
and dword [ecx], 0
xor eax, eax
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 8], 0
mov ecx, ebx
push eax
push str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fignore_0.4.22_src_types.rs
push dword [esp + 0x38]
call fcn.00442730
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x20], 0
mov esi, eax
mov dword [esp + 0x58], eax
mov byte [esp + 3], al
mov eax, dword [ebx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc], edx
and esi, 0xffffff00
mov dword [esp + 0x60], esi
mov esi, edx
sub esi, ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x54], esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x14], eax
mov eax, edx
lea eax, [edx - 1]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x68], 0
je 0x459ba5
movzx eax, byte [esp + 3]
mov edx, dword [esp + 0x10]
or eax, dword [esp + 0x60]
mov ebx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov edi, ebx
cmp eax, ebx
cmova edi, eax
cmp edx, 0xffffffff
mov edx, ebx
cmove edi, eax
mov dword [esp + 0x78], edi
mov edi, 0
cmove edx, edi
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x70]
add eax, esi
cmp eax, dword [esp + 4]
jae 0x459c7d
mov edi, ebx
mov ebx, ecx
mov cl, byte [ecx + eax]
xor eax, eax
xor edx, edx
inc edx
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x74]
and edx, dword [esp + 0x6c]
or edx, eax
je 0x459b4c
mov ecx, dword [esp + 0x78]
lea edx, [ebx + esi]
cmp ecx, dword [esp + 0xc]
jae 0x459aec
mov eax, ecx
add ecx, esi
cmp ecx, dword [esp + 4]
jae 0x459cd2
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 1]
mov bl, byte [ebx + eax]
cmp bl, byte [edx + eax]
je 0x459aad
sub esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov ebx, edi
cmp edx, 0xffffffff
lea esi, [esi + eax + 1]
je 0x459a67
jmp 0x459b73
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
jae 0x459b82
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x459ce0
lea eax, [ecx + esi]
cmp eax, dword [esp + 4]
jae 0x459cee
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov dl, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x459af0
mov edx, dword [esp + 0x10]
add esi, dword [esp + 0x5c]
mov ecx, dword [esp + 8]
mov ebx, edi
cmp edx, 0xffffffff
je 0x459a67
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov ebx, eax
jmp 0x459a44
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esi, dword [esp + 0xc]
mov eax, 0
cmp edx, 0xffffffff
cmovne ecx, eax
cmovne edi, eax
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov ebx, edi
jmp 0x459a44
mov dword [esp + 0x18], 0
xor ebx, ebx
jmp 0x459a44
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
cmp edx, 0xffffffff
lea edi, [esi + eax]
mov eax, 0
cmovne ecx, eax
mov eax, esi
mov esi, edi
mov dword [esp + 0x10], ecx
jmp 0x459c47
test dword [esp + 0x58], 0xff0000
jne 0x459c7d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
push dword [esp + 4]
call fcn.00438d36
pop ecx
test eax, eax
je 0x459d3d
lea ecx, [esp + 0xa0]
add edx, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
call fcn.00438757
test eax, eax
mov eax, 0x110000
cmove edx, eax
mov al, byte [esp + 3]
test al, al
jne 0x459c3b
cmp edx, 0x110000
je 0x459c7d
cmp edx, 0x80
mov eax, 1
jb 0x459c2b
cmp edx, 0x800
push 2
pop eax
jb 0x459c2b
cmp edx, 0x10000
push 4
pop eax
sbb eax, 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 3], 1
add ecx, eax
jmp 0x459bb7
xor al, 1
mov byte [esp + 3], al
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
lea ebx, [esp + 0x3c]
add edx, ecx
add eax, ecx
mov ecx, ebx
push eax
call fcn.004d5e5b
pop eax
mov edx, dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x64]
call fcn.004d5e5b
pop eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], edi
jmp 0x459a22
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x3c]
add eax, ecx
add edx, ecx
mov ecx, esi
push eax
call fcn.004d5e5b
pop eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
call fcn.00563c9c
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov byte [eax + 0xc], 1
jmp 0x4597ad
mov ecx, dword [esp + 4]
push 0x640544
call fcn.0043a050
mov edx, dword [esp + 4]
push 0x69b62c
call fcn.0043a050
mov edx, dword [esp + 0xc]
push 0x69b60c
call fcn.0043a050
mov edx, dword [esp + 4]
mov ecx, eax
push 0x69b61c
call fcn.0043a050
push 0x39
pop edx
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
push 0x640534
call fcn.0043a9e0
mov ecx, ebx
mov edx, esi
push 0x648988
call fcn.0043a050
lea eax, [esp + 0x3c]
lea esi, [esp + 0x7c]
mov edx, 0x69e358
and dword [eax], 0
xor ecx, ecx
inc ecx
push 0x640554
push eax
push esi
call fcn.0044647e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0x69c148
push edx
push dword [esp + 0x24]
call fcn.00441bc0
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00453e61
push 8
pop edx
mov ecx, esi
call fcn.004256e0
pop esi
pop ebp
ret