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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
test byte [ecx + 0x30], 1
je 0x1013fa60
cmp dword [ecx + 0x34], 0
setne byte [eax + 0x89]
mov esi, dword [esp + 0x74]
cmp dword [ecx + 0x18], 1
jne 0x1013fada
mov ebp, dword [ecx + 0x1c]
mov edi, dword [eax + 0x78]
mov ebx, dword [0x1027132c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [eax + 0x78], ebp
mov eax, dword [ebx]
test eax, eax
je 0x1013fae7
mov eax, ebp
xor edx, edx
mov ecx, 0xff
sub eax, edi
setne dl
cmovae ecx, edx
test cl, cl
je 0x1013fada
mov edx, dword [esp + 0x80]
movzx ecx, cl
cmp ecx, 1
jne 0x1013fbe2
mov dword [esp], eax
mov eax, dword [ebx]
test eax, eax
je 0x1013fc59
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.1011dbc0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
jne 0x1013fc0f
mov byte [esi], 3
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x102711a8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1013fc37
movzx eax, al
push eax
push dword [0x102711a0]
call fcn.101498b0
add esp, 8
test al, al
je 0x1013fa87
mov eax, dword [0x102711a0]
cmp dword [eax + 0x20], 0
je 0x1013fe73
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1013fe73
lea edi, [eax + 0x20]
mov dword [esp + 0x4c], edx
movsd xmm0, qword [edi]
movsd qword [esp + 0x50], xmm0
mov edx, dword [edi + 8]
mov dword [esp + 4], 0x10206320
mov dword [esp + 8], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x58], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x34], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x38], fcn.101bf6a0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x40], fcn.101bf6a0
mov dword [esp + 0xc], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], 2
mov dword [esp + 0x28], edx
lea edx, [esp + 4]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x30], 0x10205e7c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.1014a4e0
add esp, 8
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x1013fa87
sub edi, ebp
mov dword [esp], edi
mov eax, dword [ebx]
test eax, eax
je 0x1013fd40
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.1011dd50
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
je 0x1013fada
movsd xmm0, qword [esp + 0x14]
movsd xmm2, qword [esp + 5]
movsd xmm1, qword [esp + 0xd]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 9], xmm1
movsd qword [esi + 1], xmm2
mov byte [esi], al
jmp 0x1013fadd
test ecx, ecx
je 0x1013fa87
push 0x102711a0
call fcn.101c9b80
add esp, 4
test al, al
jne 0x1013fafd
jmp 0x1013fa87
movzx eax, byte [0x102711c0]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1013fe27
movzx eax, al
push eax
push dword [0x102711b8]
call fcn.101498b0
mov edx, ebx
add esp, 8
test al, al
je 0x1013fabc
mov eax, dword [0x102711b8]
cmp dword [eax + 0x20], 0
je 0x1013fe84
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1013fe84
lea edi, [eax + 0x20]
mov dword [esp + 0x4c], edx
lea ebp, [esp + 0x28]
movsd xmm0, qword [edi]
movsd qword [esp + 0x50], xmm0
mov edx, dword [edi + 8]
mov edi, esp
mov dword [esp + 4], 0x10206398
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebp
lea ebp, [esp + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], fcn.101bf6a0
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x10205e7c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0
push ecx
push eax
call fcn.1014a4e0
add esp, 8
mov edx, ebx
jmp 0x1013fabc
movzx eax, byte [0x102711b4]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1013fe4d
movzx eax, al
push eax
push dword [0x102711ac]
call fcn.101498b0
mov edx, ebx
add esp, 8
test al, al
je 0x1013fbf1
mov eax, dword [0x102711ac]
cmp dword [eax + 0x20], 0
je 0x1013fe95
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1013fe95
lea edi, [eax + 0x20]
mov dword [esp + 0x4c], edx
lea ebp, [esp + 0x28]
movsd xmm0, qword [edi]
movsd qword [esp + 0x50], xmm0
mov edx, dword [edi + 8]
mov edi, esp
mov dword [esp + 4], 0x10206360
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebp
lea ebp, [esp + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], fcn.101bf6a0
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x10205e7c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0
push ecx
push eax
call fcn.1014a4e0
add esp, 8
mov edx, ebx
jmp 0x1013fbf1
mov edx, ebx
test ecx, ecx
je 0x1013fabc
push 0x102711b8
call fcn.101c9b80
mov edx, ebx
add esp, 4
test al, al
jne 0x1013fc71
jmp 0x1013fabc
mov edx, ebx
test ecx, ecx
je 0x1013fbf1
push 0x102711ac
call fcn.101c9b80
mov edx, ebx
add esp, 4
test al, al
jne 0x1013fd58
jmp 0x1013fbf1
push 0x102062e8
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc4e0
push 0x10206368
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc4e0
push 0x10206330
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc4e0
int3