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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x10], ecx
mov ecx, dword [0x802050]
mov dword [esp + 0xb0], 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc0], ecx
mov edi, dword [ecx + 0x20]
test edi, edi
je 0x57dc9b
mov ebx, dword [ebp + 0xc]
mov esi, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x54], esi
mov dword [esp + 4], esi
mov esi, dword [ebx]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov eax, dword [ebx + 4]
mov dword [esp + 0x64], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push ebx
mov dword [esp + 0x1c], eax
push eax
call fcn.004b7306
add esp, 8
add eax, 0xcc
cmp edi, 1
mov dword [esp + 0x28], eax
je 0x57dc9b
mov eax, dword [esp + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 1
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push ebx
push dword [esp + 0x1c]
call fcn.004b7306
add esp, 8
add eax, 0x20
cmp edi, 2
mov dword [esp + 0x2c], eax
jbe 0x57dc9b
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x24]
cmp edi, 3
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 2
je 0x57dc9b
mov eax, dword [esp + 4]
lea ecx, [esp + 0x94]
add ebx, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], 3
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x38]
push edi
mov esi, dword [esp + 0x1c]
push esi
call fcn.004b7306
add esp, 8
add eax, 0x38
lea ecx, [esp + 0x90]
lea edx, [esp + 0x54]
mov dword [ecx], eax
lea eax, [esp + 0xd4]
mov dword [eax], edx
lea edx, [esp + 0x28]
mov dword [eax + 4], edx
lea edx, [esp + 0x68]
mov dword [eax + 8], 0x74ee3c
mov dword [eax + 0xc], edx
lea edx, [esp + 0x2c]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x7c]
mov dword [eax + 0x14], 0x74ee7c
mov dword [eax + 0x18], edx
lea edx, [esp + 0x1c]
mov dword [eax + 0x1c], edx
lea edx, [esp + 0x94]
mov dword [eax + 0x20], 0x74ee5c
mov dword [eax + 0x24], edx
lea edx, [esp + 0xc8]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 0x74ee8c
mov dword [edx], eax
mov dword [edx + 4], 4
mov dword [edx + 8], ebx
lea ebx, [esp + 0xa8]
mov ecx, ebx
call fcn.0060ba02
movsd xmm1, qword [ebx + 8]
movsd xmm0, qword [ebx]
movsd xmm2, qword [ebx + 0x10]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm1
mov eax, dword [esp + 0x38]
cmp eax, 2
je 0x57dbc3
test eax, eax
je 0x57dbaf
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
jmp 0x57dbb7
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x30]
push edx
push ecx
call dword [eax + 0x30]
add esp, 8
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push edi
push esi
call fcn.004b7306
add esp, 8
mov al, byte [eax + 0x20]
add al, 0xfa
movzx ecx, al
cmp al, 6
mov eax, 6
cmovb eax, ecx
cmp al, 6
ja 0x57dc13
movzx eax, al
mov ecx, 0x54
bt ecx, eax
jae 0x57dc13
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push edi
push esi
call fcn.004b7306
add esp, 8
cmp dword [eax + 0xd8], 0
je 0x57dc7a
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push edi
push esi
call fcn.004be27b
add esp, 8
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 0x38]
call fcn.004bf253
test eax, eax
je 0x57dc6b
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
lea ebx, [esp + 0x30]
mov ecx, ebx
call fcn.004bab53
mov ecx, ebx
call fcn.004bab83
mov ecx, dword [esp + 0x10]
mov edx, 3
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
call fcn.00556e7c
add esp, 0x14
xor eax, eax
inc eax
jmp 0x57dc8e
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
add ecx, 8
call fcn.004bee71
lea esi, [esp + 0x30]
mov ecx, esi
call fcn.004bab53
mov ecx, esi
call fcn.004bab83
xor eax, eax
mov edx, 3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.FieldSet_corrupted__this_is_a_bug_
mov edx, 0x22
push 0x74ee6c
call fcn.00652640
add esp, 4
ud2