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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x470], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x2c]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x24], eax
cmp dword [edi + 0x5cf90], 2
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], eax
je 0x10144bed
mov eax, dword [ebx + 0x10b0]
mov dword [esp + 0x18], 0
mov byte [esp + 0xf], 1
mov esi, dword [eax]
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov byte [esi + 5], al
mov byte [esi + 0x53], 1
mov byte [esi + 0x86], al
cmp dword [ebx + 0x1e430], eax
je 0x101448e9
mov eax, dword [ebx + 0x1e434]
cmp byte [eax + 0x53], 0
je 0x10144bed
xor al, al
xor edx, edx
mov byte [esp + 0xe], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov byte [esi + 0x52], al
cmp dword [edi + 0x5cf90], 1
jne 0x10144929
movzx edx, byte [ebp + 0x28]
mov eax, 1
mov ecx, dword [esp + 0x10]
shl eax, cl
test byte [edx + 0x10797834], al
mov edx, ecx
je 0x10144b81
cmp dword [ebx + 0x1e430], 0
je 0x10144945
mov eax, dword [ebx + 0x1e434]
mov cl, byte [esp + 0xe]
cmp cl, byte [eax + 0x52]
jne 0x10144b81
mov edx, dword [ebp + 0x20]
push 1
mov al, byte [edx + 0x10798830]
movzx ecx, al
cmp al, 3
mov eax, 3
cmova ecx, eax
lea eax, [edi + 0x3abf0]
mov byte [esp + 0x40], cl
push dword [esp + 0x40]
push edx
push 0
push ebx
push eax
call fcn.10143e20
mov esi, dword [esp + 0x3c]
add esp, 0x18
mov dword [esp + 0x28], eax
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp ecx, 0xffffffff
jne 0x10144996
cmp esi, 0x7fffffff
je 0x101449c5
mov edi, dword [esp + 0x24]
mov eax, esi
shrd ecx, eax, 2
sar eax, 2
add ecx, dword [edi]
mov edi, dword [esp + 0x1c]
adc eax, esi
cmp edx, eax
jg 0x10144b79
mov eax, dword [esp + 0x28]
jl 0x101449c1
cmp eax, ecx
ja 0x10144b79
mov ecx, dword [esp + 0x20]
cmp edx, esi
jg 0x101449d8
jl 0x101449cf
cmp eax, ecx
jae 0x101449d8
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x30]
mov esi, dword [ebp + 0x20]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x58]
push esi
push eax
push ebx
push edi
call fcn.10220950
add esp, 0x18
cmp dword [esp + 0x50], 0x7fffffff
je 0x10144b79
push 0
push dword [ebp + 0x24]
push esi
push dword [esp + 0x20]
push ebx
push edi
call fcn.10143b90
add eax, dword [esp + 0x68]
add esp, 0x18
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
imul dword [ebx + 0x31cc]
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x58]
add edi, 0x100
adc esi, 0
shld ecx, eax, 7
shrd edi, esi, 9
shl eax, 7
sar esi, 9
add edi, eax
adc esi, ecx
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x3eeb8], 2
jne 0x10144a9c
cmp edi, 0xffffffff
jne 0x10144a65
cmp esi, 0x7fffffff
je 0x10144a9c
push dword [ebp + 0x20]
push ebx
push ecx
call fcn.10144020
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.10511ed0
movsd qword [esp + 0x28], xmm0
fmul qword [esp + 0x28]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
call fcn.10511dd0
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov esi, edx
movzx eax, byte [ecx + 0x5d038]
push 1
push eax
push esi
push edi
push dword [ebp + 0x20]
lea eax, [ecx + 0x3abf0]
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x3c]
push ebx
push eax
call fcn.10145310
mov ecx, dword [esp + 0x64]
add esp, 0x34
cmp esi, dword [ecx + 4]
jg 0x10144b75
jl 0x10144ae0
cmp edi, dword [ecx]
jae 0x10144b75
mov eax, dword [esp + 0x14]
mov dword [ecx], edi
mov edi, dword [esp + 0x38]
mov dword [ecx + 4], esi
mov cl, byte [eax + 0x89]
mov ax, word [eax + 0x52]
mov esi, dword [edi + 0x144]
push esi
push dword [ebx + 0x10c8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x1b], cl
call fcn.105137c0
push esi
lea eax, [ebx + 0x23b81]
push eax
push dword [edi + 0x100]
call fcn.105137c0
mov ecx, dword [esp + 0x58]
add esp, 0x18
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx], eax
mov al, byte [esp + 0x70]
mov edx, dword [esp + 0x10]
mov byte [ecx], al
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x10144b85
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0xe]
inc edx
inc al
mov dword [esp + 0x10], edx
mov byte [esp + 0xe], al
cmp al, 5
jb 0x10144900
test ecx, ecx
je 0x10144bed
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x78]
mov byte [esi + 0x89], al
mov eax, dword [esp + 0x34]
mov word [esi + 0x52], ax
mov eax, dword [esp + 0x38]
mov byte [esi + 5], 0
push dword [eax + 0x144]
push ecx
push dword [eax + 0x140]
call fcn.105137c0
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x47c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret