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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x258], 2
jne 0x1000cff4
mov eax, 2
jmp 0x1000d025
lea eax, [esi + 0x250]
lea edi, [esp + 0xb0]
push eax
push edi
call fcn.1008c937
add esp, 8
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
movsd xmm0, qword [edi + 0xc]
movsd qword [esp + 8], xmm0
mov edi, dword [edi + 0x14]
mov dword [esp + 0x10], edi
lea edi, [esp + 0x98]
mov dword [edi - 4], edx
mov dword [edi - 8], ecx
mov dword [edi], eax
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x268]
movsd xmm0, qword [esp + 8]
movsd qword [edi + 4], xmm0
mov dword [edi + 0x10], ecx
cmp eax, 2
je 0x1000d06c
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.1008d25f
add esp, 8
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1000d4d5
lea eax, [esp + 0xb8]
mov dword [eax], 2
mov dword [esp + 0x64], eax
mov dword [eax + 0x10], 0
lea eax, [esi + 0x228]
mov dword [esp + 0x50], eax
lea ebx, [esi + 0x288]
lea eax, [esi + 0x290]
mov dword [esp + 0x6c], eax
lea eax, [esi + 0x298]
mov dword [esp + 0x54], eax
lea eax, [esi + 0x270]
mov dword [esp + 0x68], eax
lea eax, [esi + 0xd0]
mov dword [esp + 0x7c], eax
mov edi, dword [0x1017e24c]
lea edx, [esp + 0x38]
mov dword [esp + 0x28], ebx
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1000d230
movzx eax, byte [ebx]
test eax, eax
je 0x1000d15d
cmp eax, 1
jne 0x1000d552
mov edi, dword [esi + 0x28c]
mov bl, byte [esi + 0x289]
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1000d386
push dword [ebp + 0x10]
push dword [esp + 0x80]
lea eax, [esp + 0x34]
push eax
call fcn.1000ad3a
add esp, 0xc
cmp byte [esp + 0x2c], 5
je 0x1000d4ca
mov eax, dword [esp + 0x2c]
cmp al, 4
jne 0x1000d573
mov byte [esi + 0x288], 2
mov byte [esi + 0x289], bl
mov dword [esi + 0x28c], edi
mov ebx, dword [esp + 0x28]
jmp 0x1000d221
mov ebx, dword [ebp + 0x10]
push ebx
push esi
push edx
mov edi, edx
call fcn.1000d68e
add esp, 0xc
cmp byte [esp + 0x38], 4
jne 0x1000d2f7
push esi
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x64]
push eax
call fcn.10013a00
add esp, 0x10
cmp byte [esp + 0x58], 5
je 0x1000d4ca
mov eax, dword [esp + 0x58]
cmp al, 4
jne 0x1000d5e0
mov eax, dword [esp + 0x54]
cmp dword [eax], 0
jne 0x1000d1bf
push dword [esp + 0x50]
call fcn.1006d825
add esp, 4
test al, al
je 0x1000d4ca
push dword [esp + 0x6c]
call fcn.100134cf
add esp, 4
test al, al
jne 0x1000d4ca
mov eax, dword [esi + 0x290]
add eax, 8
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x294]
add eax, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0xc]
push eax
call fcn.1000c218
add esp, 8
lea edx, [esp + 0x38]
mov edi, dword [0x1017e24c]
jmp 0x1000d0d9
mov al, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
lea edx, [esp + 0x38]
jae 0x1000d485
movzx eax, al
push eax
push dword [edi]
call fcn.1008c89d
lea edx, [esp + 0x40]
add esp, 8
test al, al
je 0x1000d0e8
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1000d676
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
add eax, 0x1c
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x80], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x10103cec
lea esi, [esp + 0x38]
push esi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.100779c8
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x58], xmm0
lea eax, [esp + 0x58]
push eax
push dword [edi]
call fcn.1008cd25
mov edx, esi
add esp, 8
mov esi, dword [ebp + 0xc]
jmp 0x1000d0e8
mov eax, dword [esi + 0x290]
add eax, 8
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x294]
add eax, 8
mov dword [esp + 0x1c], eax
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x100], xmm0
movups xmm0, xmmword [esp + 0x38]
movaps xmmword [esp + 0xf0], xmm0
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.1000c250
add esp, 0xc
mov al, byte [esp + 0x38]
cmp al, 3
jne 0x1000d5a3
lea edx, [esp + 0x38]
mov esi, dword [ebp + 0xc]
mov edi, dword [0x1017e24c]
jmp 0x1000d0d9
mov eax, dword [0x1017e250]
mov al, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1000d4a7
movzx eax, al
push eax
mov eax, dword [0x1017e250]
push dword [eax]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1000d113
mov eax, dword [0x1017e250]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1000d67d
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
add eax, 0x1c
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 8], 0x10103d2c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x10103430
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x10103420
lea ecx, [esp + 0x2c]
push ecx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.100779c8
add esp, 0xc
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x80], xmm0
lea eax, [esp + 0x80]
push eax
mov eax, dword [0x1017e250]
push dword [eax]
call fcn.1008cd25
add esp, 8
jmp 0x1000d113
test ecx, ecx
je 0x1000d0e8
push edi
call fcn.100ff6f5
lea edx, [esp + 0x3c]
add esp, 4
test al, al
jne 0x1000d246
jmp 0x1000d0e8
test ecx, ecx
je 0x1000d113
push dword [0x1017e250]
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1000d39d
jmp 0x1000d113
mov esi, dword [ebp + 8]
mov byte [esi], 4
jmp 0x1000d614
mov edi, dword [0x1017e248]
mov al, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1000d585
movzx eax, al
push eax
push dword [edi]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1000d07b
mov ebx, dword [edi]
lea eax, [ebx + 0x1c]
lea edi, [esp + 8]
push 0x10103430
push eax
push edi
call fcn.100779e1
add esp, 0xc
lea eax, [esp + 0xb0]
push edi
mov edi, eax
push ebx
push eax
call fcn.1008c8b4
add esp, 0xc
lea eax, [esp + 0xb8]
cmp dword [eax], 2
mov dword [esp + 0x64], eax
je 0x1000d093
push edi
push eax
call fcn.1008d25f
add esp, 8
jmp 0x1000d093
movzx eax, byte [esi + 0x289]
push eax
push dword [esi + 0x28c]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.1000cc0e
add esp, 0x10
jmp 0x1000d5fe
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x38]
jmp 0x1000d5f0
test ecx, ecx
je 0x1000d07b
push edi
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1000d4ed
jmp 0x1000d07b
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0xdf], xmm0
movups xmm0, xmmword [esp + 0x39]
movaps xmmword [esp + 0xd0], xmm0
mov esi, dword [ebp + 8]
mov byte [esi], al
movaps xmm0, xmmword [esp + 0xd0]
movups xmmword [esi + 1], xmm0
movsd xmm0, qword [esp + 0xdf]
movsd qword [esi + 0x10], xmm0
jmp 0x1000d614
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.1008902e
add esp, 8
movsd xmm0, qword [esp + 0x18]
mov esi, dword [ebp + 8]
movsd qword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 8]
movups xmmword [esi], xmm0
cmp dword [esp + 0xb8], 2
je 0x1000d632
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x68]
call fcn.1008d291
add esp, 8
lea ecx, [esp + 0xb0]
call fcn.10017d4e
cmp dword [esp + 0x98], 2
je 0x1000d660
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.1008d291
add esp, 8
lea ecx, [esp + 0x90]
call fcn.10017d4e
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10103cdc
jmp 0x1000d682
push 0x10103cfc
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_main.rs_srccodec_framed_impl.rs
call fcn.10101180