Function at 0x10139620
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 0x10139640
cmp dword [ecx + 0x34], 0
setne byte [eax + 0x89]
mov esi, dword [esp + 0x74]
cmp dword [ecx + 0x18], 1
jne 0x101396ba
mov ebp, dword [ecx + 0x1c]
mov edi, dword [eax + 0x78]
mov ebx, dword [0x1027032c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [eax + 0x78], ebp
mov eax, dword [ebx]
test eax, eax
je 0x101396c7
mov eax, ebp
xor edx, edx
mov ecx, 0xff
sub eax, edi
setne dl
cmovae ecx, edx
test cl, cl
je 0x101396ba
mov edx, dword [esp + 0x80]
movzx ecx, cl
cmp ecx, 1
jne 0x101397b6
mov dword [esp], eax
mov eax, dword [ebx]
test eax, eax
je 0x1013982d
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.101219f0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
jne 0x101397e3
mov byte [esi], 3
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x10270118]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1013980b
movzx eax, al
push eax
push dword [0x10270110]
call fcn.10147240
add esp, 8
test al, al
je 0x10139667
mov eax, dword [0x10270110]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10139a2f
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 4], 0x101fb6d4
mov dword [esp + 8], 2
mov dword [esp + 0x14], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edx
lea edx, [esp + 0x44]
movlps qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x34], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x38], fcn.101bd8d0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x40], fcn.101bd8d0
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], 0x101fb230
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.10147e50
add esp, 8
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x10139667
sub edi, ebp
mov dword [esp], edi
mov eax, dword [ebx]
test eax, eax
je 0x10139908
mov eax, esp
lea ecx, [esp + 4]
push eax
push edx
push ecx
call fcn.101218c0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 3
je 0x101396ba
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 0x101396bd
test ecx, ecx
je 0x10139667
push 0x10270110
call fcn.101c84c0
add esp, 4
test al, al
jne 0x101396dd
jmp 0x10139667
movzx eax, byte [0x10270130]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x101399e3
movzx eax, al
push eax
push dword [0x10270128]
call fcn.10147240
mov edx, ebx
add esp, 8
test al, al
je 0x1013969c
mov eax, dword [0x10270128]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10139a40
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebp, [esp + 0x28]
mov dword [esp + 4], 0x101fb74c
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 + 0x4c], edi
mov edi, esp
mov dword [esp + 0x50], edx
movlps qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], fcn.101bd8d0
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x101fb230
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.10147e50
add esp, 8
mov edx, ebx
jmp 0x1013969c
movzx eax, byte [0x10270124]
mov ebx, edx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10139a09
movzx eax, al
push eax
push dword [0x1027011c]
call fcn.10147240
mov edx, ebx
add esp, 8
test al, al
je 0x101397c5
mov eax, dword [0x1027011c]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10139a51
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebp, [esp + 0x28]
mov dword [esp + 4], 0x101fb714
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 + 0x4c], edi
mov edi, esp
mov dword [esp + 0x50], edx
movlps qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], fcn.101bd8d0
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x101fb230
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.10147e50
add esp, 8
mov edx, ebx
jmp 0x101397c5
mov edx, ebx
test ecx, ecx
je 0x1013969c
push 0x10270128
call fcn.101c84c0
mov edx, ebx
add esp, 4
test al, al
jne 0x10139845
jmp 0x1013969c
mov edx, ebx
test ecx, ecx
je 0x101397c5
push 0x1027011c
call fcn.101c84c0
mov edx, ebx
add esp, 4
test al, al
jne 0x10139920
jmp 0x101397c5
push 0x101fb69c
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cb830
push 0x101fb71c
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cb830
push 0x101fb6e4
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cb830
int3