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

Disassembly:
sub esp, 0x4c
mov edx, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push edx
push dword [esp + 0x64]
mov ecx, dword [esi + 8]
push edx
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1018b4f2
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x78]
mov al, byte [eax + 0xf]
mov byte [esp + 0x60], al
lea esi, [ebx + 4]
mov eax, dword [ebx]
cmp eax, esi
je 0x1018b2ae
push eax
call sym.skottie.dll_void___cdecl_sk_free_void__
add esp, 4
mov ebp, dword [esp + 0x74]
cmp ebp, 0xe
jbe 0x1018b2c4
push 8
push ebp
call fcn.10061340
add esp, 8
jmp 0x1018b2cb
xor eax, eax
test ebp, ebp
cmovne eax, esi
mov esi, dword [esp + 0x7c]
mov ecx, esi
push ebp
mov dword [ebx], eax
call fcn.1018b5d0
mov ebx, dword [esp + 0x68]
xor ecx, ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], ecx
test ebp, ebp
jle 0x1018b4e4
nop word [eax + eax]
mov eax, dword [esi + 4]
lea edi, [ecx*8]
mov edx, dword [esp + 0x70]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x78]
lea ecx, [edi + edx]
mov dword [esp + 0x1c], ecx
mov esi, dword [eax]
add esi, edi
cmp dword [ecx], 0
jne 0x1018b337
mov dword [esi], 0
mov dword [esi + 4], 0
jmp 0x1018b4a1
push dword [esp + 0x64]
call fcn.1016bed0
mov edi, dword [edi + edx + 4]
add esp, 4
imul eax, ebx
test edi, edi
cmove edi, eax
cmp edi, eax
jb 0x1018b4f2
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x64], edx
jne 0x1018b378
cmp edi, eax
je 0x1018b36c
cmp byte [esp + 0x60], 0
jge 0x1018b378
mov dword [esi + 4], edi
mov eax, dword [ecx]
mov dword [esi], eax
jmp 0x1018b4a1
push edx
call fcn.1016bed0
mov ebx, eax
imul ebx, dword [esp + 0x14]
mov ecx, ebx
imul ecx, dword [esp + 0x6c]
push ecx
call fcn.1037e0f1
mov ecx, dword [ebp]
add esp, 8
mov dword [ebp], eax
test ecx, ecx
je 0x1018b3ab
push ecx
call fcn.100550c0
mov eax, dword [ebp]
add esp, 4
push ecx
mov dword [esi], eax
lea ecx, [esp + 0x44]
mov eax, esp
mov dword [esi + 4], ebx
push 3
push dword [esp + 0x6c]
mov dword [eax], 0
call fcn.10129f00
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
push ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x28]
mov eax, esp
mov dword [esp + 0x58], esi
push 3
push dword [esp + 0x1c]
mov dword [eax], 0
call fcn.10129f00
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push 0
push edi
mov dword [esp + 0x40], esi
push dword [eax]
lea eax, [esp + 0x4c]
push eax
push ebx
push dword [ebp]
lea eax, [esp + 0x3c]
push eax
call fcn.100e4050
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov bl, al
test ecx, ecx
je 0x1018b439
lea edx, [ecx + 4]
or esi, 0xffffffff
lock xadd dword [edx], esi
cmp esi, 1
jne 0x1018b439
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1018b45b
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1018b45b
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1018b477
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1018b477
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1018b499
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1018b499
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
test bl, bl
je 0x1018b4f2
mov ebx, dword [esp + 0x10]
mov eax, ebx
mov esi, dword [esp + 0x7c]
cdq
mov ecx, 1
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x68]
sar ebx, 1
cmp ebx, 1
cdq
cmovl ebx, ecx
sub eax, edx
mov edx, eax
mov dword [esp + 0x10], ebx
sar edx, 1
cmp edx, ecx
cmovl edx, ecx
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x74]
jl 0x1018b300
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret 0x20