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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x64]
push 0xc38
push 0
push esi
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x1c], ebx
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push edi
movups xmmword [esp + 0x24], xmm0
lea ebp, [esi + 0x55c]
movups xmmword [esp + 0x34], xmm0
call fcn.102dfcb0
mov ecx, dword [esp + 0x70]
push esi
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x8c]
push 0x103913d8
push edi
mov dword [esp + 0x88], eax
mov dword [esi], ecx
mov dword [esi + 4], edi
mov byte [esi + 0x20], bl
mov dword [esi + 0xc], eax
call fcn.102e0320
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
test bl, bl
je 0x10310c6b
cmp byte [esi + 0x18], 2
jne 0x1031115d
cmp byte [esi + 0x1a], 5
jb 0x1031115d
lea eax, [esp + 0x64]
push eax
push edi
call fcn.102e00d0
mov ecx, dword [esp + 0x6c]
add esp, 8
movzx eax, ax
mov dword [esi + 0x1c], eax
test ecx, ecx
jne 0x10311166
jmp 0x10310ca1
lea eax, [esp + 0x64]
push eax
push edi
call fcn.102e0070
mov ecx, dword [esp + 0x6c]
add esp, 8
test ecx, ecx
jne 0x10311166
cmp byte [esi + 0x18], 1
jne 0x1031115d
cmp byte [esi + 0x1a], 4
jb 0x1031115d
cmp al, 4
ja 0x1031115d
movzx eax, byte [esi + 0x1a]
add eax, dword [esp + 0x6c]
push eax
push edi
call fcn.102dfc20
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311156
test bl, bl
je 0x10310d65
lea ebx, [esi + 0x4d8]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
push edi
movups xmmword [ebx + 0x10], xmm0
mov dword [ebx + 0x20], eax
call fcn.102dfcb0
mov dword [esi + 0x4ec], eax
mov eax, dword [esi + 0x1c]
push eax
push edi
mov dword [esi + 0x4f0], eax
call fcn.102dfc60
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
push dword [esp + 0x78]
lea eax, [esi + 0x6c]
push 1
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
cmp byte [esp + 0x74], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x54c], eax
je 0x10310eed
movzx eax, dx
mov dword [esp + 0x60], eax
test edx, edx
jle 0x10310e48
cmp eax, dword [esi + 0x30]
jb 0x10310e48
mov ecx, 6
jmp 0x10311162
push 0
push 0
lea eax, [esi + 0x24]
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311156
mov eax, dword [esi + 0x30]
cmp eax, 1
jbe 0x10310da0
cmp dword [esi + 0x3c], eax
jae 0x10310da0
cmp byte [esp + 0x74], cl
sete cl
add ecx, 2
jmp 0x10311162
push 0
push 0
lea ebx, [esi + 0x4d8]
push edi
push ebx
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
push eax
push 1
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
push ecx
push 1
lea eax, [esi + 0x6c]
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
lea eax, [esi + 0x558]
push eax
lea eax, [esi + 0x554]
push eax
lea eax, [esi + 0x550]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10313780
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x4e4]
jbe 0x10310d2a
mov ecx, 3
jmp 0x10311162
mov eax, dword [esi + 0x30]
mov dword [esi + 0x10], eax
test edx, edx
js 0x10311166
push dword [esp + 0x70]
cmp byte [esp + 0x7c], 0
mov ecx, 0x3000
push esi
mov eax, 0x1000
cmovne eax, ecx
push eax
push dword [esp + 0x78]
push edi
push dword [esp + 0x74]
push ebx
push ebp
call fcn.10314590
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
mov eax, dword [ebp + 0x70]
add eax, dword [esp + 0x6c]
push eax
push edi
call fcn.102dfc20
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
mov ebx, dword [esp + 0x78]
push ebx
push eax
lea eax, [esi + 0x4b4]
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
cmp dword [ebp + 0x84], 0xffff
jne 0x10310f09
test bl, bl
jne 0x10310f09
mov dword [esi + 0x7e8], eax
jmp 0x10311081
cmp dword [esi + 0x30], 1
mov dword [esp + 0x60], 0
jbe 0x10310e4e
mov ecx, 3
jmp 0x10311162
push dword [ebp + 0xb4]
lea eax, [esi + 0xc24]
push dword [esp + 0x70]
push edi
push eax
call fcn.10313e20
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
mov eax, dword [ebp + 0xa4]
add eax, dword [esp + 0x6c]
push eax
push edi
call fcn.102dfc20
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
push ebx
push eax
lea eax, [esp + 0x40]
push edi
push eax
call fcn.10313450
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
mov eax, dword [esp + 0x44]
cmp eax, 0x100
ja 0x10311062
lea ecx, [esp + 0x64]
mov dword [esi + 0x7e8], eax
push ecx
push 0
push eax
push 0
push 0x28c
push dword [esp + 0x24]
call fcn.102dda70
add esp, 0x18
cmp dword [esp + 0x64], 0
jne 0x10311062
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x10310fcf
lea edx, [esi + 0x7ec]
mov ebx, ecx
nop dword [eax]
mov dword [edx], eax
lea edx, [edx + 4]
add eax, 0x28c
sub ebx, 1
jne 0x10310fc0
xor ebx, ebx
test ecx, ecx
je 0x1031102a
cmp byte [esp + 0x78], bl
lea ebp, [esi + 0x7ec]
mov ecx, 0x4000
mov eax, 0x1000
cmovne eax, ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x70]
push esi
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x48]
push edi
push ebx
push eax
push dword [ebp]
call fcn.10314590
add esp, 0x20
mov dword [esp + 0x64], eax
test eax, eax
jne 0x1031105e
mov ecx, dword [esp + 0x44]
inc ebx
mov eax, dword [esp + 0x10]
add ebp, 4
cmp ebx, ecx
jb 0x10310ff0
lea ebp, [esi + 0x55c]
mov ebx, dword [esp + 0x78]
test bl, bl
je 0x10311037
cmp ecx, 1
jbe 0x10311062
mov eax, dword [ebp + 0xa8]
add eax, dword [esp + 0x6c]
push eax
push edi
push dword [esi + 0x4c0]
lea eax, [esi + 0xbec]
push eax
call fcn.10313900
add esp, 0x10
mov dword [esp + 0x64], eax
jmp 0x10311062
mov ebx, dword [esp + 0x78]
lea eax, [esp + 0x38]
push eax
call fcn.103135a0
mov ecx, dword [esp + 0x68]
add esp, 4
test ecx, ecx
jne 0x10311166
lea ebp, [esi + 0x55c]
cmp dword [ebp + 0x70], 0
jne 0x10311091
mov ecx, 3
jmp 0x10311162
mov eax, dword [esi + 0x4c0]
push 0
mov dword [esi + 0x14], eax
lea eax, [esi + 0x548]
push 0
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.10313780
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
test bl, bl
jne 0x1031113d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1031113d
cmp dword [ebp + 0x84], 0xffff
je 0x103110e1
mov byte [esp + 0x78], 1
cmp byte [esp + 0x74], bl
jne 0x103110e6
mov byte [esp + 0x78], 0
push dword [esp + 0x78]
lea ebx, [esi + 0x49c]
push dword [ebp + 0x68]
push dword [esp + 0x74]
push edi
push eax
push ebx
call fcn.10313ab0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
cmp dword [ebp + 0x84], 0xffff
jne 0x1031113d
push dword [ebp + 0x6c]
lea eax, [esi + 0x90]
push dword [esp + 0x70]
push edi
push dword [esi + 0x14]
push ebx
push eax
call fcn.10314200
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x10311166
push dword [esp + 0x60]
push esi
call fcn.10310b10
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [esi + 0x544], eax
jmp 0x10311166
cmp byte [esp + 0x74], 0
je 0x10311166
mov ecx, 2
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1031119f
cmp dword [esp + 0x34], 0
mov esi, dword [eax + 0x1c]
je 0x10311186
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.102dff10
add esp, 8
push dword [esp + 0x30]
push esi
call fcn.102ddbf0
mov eax, dword [esp + 0x6c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret