Function at 0x10137880
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 0x101378a0
cmp dword [ecx + 0x34], 0
setne byte [eax + 0x89]
mov esi, dword [esp + 0x74]
cmp dword [ecx + 0x18], 1
jne 0x1013791a
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 0x10137927
mov eax, ebp
xor edx, edx
mov ecx, 0xff
sub eax, edi
setne dl
cmovae ecx, edx
test cl, cl
je 0x1013791a
mov edx, dword [esp + 0x80]
movzx ecx, cl
cmp ecx, 1
jne 0x10137a22
mov dword [esp], eax
mov eax, dword [ebx]
test eax, eax
je 0x10137a99
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.101304e0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
jne 0x10137a4f
mov byte [esi], 3
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x10271040]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10137a77
movzx eax, al
push eax
push dword [0x10271038]
call fcn.10149b60
add esp, 8
test al, al
je 0x101378c7
mov eax, dword [0x10271038]
cmp dword [eax + 0x20], 0
je 0x10137cb3
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x10137cb3
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], 0x101facd8
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.101bfa60
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x40], fcn.101bfa60
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], 0x101fa834
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.1014a450
add esp, 8
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x101378c7
sub edi, ebp
mov dword [esp], edi
mov eax, dword [ebx]
test eax, eax
je 0x10137b80
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.101303b0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
je 0x1013791a
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 0x1013791d
test ecx, ecx
je 0x101378c7
push 0x10271038
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x1013793d
jmp 0x101378c7
movzx eax, byte [0x10271058]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10137c67
movzx eax, al
push eax
push dword [0x10271050]
call fcn.10149b60
mov edx, ebx
add esp, 8
test al, al
je 0x101378fc
mov eax, dword [0x10271050]
cmp dword [eax + 0x20], 0
je 0x10137cc4
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x10137cc4
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], 0x101fad50
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.101bfa60
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x101fa834
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.1014a450
add esp, 8
mov edx, ebx
jmp 0x101378fc
movzx eax, byte [0x1027104c]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10137c8d
movzx eax, al
push eax
push dword [0x10271044]
call fcn.10149b60
mov edx, ebx
add esp, 8
test al, al
je 0x10137a31
mov eax, dword [0x10271044]
cmp dword [eax + 0x20], 0
je 0x10137cd5
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x10137cd5
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], 0x101fad18
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.101bfa60
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x101fa834
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.1014a450
add esp, 8
mov edx, ebx
jmp 0x10137a31
mov edx, ebx
test ecx, ecx
je 0x101378fc
push 0x10271050
call fcn.101c9ee0
mov edx, ebx
add esp, 4
test al, al
jne 0x10137ab1
jmp 0x101378fc
mov edx, ebx
test ecx, ecx
je 0x10137a31
push 0x10271044
call fcn.101c9ee0
mov edx, ebx
add esp, 4
test al, al
jne 0x10137b98
jmp 0x10137a31
push 0x101faca0
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc830
push 0x101fad20
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc830
push 0x101face8
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc830
int3