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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov eax, dword [0x51e05c]
mov edi, dword [ebp + 0xc]
cmp eax, 3
jne 0x435c73
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 4]
test eax, eax
mov dword [esp + 0x44], ecx
je 0x4357d5
lea ecx, [esp + 0x10c]
push dword [edi + 0x30]
push eax
push ecx
call fcn.00434070
add esp, 0xc
mov edi, dword [esp + 0x10c]
cmp edi, 0x80000000
je 0x4357d5
lea eax, [esp + 0xb0]
push dword [esp + 0x114]
push dword [esp + 0x114]
push eax
call fcn.0045d0e0
add esp, 0xc
xor esi, esi
cmp dword [esp + 0xb0], 0
jne 0x4357c8
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], edi
jmp 0x4357d5
test esi, esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], 4
cmove eax, esi
mov dword [esp + 0x3c], eax
mov eax, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_native_dialog_0.7.0_src_dialog_impl_win_file.rs
cmovne eax, esi
mov dword [esp + 0x38], eax
test edi, edi
mov eax, 4
je 0x435838
cmp edi, 0x6666666
ja 0x435cb7
lea eax, [edi*4]
lea esi, [eax + eax*4]
test esi, esi
js 0x435cb7
mov eax, dword [0x4f92d8]
movzx eax, byte [eax]
push 4
push esi
call fcn.00401c10
add esp, 8
test eax, eax
je 0x435cbc
mov esi, dword [esp + 0x1c]
mov ecx, edi
lea edx, [esp + 0x5c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
shl ecx, 4
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb0]
add ecx, esi
push eax
push ecx
push esi
call fcn.00435010
add esp, 0xc
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
test esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
je 0x435911
cmp esi, 0x7ffffff
ja 0x435cb7
shl esi, 4
js 0x435cb7
mov eax, dword [0x4f92d8]
mov dword [esp + 8], ebx
movzx eax, byte [eax]
push 4
push esi
call fcn.00401c10
add esp, 8
test eax, eax
je 0x435cbc
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
add eax, 0xc
lea ecx, [edi + 0x10]
mov esi, dword [ecx - 0x10]
mov ebx, dword [ecx - 0xc]
mov edi, dword [ecx - 4]
mov dword [esp], esi
mov esi, dword [ecx]
add ecx, 0x14
mov dword [esp + 4], esi
mov esi, dword [esp]
mov dword [eax - 0xc], esi
mov dword [eax - 8], ebx
mov dword [eax - 4], edi
mov edi, dword [esp + 4]
mov dword [eax], edi
add eax, 0x10
dec edx
jne 0x4358e0
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x50]
mov esi, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_native_dialog_0.7.0_src_dialog_impl_win_file.rs
test eax, eax
mov ecx, eax
cmove ecx, esi
cmove ebx, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
je 0x43594e
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
je 0x435ca9
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], eax
jmp 0x435955
mov dword [esp], 0
xor ebx, ebx
cmp dword [esp + 0x40], 8
lea edi, [esp + 0xb0]
sete bl
push edi
call fcn.00436f60
add esp, 4
mov eax, dword [esp]
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], 0x8806
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x435a79
shl eax, 4
push 4
push eax
push dword [esp + 0xc4]
call fcn.00401c20
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push edi
call fcn.004377b0
add esp, 8
mov ebx, dword [esp + 0xb0]
cmp ebx, 0x80000000
jne 0x435aff
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0xc]
mov eax, 2
lea ecx, [edx - 0x80000000]
cmp ecx, 2
cmovb eax, ecx
test eax, eax
je 0x435b3a
cmp eax, 2
jne 0x435b4e
movdqu xmm0, xmmword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov ebx, 0x80000004
mov dword [esp + 8], edx
mov dword [esp + 4], 0
pshufd xmm0, xmm0, 0xff
mov dword [esp], eax
movdqa xmmword [esp + 0x20], xmm0
test edi, edi
jne 0x435bbb
jmp 0x435bec
mov eax, dword [esp + 0xb4]
movq xmm0, qword [esp + 0xbc]
mov edi, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp], eax
mov al, 1
mov dword [esp + 4], eax
test edi, edi
jne 0x435bbb
jmp 0x435bec
mov al, 1
mov ebx, 0x80000000
mov dword [esp + 4], eax
test edi, edi
jne 0x435bbb
jmp 0x435bec
mov eax, dword [0x4f92d8]
movzx eax, byte [eax]
push 1
push 0x14
call fcn.00401c10
add esp, 8
test eax, eax
je 0x435cc4
mov edi, dword [esp + 0xc]
mov dword [eax + 0x10], 0x68746170
mov dword [eax + 0xc], 0x656c6966
mov dword [eax + 8], 0x20646574
mov dword [eax + 4], 0x726f7070
mov dword [esp], eax
mov dword [eax], 0x75736e55
mov eax, 0x14
mov dword [esp + 8], 0x14
mov ebx, 0x80000004
mov dword [esp + 4], 0
movd xmm0, eax
movdqa xmmword [esp + 0x20], xmm0
test edi, edi
je 0x435bec
mov eax, dword [esp + 0x10]
lea esi, [eax + 0xc]
jmp 0x435bd6
add esi, 0x14
dec edi
je 0x435bec
mov eax, dword [esi - 4]
test eax, eax
je 0x435bd0
push 1
push eax
push dword [esi]
call fcn.00401c20
add esp, 0xc
jmp 0x435bd0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x435c09
shl eax, 2
lea eax, [eax + eax*4]
push 4
push eax
push dword [esp + 0x18]
call fcn.00401c20
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 8]
cmp eax, 0x80000000
je 0x435c31
test eax, eax
je 0x435c31
push 1
push eax
push dword [esp + 0x118]
call fcn.00401c20
add esp, 0xc
cmp byte [esp + 4], 0
je 0x435c55
mov eax, dword [esp]
movaps xmm0, xmmword [esp + 0x20]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ebx, 0x80000005
mov dword [edi + 0xc], eax
movss dword [edi + 0x10], xmm0
jmp 0x435c67
mov eax, dword [esp]
movaps xmm0, xmmword [esp + 0x20]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
movlps qword [edi + 0xc], xmm0
mov dword [edi], ebx
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x54]
mov byte [esp + 0x54], 1
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
push 0x4dd4a4
push 0x4dd320
push eax
push 0
push 0x51e05c
call fcn.00483650
add esp, 0x14
jmp 0x435730
push 0x4dd404
push 0
push 0
call fcn.004b4cc0
call fcn.004a6fd0
push esi
push 4
call fcn.004a7010
push 0x14
push 1
call fcn.004a7010
nop dword [eax]