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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], esi
push edi
test esi, esi
jne 0x100990f9
mov eax, 0xffffff53
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 0x62e]
test cl, 1
je 0x10099127
sub esp, 8
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100acfb0
add esp, 0x1c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
xor edi, edi
xorps xmm0, xmm0
mov dword [esp + 0x5c], edi
add edx, 5
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 5
test eax, eax
je 0x1009944e
cmp dword [ebp + 0xc], edi
je 0x1009944e
movzx eax, byte [esi + 0x4c9]
add edx, eax
mov dword [esp + 0x60], eax
mov byte [esi + 0x63f], 1
mov eax, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], eax
test cl, 2
je 0x100991ab
add edx, 8
mov dword [esp + 0x2c], 0xd
mov dword [esp + 0x28], edx
mov eax, edx
mov dword [esp + 0x30], 0xd
mov dword [esp + 0x4c], edx
mov cl, byte [esi + 0x4c5]
mov byte [esp + 0x17], cl
cmp cl, 1
jne 0x10099249
movzx edx, word [esi + 0x4c0]
mov dword [esp + 0x50], edx
cmp word [esi + 0x62c], di
jge 0x100991ed
add eax, edx
mov ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
cmp edx, 0x10
jbe 0x100991f8
mov edi, 0xffffff7c
jmp 0x10099453
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
inc eax
xor edx, edx
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x30]
div dword [esp + 0x50]
mov eax, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], eax
movzx eax, word [esi + 0x4c0]
test edx, edx
je 0x10099230
mov edi, eax
sub edi, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x88], edi
xor edi, edi
sub eax, edx
test edx, edx
cmove eax, edx
mov edx, dword [esp + 0x4c]
add edx, eax
mov eax, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], eax
jmp 0x10099261
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x50], edi
xor edi, edi
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x17], 2
jne 0x10099292
cmp byte [esi + 0x4c4], 9
mov eax, 8
movzx edx, word [esi + 0x4c2]
cmovne ecx, eax
sub edx, dword [esp + 0x60]
add edx, dword [esp + 0x4c]
add edx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
mov eax, edx
cmp eax, dword [ebp + 8]
jbe 0x100992a1
mov edi, 0xffffff7c
jmp 0x10099453
test ecx, ecx
je 0x100992de
call fcn.100d1c50
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x100992ba
lea edi, [eax - 0x7d]
jmp 0x1009945e
push dword [esp + 0x18]
push eax
push dword [esi + 0x78]
call fcn.100d1820
mov edi, eax
add esp, 0xc
mov dword [esp + 0x5c], edi
test edi, edi
jne 0x1009945e
mov edx, dword [esp + 0x28]
jmp 0x100992e9
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x4c], eax
sub edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push dword [ebp + 0x14]
mov word [esp + 0xa0], dx
movzx edx, dx
call fcn.10092230
mov ecx, dword [esp + 0x24]
add esp, 0xc
test ecx, ecx
je 0x1009933e
mov eax, 0x10
cmp ecx, eax
cmovb eax, ecx
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
push eax
call fcn.101ec960
mov eax, dword [esp + 0x38]
add esp, 0xc
add eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
push dword [ebp + 0x10]
mov eax, dword [esp + 0x28]
push dword [ebp + 0xc]
add eax, dword [esp + 0x34]
push eax
call fcn.101ec960
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add eax, ecx
cmp dword [ebp + 0x14], 0x16
mov edx, eax
mov dword [esp + 0x2c], eax
mov byte [esi + 0x63f], 2
jne 0x100993a2
cmp dword [ebp + 0x18], 0
je 0x100993a2
mov eax, dword [esp + 0x30]
push dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add eax, ecx
push eax
mov ecx, esi
call fcn.10092170
mov edx, dword [esp + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
test edi, edi
jne 0x1009945e
mov al, byte [esi + 0x4c5]
cmp al, 1
jne 0x100993e7
mov ecx, dword [esp + 0x50]
movzx eax, byte [esp + 0x88]
mov edi, dword [esp + 0x60]
add edi, edx
imul eax, eax, 0x1010101
add edi, dword [esp + 0x24]
lea ecx, [ecx + 1]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x7c]
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esi + 0x4c5]
mov edi, dword [esp + 0x5c]
mov byte [esi + 0x63f], 3
cmp al, 2
je 0x10099422
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
push 0
push 0
push dword [ebp + 0x14]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 0x1b8]
push esi
call eax
add esp, 0x20
mov edi, eax
test edi, edi
jne 0x1009945e
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push dword [esp + 0x98]
add edx, ecx
mov byte [esi + 0x63f], 4
push edx
mov ecx, esi
call fcn.10096d20
add esp, 0xc
mov edi, eax
jmp 0x1009945e
mov edi, 0xffffff53
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x4c], eax
mov byte [esi + 0x63f], 0
test edi, edi
jne 0x1009947f
test byte [esi + 0x62e], 2
je 0x1009947b
xor edx, edx
mov ecx, esi
call fcn.100914b0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100994a7
mov ecx, dword [0x102a8bb4]
push eax
test ecx, ecx
je 0x1009949f
call ecx
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.101f0951
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret