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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10196ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov ecx, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
je 0x1014308a
mov edx, dword [ebp + 0x14]
cmp edx, esi
je 0x1014308a
fld qword [ebp + 0x24]
fcomp qword [0x10198a78]
mov dword [esp + 0x20], esi
fnstsw ax
test ah, 0x40
jne 0x10142d58
mov dword [esp + 0x20], 1
mov eax, ecx
add edx, ecx
add ecx, 0x18
mov dword [esp + 0x1c], esi
cmp ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
jae 0x10143071
mov edi, dword [ebp + 0x18]
jmp 0x10142d82
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
mov dword [esp + 0x18], esi
jne 0x1014304d
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
mov ecx, dword [eax]
je 0x10142da7
cmp ecx, 1
je 0x10142db0
jmp 0x1014304d
cmp ecx, 2
jne 0x1014304d
cmp dword [edi + 4], esi
jle 0x1014304d
lea edx, [esp + 0x78]
push esi
push edx
mov ecx, edi
call fcn.10143ed0
mov eax, dword [eax]
cmp byte [eax + 1], 8
sete bl
lea ecx, [esp + 0x80]
mov dword [esp + 0xa0], 0
call fcn.10077520
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
test bl, bl
je 0x10142fbf
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10142ee7
lea ecx, [esp + 0x58]
push esi
push ecx
mov ecx, edi
call fcn.10143ed0
mov ebx, dword [eax]
mov dword [esp + 0xa0], 1
test ebx, ebx
mov dword [esp + 0x14], 0
je 0x10142eb3
fld qword [ebp + 0x24]
fcomp qword [0x10198a78]
fnstsw ax
test ah, 0x40
jne 0x10142eab
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x10142e53
cmp word [ebx + 0xe], ax
je 0x10142eab
and eax, 0xffff
push eax
call fcn.10143c50
fstp qword [esp + 0x30]
xor edx, edx
mov dx, word [ebx + 0xe]
push edx
call fcn.10143cd0
fcom qword [0x10198a78]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x10142e8a
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x10142eb3
jmp 0x10142e8c
fstp st(0)
fld qword [esp + 0x2c]
fcomp qword [0x10198a78]
fnstsw ax
test ah, 0x40
jne 0x10142eab
fld qword [esp + 0x2c]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x10142eb3
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], 2
call fcn.10077520
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10142fbf
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, edi
call fcn.10143ed0
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.1005fef2
add esp, 8
test eax, eax
sete bl
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], 3
call fcn.10077520
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
test bl, bl
push esi
jne 0x10142fcd
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.10143ed0
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
sete bl
lea ecx, [esp + 0x50]
mov dword [esp + 0xa0], 5
call fcn.10077520
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
test bl, bl
je 0x10142fbf
lea ecx, [esp + 0x68]
push esi
push ecx
mov ecx, edi
call fcn.10143ed0
mov edx, dword [eax]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], 6
call fcn.10077520
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x10142db9
jmp 0x10143010
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
call fcn.10143ed0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0xa0], 4
call fcn.10077520
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10077520
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10143049
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
sete dl
xor ecx, ecx
push edx
mov edx, dword [ebp + 0x20]
test esi, esi
sete cl
push ecx
push eax
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.10142b00
add esp, 0x14
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
lea eax, [eax + ecx + 0x1b]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
add eax, 0x18
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x10142d7c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x98]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret