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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x802044]
mov dword [esp + 0xa8], 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0xb8], eax
mov esi, dword [eax + 0x20]
test esi, esi
je 0x4bf6d6
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x28]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov dword [esp + 0x24], edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 4], edx
mov ebx, dword [ecx + 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp], edi
push edi
mov dword [esp + 0xc], ebx
push ebx
call fcn.004b7306
add esp, 8
add eax, 0xcc
cmp esi, 1
mov dword [esp + 0x28], eax
je 0x4bf6d6
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
cmp esi, 2
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 1
jbe 0x4bf6d6
mov eax, dword [esp + 4]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 2
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push dword [esp]
push dword [esp + 0xc]
call fcn.004b7306
add esp, 8
mov ecx, dword [esp + 0x20]
add ecx, dword [eax + 0xd8]
cmp esi, 3
mov dword [esp + 0x2c], ecx
je 0x4bf6d6
mov eax, dword [esp + 4]
lea ecx, [esp + 0x8c]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
add edi, 0x1c
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 3
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push dword [esp]
push dword [esp + 0xc]
call fcn.004b7306
add esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0xcc]
lea esi, [esp + 0x78]
lea ebx, [esp + 0x8c]
add eax, 0xd4
mov dword [ecx], edx
lea edx, [esp + 0x28]
mov dword [ecx + 4], edx
lea edx, [esp + 0x64]
mov dword [ecx + 8], 0x74ee3c
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x18]
mov dword [ecx + 0x10], edx
mov edx, 0x74ee5c
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], esi
lea esi, [esp + 0x2c]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x20], 0x745484
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
lea edx, [esp + 0xc0]
lea ebx, [esp + 0xa0]
mov dword [edx], ecx
mov ecx, ebx
mov dword [edx + 4], 4
mov dword [edx + 8], edi
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 0x4bf580
test eax, eax
je 0x4bf56c
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 0x4bf574
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 esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push dword [esp]
mov edi, dword [esp + 0xc]
push edi
call fcn.004b7306
add esp, 8
add ebx, dword [eax + 0xd8]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push dword [esp]
push edi
call fcn.004b7306
add esp, 8
xor ecx, ecx
cmp ebx, dword [eax + 0xd4]
mov eax, 0xff
mov dword [esp + 4], ebx
setne cl
cmovae eax, ecx
test al, al
je 0x4bf6bc
movzx eax, al
cmp eax, 1
jne 0x4bf644
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push dword [esp]
mov edi, dword [esp + 0xc]
push edi
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 0x4bf61a
movzx eax, al
mov ecx, 0x54
bt ecx, eax
jb 0x4bf6bc
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push dword [esp]
push edi
call fcn.004be27b
add esp, 8
mov ecx, dword [esp + 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esp + 0x14]
call fcn.004bee71
jmp 0x4bf6bc
mov ebx, dword [esp]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push ebx
mov edi, dword [esp + 0xc]
push edi
call fcn.004be27b
add esp, 8
mov ecx, dword [esp + 4]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
push ebx
push edi
call fcn.004b7306
add esp, 8
mov eax, dword [eax + 0x3c]
xor edi, edi
test eax, eax
cmovg edi, eax
sub edi, dword [esp + 4]
jbe 0x4bf6bc
mov eax, esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x38]
push dword [esp]
push dword [esp + 0xc]
call fcn.004be27b
add esp, 8
mov ecx, dword [eax + 0x3c]
sub ecx, edi
jo 0x4bf6a9
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov edx, edi
push esi
push dword [esp + 0x10]
call fcn.004beaef
add esp, 8
lea esi, [esp + 0x30]
mov ecx, esi
call fcn.004bab53
mov ecx, esi
call fcn.004bab83
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 0x74ee4c
call fcn.00652640
add esp, 4
ud2