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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov ebp, 0x11
xor esi, esi
dec ebp
je 0x1004cb78
push edi
push ebx
call 0x1004cc83
add esp, 8
test eax, eax
jne 0x1004cb3e
test edx, edx
jne 0x1004cb8f
push edi
push ebx
call fcn.1004bcd5
add esp, 8
test eax, eax
jne 0x1004cb50
test edx, edx
jne 0x1004cb8f
push edi
push ebx
call fcn.1004ba6f
add esp, 8
test eax, eax
jne 0x1004cb62
test edx, edx
jne 0x1004cb8f
cmp byte [ebx + 0xa1], 0
mov byte [ebx + 0xa1], 0
jne 0x1004cb29
xor edx, edx
xor esi, esi
jmp 0x1004cb8f
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1004cb99
push edi
call fcn.1005cdf0
add esp, 4
xor esi, esi
inc esi
mov eax, esi
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x1017d45c]
mov al, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1004cc54
movzx eax, al
push eax
push dword [esi]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1004cb83
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x1004cc72
lea eax, [ecx + 0x1c]
mov dword [esp], eax
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
lea ecx, [esp + 0x24]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx + 0x10], eax
lea edx, [esp + 0x64]
lea ebx, [esp + 4]
mov dword [ebx], edx
mov dword [ebx + 4], 0x10047020
lea edx, [esp + 0x38]
mov dword [edx], 0x1010b0f4
mov dword [edx + 4], 2
mov dword [edx + 0x10], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 1
lea eax, [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0x101099f8
lea ebx, [esp + 0xc]
push eax
push dword [esp + 4]
push ebx
call fcn.100779c8
add esp, 0xc
push ebx
push dword [esi]
call fcn.1008cd25
add esp, 8
jmp 0x1004cb83
test ecx, ecx
je 0x1004cb83
push esi
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1004cbb1
jmp 0x1004cb83
push 0x1010b0c8
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_main.rs_srcprotoh1dispatch.rs
call fcn.10101180
push ebp
push ebx
push edi
push esi
sub esp, 0xbc
mov ebx, dword [esp + 0xd0]
xor edx, edx
cmp byte [ebx + 0x130], 0
mov eax, 0
jne 0x1004d164
mov edi, dword [esp + 0xd4]
lea eax, [ebx + 0x118]
mov dword [esp], eax
lea ebp, [ebx + 0x129]
lea esi, [esp + 0x2d]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
or ecx, eax
jne 0x1004ccfc
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
add ecx, 0xfffffffe
adc edx, 0xffffffff
mov esi, 3
cmp esi, ecx
mov esi, edi
mov edi, 0
sbb edi, edx
mov edi, esi
lea esi, [esp + 0x2d]
jb 0x1004cd81
test ecx, ecx
jne 0x1004cd81
mov cl, byte [ebx + 0x128]
mov byte [ebx + 0x128], 3
cmp cl, 3
je 0x1004d120
mov edx, dword [esp]
movups xmm0, xmmword [edx]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x2c], cl
mov cl, byte [ebp + 2]
mov byte [esi + 2], cl
movzx ecx, word [ebp]
mov word [esi], cx
dec eax
cmp eax, 2
jae 0x1004cf9e
push edi
lea eax, [esp + 0x20]
push eax
call fcn.10063069
add esp, 8
test eax, eax
jne 0x1004d12c
test edx, edx
je 0x1004cda0
mov dword [esp + 0x70], edx
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1004ce4d
push edi
push ebx
call fcn.10049b79
add esp, 8
lea eax, [esp + 0x70]
push eax
call fcn.100456cc
add esp, 4
jmp 0x1004cf9e
push edi
push ebx
call fcn.1004c605
add esp, 8
test eax, eax
jne 0x1004d164
test edx, edx
je 0x1004cfa7
jmp 0x1004d11c
push edi
push ebx
lea eax, [esp + 0x54]
push eax
call fcn.100486af
add esp, 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1004cf9e
cmp eax, 1
jne 0x1004d12c
cmp dword [esp + 0x50], 0
je 0x1004cf5c
lea eax, [esp + 0x50]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xac], xmm0
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.10063111
add esp, 0xc
cmp dword [esp + 0x7c], 0
je 0x1004cfb9
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [esp + 0x60], xmm0
mov eax, dword [ebx + 0x40]
dec eax
cmp eax, 2
jae 0x1004ce31
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1004cff0
push ebx
call fcn.1005df0d
add esp, 4
mov eax, dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x68]
lea ecx, [esp + 0x74]
push ecx
call dword [eax + 0xc]
add esp, 0xc
jmp 0x1004cf9e
mov eax, dword [0x1017d458]
mov al, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1004cf39
movzx eax, al
push eax
mov eax, dword [0x1017d458]
push dword [eax]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1004cd65
mov eax, dword [0x1017d458]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1004d16f
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x24]
mov esi, dword [eax + 0x28]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
add eax, 0x1c
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 4], 0x1010b190
mov dword [esp + 8], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0x10109a08
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x101099f8
lea ecx, [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.100779c8
add esp, 0xc
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x7c], xmm0
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x1017d458]
push dword [eax]
call fcn.1008cd25
add esp, 8
mov edi, dword [esp + 0xd4]
lea esi, [esp + 0x2d]
jmp 0x1004cd65
test ecx, ecx
je 0x1004cd65
push dword [0x1017d458]
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1004ce64
jmp 0x1004cd65
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], eax
sub esp, 4
push 8
call fcn.100689ea
add esp, 8
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.10068a21
add esp, 8
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100631f5
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.1002bddc
cmp byte [ebx + 0x130], 0
je 0x1004ccc2
jmp 0x1004d11a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [esp + 4], xmm0
cmp byte [ebx + 0x128], 3
je 0x1004cfdc
mov ecx, dword [esp]
call fcn.1002bddc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
movups xmm0, xmmword [esp + 4]
movups xmmword [ecx], xmm0
jmp 0x1004cfa7
mov eax, dword [0x1017d454]
mov al, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1004d0f7
movzx eax, al
push eax
mov eax, dword [0x1017d454]
push dword [eax]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1004ce28
mov eax, dword [0x1017d454]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1004d180
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
add eax, 0x1c
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 4], 0x1010b140
mov dword [esp + 8], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0x10109a08
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x101099f8
lea ecx, [esp + 0x70]
push ecx
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.100779c8
add esp, 0xc
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x9c], eax
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 0x94], xmm0
lea eax, [esp + 0x94]
push eax
mov eax, dword [0x1017d454]
push dword [eax]
call fcn.1008cd25
add esp, 8
mov edi, dword [esp + 0xd4]
jmp 0x1004ce28
test ecx, ecx
je 0x1004ce28
push dword [0x1017d454]
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1004d007
jmp 0x1004ce28
xor edx, edx
xor eax, eax
jmp 0x1004d164
push edi
push ebx
call fcn.100499aa
add esp, 8
jmp 0x1004d164
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [esp + 4], xmm0
cmp byte [ebx + 0x128], 3
je 0x1004d14f
mov ecx, dword [esp]
call fcn.1002bddc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
movups xmm0, xmmword [esp + 4]
movups xmmword [ecx], xmm0
xor eax, eax
inc eax
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1010b148
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_main.rs_srcprotoh1dispatch.rs
call fcn.10101180
push 0x1010b104
jmp 0x1004d174