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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [ecx + 0xc]
mov ebx, dword [edx + 0x64]
imul edi, dword [edx + 0x6c], 0x16c
mov dword [esp + 0x1c], ecx
mov dword [esp], 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
add edi, ebx
mov dword [eax], 4
and dword [eax + 4], 0
and dword [eax + 8], 0
push 4
pop eax
cmp ebx, edi
je 0x435230
mov ebp, ebx
add ebx, 0x16c
mov ecx, dword [ebp + 0x144]
or ecx, dword [ebp + 0x148]
bt ecx, 0x17
jb 0x4351b4
cmp dword [ebp], 0
mov esi, 0x3e7
je 0x4351e0
mov esi, dword [ebp + 4]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 8], edx
mov edx, dword [esp]
cmp edx, dword [esp + 0x58]
jne 0x43520c
mov dword [esp + 4], ecx
lea ecx, [esp + 0x54]
call fcn.0041e0a8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
shl edx, 4
mov dword [eax + edx], ecx
mov ecx, dword [esp + 8]
mov dword [eax + edx + 4], ecx
mov dword [eax + edx + 8], esi
mov dword [eax + edx + 0xc], ebp
mov ecx, dword [esp + 0x5c]
inc ecx
mov dword [esp], ecx
mov dword [esp + 0x5c], ecx
jmp 0x4351b4
mov eax, dword [esp + 0x54]
cmp dword [esp], 0x15
mov dword [esp + 0xc], eax
jae 0x43525c
cmp dword [esp], 1
jbe 0x4356b7
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push 1
call fcn.00425bb7
pop eax
jmp 0x4356b7
mov eax, dword [esp]
lea ecx, [eax*8]
mov al, byte [0x64fd9c]
and ecx, 0x7ffffff0
push 4
pop edx
call fcn.00404090
test eax, eax
mov dword [esp + 8], eax
je 0x435a1c
push 0x10
pop ecx
mov ebx, ecx
call fcn.00425923
test eax, eax
je 0x435a2b
mov ebp, eax
mov eax, dword [esp + 0xc]
xor esi, esi
mov edx, ebx
add eax, 0x10
mov dword [esp + 0x6c], eax
xor eax, eax
mov ebx, dword [esp]
mov dword [esp + 4], eax
sub ebx, eax
jbe 0x435699
cmp ebx, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
jae 0x4352ce
mov eax, dword [esp]
jmp 0x435423
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], ebp
shl esi, 4
lea edx, [eax + esi]
lea ecx, [edx + 0x10]
call fcn.00425cb7
test al, al
mov byte [esp + 0x18], al
je 0x435310
add esi, dword [esp + 0x6c]
push 2
pop ebp
cmp ebx, ebp
je 0x435332
lea edi, [esi + 0x10]
mov edx, esi
mov ecx, edi
call fcn.00425cb7
test al, al
je 0x435330
inc ebp
mov esi, edi
jmp 0x4352f7
add esi, dword [esp + 0x6c]
push 2
pop ebp
cmp ebx, ebp
je 0x435332
lea edi, [esi + 0x10]
mov edx, esi
mov ecx, edi
call fcn.00425cb7
test al, al
jne 0x435330
inc ebp
mov esi, edi
jmp 0x435317
mov ebx, ebp
mov ecx, dword [esp + 4]
cmp byte [esp + 0x18], 0
lea eax, [ebx + ecx]
je 0x43540d
mov edx, eax
mov dword [esp + 0x20], eax
push 0x5be6e0
push dword [esp + 4]
push dword [esp + 0x14]
call fcn.00425b80
add esp, 0xc
mov esi, edx
mov ebp, edx
shr esi, 1
shl ebp, 4
mov ecx, esi
add ebp, eax
mov edx, esi
shl ecx, 4
mov dword [esp + 0x40], ecx
sub ebp, ecx
xor ecx, ecx
push 0x5be650
push esi
push eax
call fcn.00425b80
add esp, 0xc
mov dword [esp + 0x18], edx
mov edi, eax
xor ecx, ecx
mov edx, esi
push 0x5be660
push esi
push ebp
call fcn.00425b80
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
dec esi
lea eax, [eax + ecx - 0x10]
mov ecx, dword [esp + 0x18]
cmp esi, 0xffffffff
je 0x435417
sub ecx, 1
jb 0x4359a6
cmp esi, edx
jae 0x4359b3
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
dec esi
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
add edi, 0x10
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
add eax, 0xfffffff0
jmp 0x4353b2
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
jmp 0x43541f
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp eax, dword [esp + 4]
jb 0x4359f9
cmp eax, dword [esp]
ja 0x4359f9
jae 0x435477
cmp ebx, 9
ja 0x435477
mov ecx, dword [esp + 4]
mov eax, dword [esp]
lea edi, [ecx + 0xa]
cmp edi, eax
cmovae edi, eax
cmp ebx, 1
mov edx, edi
adc ebx, 0
push 0x5be7ac
push eax
push dword [esp + 0x14]
call fcn.00425b80
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00425bb7
mov edx, dword [esp + 0x14]
mov eax, edi
add esp, 4
cmp esi, edx
mov dword [esp + 0x20], eax
jne 0x4354bb
lea ecx, [edx + edx]
mov ebx, edx
mov dword [esp + 0x70], ecx
call fcn.00425923
test eax, eax
je 0x435a08
mov esi, eax
shl ebx, 3
push ebx
push ebp
push eax
call fcn.00570db0
add esp, 0xc
mov ecx, ebp
push 4
pop edx
call fcn.004040f0
mov ebp, esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
jmp 0x4354bf
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ebp
sub eax, ecx
mov dword [ebp + esi*8], eax
mov dword [ebp + esi*8 + 4], ecx
inc esi
mov edx, esi
mov ecx, ebp
push dword [esp]
call fcn.00404cc5
pop ecx
cmp eax, 1
jne 0x43568c
mov ebx, edx
mov edx, esi
mov ecx, ebp
push 0x5be6f0
push ebx
call fcn.00424742
pop ecx
pop edx
mov ecx, ebp
mov ebp, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x18], ebx
inc ebx
mov edx, esi
mov dword [esp + 0x14], esi
push 0x5be700
mov dword [esp + 0x14], ebx
push ebx
call fcn.00424742
pop ecx
pop edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ebp
add edx, ecx
mov dword [esp + 0x7c], ecx
mov ecx, ebp
push 0x5be710
push dword [esp + 4]
push dword [esp + 0x14]
call fcn.00425b80
add esp, 0xc
mov ebx, edi
mov ebp, eax
mov dword [esp + 0x80], edi
shl ebx, 4
lea esi, [eax + ebx]
mov eax, edx
sub edx, edi
shl eax, 4
cmp edx, edi
jae 0x4355c9
shl edx, 4
push edx
push esi
mov edi, dword [esp + 0x10]
push edi
mov dword [esp + 0x10], eax
mov ebx, edx
call fcn.00570db0
add esp, 0xc
mov eax, dword [esp + 4]
add ebx, edi
lea edi, [ebp + eax - 0x10]
cmp esi, ebp
jbe 0x435624
cmp ebx, dword [esp + 8]
jbe 0x435624
lea ecx, [ebx - 0x10]
lea edx, [esi - 0x10]
call fcn.00425cb7
movzx ecx, al
shl ecx, 4
lea ebx, [ebx + ecx - 0x10]
sub esi, ecx
test al, al
mov eax, ebx
cmovne eax, esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi], xmm0
movsd qword [edi + 8], xmm1
add edi, 0xfffffff0
jmp 0x435582
add eax, ebp
mov dword [esp + 4], eax
push ebx
push ebp
mov edi, dword [esp + 0x10]
push edi
call fcn.00570db0
add esp, 0xc
add ebx, edi
cmp edi, ebx
jae 0x43562a
cmp esi, dword [esp + 4]
jae 0x43562a
mov ecx, esi
mov edx, edi
call fcn.00425cb7
test al, al
mov ecx, edi
cmovne ecx, esi
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movzx ecx, al
xor al, 1
movzx eax, al
shl ecx, 4
shl eax, 4
add esi, ecx
add edi, eax
movsd qword [ebp], xmm0
movsd qword [ebp + 8], xmm1
add ebp, 0x10
jmp 0x4355e0
mov edi, dword [esp + 8]
mov ebp, esi
sub ebx, edi
push ebx
push edi
push ebp
call fcn.00570db0
add esp, 0xc
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x10]
jbe 0x4359c2
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
add eax, dword [esp + 0x80]
cmp esi, edx
mov dword [ebp + edx*8 + 8], eax
mov dword [ebp + edx*8 + 0xc], ecx
jbe 0x4359cd
lea eax, [ebp + edx*8]
lea ecx, [ebp + edx*8 + 8]
not edx
add edx, esi
shl edx, 3
push edx
push ecx
push eax
call fcn.00570db0
add esp, 0xc
dec esi
jmp 0x4354d2
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
jmp 0x4352aa
push 4
pop esi
mov ecx, ebp
mov edx, esi
call fcn.004040f0
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.004040f0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov esi, dword [esp]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
lea ebp, [esp + 0x60]
lea ebx, [esp + 0x84]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
shl esi, 4
add eax, 0x15
mov dword [esp + 0x14], eax
add esi, edx
mov dword [esp], esi
cmp edx, esi
je 0x435982
cmp dword [edx], 0
je 0x435982
mov edi, dword [edx + 0xc]
cmp byte [ecx], 0
mov dword [esp + 4], edx
jne 0x435725
mov eax, dword [esp + 0x1c]
mov edx, 0x58dc83
mov ecx, dword [eax + 4]
push 2
call fcn.004fc225
mov ecx, dword [esp + 0xbc]
add esp, 4
mov byte [ecx], 0
mov ecx, edi
call fcn.0041f5b4
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea ecx, [edi + 0xd8]
mov edx, 0x58d59c
lea eax, [edi + 0xcc]
mov dword [esp + 8], edi
cmp dword [edi + 0xd8], 0
cmove ecx, edx
cmp dword [edi + 0xcc], 0
mov edi, dword [esp + 0x1c]
cmovne ecx, eax
mov esi, dword [edi + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
movsd xmm0, qword [ecx]
mov eax, dword [ecx + 8]
movzx edx, word [ecx + 0xc]
mov word [esp + 0x50], dx
mov dword [esp + 0x4c], eax
movsd qword [esp + 0x44], xmm0
call fcn.00419028
mov dword [esp + 0x60], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x84], 0x58e9fc
mov dword [esp + 0x88], 4
and dword [esp + 0x94], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x2c], 0x4159a6
mov dword [esp + 0x30], eax
mov eax, fcn.00417b33
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov ebp, ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 3
push ebx
push esi
call fcn.00419087
pop ecx
pop edx
mov eax, dword [esp + 0x74]
cmp dword [eax + 8], 0
je 0x435858
mov dword [esp + 0x28], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
mov dword [esp + 0x2c], 2
and dword [esp + 0x38], 0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 1
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0x42556a
push ecx
push eax
call fcn.00419087
pop ecx
pop edx
mov ecx, dword [edi + 4]
mov edx, dword [esp + 8]
mov eax, dword [edi]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x38], ecx
movzx ecx, word [edi + 0x14]
mov word [esp + 0x3c], cx
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x4c]
imul ecx, dword [edx + 0x54], 0x11c
add ecx, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], eax
call fcn.00424549
test eax, eax
je 0x43591d
mov ebp, eax
call fcn.00423ea7
mov dword [eax], ebp
mov dword [esp + 0x44], eax
mov esi, eax
xor edi, edi
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esp + 0x60]
inc edi
mov dword [esp + 0x8c], eax
movsd qword [esp + 0x84], xmm0
mov ecx, ebx
call fcn.00424549
test eax, eax
je 0x435913
cmp edi, dword [esp + 0x48]
mov ebp, eax
jne 0x435909
lea ecx, [esp + 0x44]
call fcn.00423ec4
mov esi, dword [esp + 0x44]
mov dword [esi + edi*4], ebp
inc edi
mov dword [esp + 0x4c], edi
jmp 0x4358e9
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
jmp 0x435924
xor edi, edi
xor ebp, ebp
push 4
pop esi
mov edx, esi
lea ecx, [esp + 0x28]
push 0x4350af
push edi
call fcn.00434500
pop eax
pop ecx
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x144]
mov ecx, dword [edx + 0x148]
or ax, cx
jns 0x43595d
lea ecx, [esp + 0x28]
push dword [esp + 0xb8]
call fcn.00435177
pop eax
mov edi, dword [esp + 4]
mov ecx, esi
mov edx, ebp
add edi, 0x10
call fcn.00473538
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp]
mov edx, edi
lea ebp, [esp + 0x60]
jmp 0x4356eb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43599b
shl eax, 4
push 4
pop edx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004042eb
pop eax
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov edx, ecx
push 0x5be670
jmp 0x4359ba
mov ecx, esi
push 0x5be680
call fcn.00580e40
pop eax
ud2
lea ecx, [esp + 0x28]
mov edx, 0x5be720
jmp 0x4359d6
lea ecx, [esp + 0x28]
mov edx, 0x5be760
mov dword [ecx], str.Index_out_of_bounds
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [ecx + 0xc], 0
call fcn.00580da0
ud2
push 0x2c
pop edx
mov ecx, str.assertion_failed:_end___start__end___len
push 0x5be79c
jmp 0x435a15
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be750
call fcn.00580f20
jmp 0x4359bf
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be730
jmp 0x435a15
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
push 0x5be740
jmp 0x435a15