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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x390
mov esi, esp
mov dword [esi + 0x378], ebp
mov dword [esi + 0x37c], esp
mov dword [esi + 0x388], 0xffffffff
mov dword [esi + 0x384], 0x100a16a0
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x380]
mov ecx, dword fs:[0]
mov dword [esi + 0x380], ecx
mov dword fs:[0], eax
cmp dword [ebx + 0x20], 9
je 0x100a068a
lea edi, [ebx + 0x20]
lea eax, [esi + 0x10]
push dword [ebp + 0x10]
push ebx
push eax
call fcn.100cd750
add esp, 0xc
cmp byte [esi + 0x48], 3
jne 0x1009fa6c
lea eax, [esi + 0x4c]
push dword [ebp + 0x10]
push edi
push eax
call fcn.10039fb0
add esp, 0xc
cmp byte [esi + 0x84], 3
jne 0x1009fd23
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 0xa
jmp 0x100a04d3
movsd xmm2, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x30]
mov eax, dword [esi + 0x48]
movsd xmm0, qword [esi + 0x40]
movsd qword [esi + 0xb0], xmm2
movsd qword [esi + 0xa8], xmm1
movsd xmm2, qword [esi + 0x28]
movsd xmm1, qword [esi + 0x20]
mov dword [esi + 0xc0], eax
mov eax, dword [edi]
movsd qword [esi + 0xb8], xmm0
mov dword [edi], 9
movsd qword [esi + 0xa0], xmm2
movsd qword [esi + 0x98], xmm1
movsd xmm2, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
cmp eax, 9
movsd qword [esi + 0x90], xmm1
movsd qword [esi + 0x88], xmm2
je 0x100a069b
movsd xmm1, qword [ebx + 0x10]
movsd xmm0, qword [ebx + 0x18]
movsd xmm2, qword [ebx]
lea ecx, [ebx + 0x24]
lea edi, [esi + 0x108]
movsd qword [esi + 0xf8], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0x100], xmm0
movsd qword [esi + 0xe8], xmm2
movsd qword [esi + 0xf0], xmm1
mov dword [esi + 0x108], eax
lea eax, [esi + 0x10c]
push 0x114
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x260]
push 0x118
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x18]
movsd xmm2, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x10]
mov eax, dword [esi + 0x48]
movsd qword [esi + 0x228], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x238], xmm2
movsd xmm2, qword [esi + 0x38]
mov dword [esi + 0x258], eax
movsd qword [esi + 0x220], xmm0
lea eax, [esi + 0x220]
movsd qword [esi + 0x230], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x248], xmm2
movsd qword [esi + 0x240], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x250], xmm1
push 0x158
push eax
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0xe8]
mov dword [esi + 0x388], 3
push eax
call fcn.100cce50
add esp, 4
cmp byte [esi + 0xe8], 2
jb 0x1009fc22
mov edi, dword [esi + 0xec]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [eax + 0x10]
mov dword [esi + 0x388], 2
push edx
push ecx
push edi
call eax
add esp, 0xc
push 4
push 0x10
push dword [esi + 4]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0xf0]
mov edi, dword [esi + 0xf8]
mov ecx, dword [esi + 0xf4]
lea edx, [esi + 0xfc]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x388], 1
push edi
push ecx
push edx
call eax
add esp, 0xc
mov eax, dword [esi + 0x100]
test eax, eax
je 0x1009fc77
lock dec dword [eax]
jne 0x1009fc77
lea eax, [esi + 0x100]
mov dword [esi + 0x388], 0
push eax
call fcn.1004e260
add esp, 4
mov edi, dword [esi + 0x104]
test edi, edi
je 0x100a04d3
mov al, 1
mov bl, 1
xchg byte [edi + 0x40], al
mov al, 1
xchg byte [edi + 0x30], al
test al, al
jne 0x1009fcc6
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
xor edx, edx
mov dword [edi + 0x28], 0
xchg byte [edi + 0x30], dl
test ecx, ecx
je 0x1009fcc6
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x388], 4
push eax
mov dword [esi + 4], edi
call ecx
mov edi, dword [esi + 4]
mov bl, 1
add esp, 4
xchg byte [edi + 0x3c], bl
test bl, bl
jne 0x1009fcf6
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
xor edx, edx
mov dword [edi + 0x34], 0
xchg byte [edi + 0x3c], dl
test ecx, ecx
je 0x1009fcf6
mov ecx, dword [ecx + 4]
mov dword [esi + 0x388], 4
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0x104]
lock dec dword [eax]
jne 0x100a04d3
lea eax, [esi + 0x104]
mov dword [esi + 0x388], 0xffffffff
push eax
call fcn.1004f250
add esp, 4
jmp 0x100a04d3
movsd xmm2, qword [esi + 0x74]
movsd xmm1, qword [esi + 0x6c]
mov ecx, dword [edi]
mov eax, dword [esi + 0x84]
movsd xmm0, qword [esi + 0x7c]
mov dword [edi], 9
movsd qword [esi + 0x38], xmm2
movsd qword [esi + 0x30], xmm1
movsd xmm2, qword [esi + 0x64]
movsd xmm1, qword [esi + 0x5c]
cmp ecx, 9
mov dword [esi + 0x48], eax
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x28], xmm2
movsd qword [esi + 0x20], xmm1
movsd xmm2, qword [esi + 0x4c]
movsd xmm1, qword [esi + 0x54]
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm2
je 0x100a06bb
movsd xmm1, qword [ebx + 0x10]
movsd xmm0, qword [ebx + 0x18]
movsd xmm2, qword [ebx]
lea eax, [ebx + 0x24]
lea edx, [esi + 0x10c]
movsd qword [esi + 0xf8], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0x100], xmm0
movsd qword [esi + 0xe8], xmm2
movsd qword [esi + 0xf0], xmm1
mov dword [esi + 0x108], ecx
push 0x114
push eax
push edx
mov dword [esi + 4], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebx + 8]
movsd xmm0, qword [ebx]
movsd xmm2, qword [ebx + 0x18]
mov eax, dword [esi + 0x84]
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x88]
movsd qword [esi + 0xcc], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esi + 0xdc], xmm2
movsd qword [esi + 0xc4], xmm0
movsd xmm2, qword [esi + 0x74]
movsd qword [esi + 0xd4], xmm1
movsd xmm1, qword [esi + 0x7c]
movsd qword [esi + 0xb0], xmm2
movsd xmm2, qword [esi + 0x64]
mov dword [esi + 0xc0], eax
lea eax, [edi + 0x44]
movsd qword [esi + 0xb8], xmm1
movsd xmm1, qword [esi + 0x6c]
movsd qword [esi + 0xa0], xmm2
movsd xmm2, qword [esi + 0x4c]
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [esi + 0x5c]
movsd qword [esi + 0x88], xmm2
movsd qword [esi + 0x98], xmm1
movsd xmm1, qword [esi + 0x54]
movsd qword [esi + 0x90], xmm1
push 0x5c
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esi + 4]
add esp, 0xc
lea ecx, [edx - 6]
mov eax, 1
mov dword [edi + 0x40], 9
cmp ecx, 3
cmovb eax, ecx
cmp eax, 1
je 0x1009ffcf
test eax, eax
jne 0x100a04d3
mov eax, dword [esi + 0x214]
test eax, eax
je 0x1009feda
lock dec dword [eax]
jne 0x1009feda
lea eax, [esi + 0x214]
mov dword [esi + 0x388], 0xb
push eax
call fcn.1004e260
add esp, 4
cmp byte [esi + 0x1c8], 2
jb 0x1009ff1b
mov edi, dword [esi + 0x1cc]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [eax + 0x10]
mov dword [esi + 0x388], 0xa
push edx
push ecx
push edi
call eax
add esp, 0xc
push 4
push 0x10
push dword [esi + 4]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x1d0]
mov edi, dword [esi + 0x1d8]
mov ecx, dword [esi + 0x1d4]
lea edx, [esi + 0x1dc]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x388], 9
push edi
push ecx
push edx
call eax
add esp, 0xc
lea ecx, [esi + 0x110]
mov dword [esi + 0x388], 8
call fcn.1002e3f0
lea ecx, [esi + 0x1e8]
mov dword [esi + 0x388], 7
call fcn.1002d4e0
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x1009ff9a
lock dec dword [eax]
jne 0x1009ff9a
lea eax, [esi + 0x1b0]
mov dword [esi + 0x388], 6
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x100a04d3
lock dec dword [eax]
jne 0x100a04d3
lea eax, [esi + 0x1e0]
mov dword [esi + 0x388], 0xffffffff
push eax
call fcn.100077c0
add esp, 4
jmp 0x100a04d3
lea edi, [esi + 0x10c]
cmp edx, 5
jne 0x1009fff3
cmp byte [esi + 0x144], 3
je 0x100a04d3
mov ecx, edi
call fcn.1009bea0
jmp 0x100a04d3
lea ecx, [edx - 3]
xor eax, eax
add edx, 0xfffffffe
cmp ecx, 2
cmovb eax, edx
cmp eax, 1
je 0x100a0067
test eax, eax
jne 0x100a04d3
cmp dword [esi + 4], 2
je 0x100a04d3
mov eax, dword [esi + 0x1a0]
cmp eax, 3
je 0x100a01f8
cmp eax, 1
je 0x100a01aa
test eax, eax
jne 0x100a01f8
lea ecx, [esi + 0x1d0]
mov dword [esi + 0x388], 0xd
call fcn.1002e3f0
lea ecx, [esi + 0x1a4]
mov dword [esi + 0x388], 0xc
call fcn.1002d4e0
jmp 0x100a01f8
movzx eax, byte [esi + 0x144]
cmp eax, 3
je 0x100a04d3
cmp eax, 4
jne 0x1009ffe7
mov edi, dword [esi + 0x10c]
movzx eax, byte [edi + 0xad]
mov dword [esi + 4], edi
test eax, eax
je 0x100a0212
cmp eax, 3
je 0x100a0116
cmp eax, 4
jne 0x100a04c1
mov ecx, dword [esi + 4]
movzx eax, byte [ecx + 0xd0]
test eax, eax
je 0x100a03aa
cmp eax, 3
jne 0x100a040b
mov eax, dword [esi + 4]
cmp byte [eax + 0xc0], 2
je 0x100a040b
mov eax, dword [esi + 4]
add eax, 0xb8
mov ecx, dword [eax]
lock dec dword [ecx]
jne 0x100a00f3
mov dword [esi + 0x388], 0x17
push eax
call fcn.1004f210
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x16
add eax, 0xbc
mov dword [esi + 8], eax
push eax
call fcn.100448f0
add esp, 4
jmp 0x100a03ee
movzx eax, byte [edi + 0x2f0]
cmp eax, 3
je 0x100a02f0
test eax, eax
jne 0x100a0417
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x100a015b
lock dec dword [eax]
jne 0x100a015b
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x26
add eax, 0x108
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
mov eax, dword [eax + 0x2dc]
mov dword [esi + 0xc], eax
mov eax, dword [eax]
mov dword [esi + 8], ecx
test eax, eax
je 0x100a0188
mov dword [esi + 0x388], 0x25
push dword [esi + 8]
call eax
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100a0417
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.10013460
add esp, 0xc
jmp 0x100a0417
mov eax, dword [esi + 0x1a4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x100a01d4
mov dword [esi + 0x388], 0xe
push dword [esi + 4]
call eax
add esp, 4
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x100a01f8
push dword [edx + 8]
push eax
push ecx
call fcn.10013460
add esp, 0xc
mov dword [esi + 0x388], 0xffffffff
lea ecx, [esi + 0x108]
mov dword [esi + 0x388], 0xffffffff
call fcn.1002cb00
jmp 0x100a04d3
mov eax, dword [edi + 0x50]
test eax, eax
je 0x100a0237
lock dec dword [eax]
jne 0x100a0237
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x2c
add eax, 0x50
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov dword [esi + 0xc], eax
mov eax, dword [eax]
mov dword [esi + 8], ecx
test eax, eax
je 0x100a0264
mov dword [esi + 0x388], 0x2b
push dword [esi + 8]
call eax
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x100a027e
push dword [edx + 8]
push eax
push ecx
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x100a02a6
lock dec dword [eax]
jne 0x100a02a6
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x29
add eax, 0x78
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x100a02d3
lock dec dword [eax]
jne 0x100a02d3
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x28
add eax, 0xa8
push eax
call fcn.1004e260
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x27
lea ecx, [eax + 0x8c]
call fcn.1002b080
jmp 0x100a04ac
movzx eax, byte [edi + 0x2d5]
cmp eax, 3
je 0x100a04ea
test eax, eax
jne 0x100a05e5
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c8]
mov eax, dword [eax + 0x2cc]
mov dword [esi + 0xc], eax
mov eax, dword [eax]
mov dword [esi + 8], ecx
test eax, eax
je 0x100a0335
mov dword [esi + 0x388], 0x24
push dword [esi + 8]
call eax
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100a0358
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.10013460
add esp, 0xc
mov dword [esi + 0x388], 0x23
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x23
lea ecx, [eax + 0x2b8]
call fcn.1002c3c0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2a0]
test eax, eax
je 0x100a05e5
lock dec dword [eax]
jne 0x100a05e5
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x1d
add eax, 0x2a0
push eax
call fcn.100077c0
add esp, 4
jmp 0x100a05e5
mov eax, dword [ecx + 0xc4]
lock dec dword [eax]
jne 0x100a03d0
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x19
add eax, 0xc4
push eax
call fcn.1004f210
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x18
add eax, 0xc8
mov dword [esi + 8], eax
push eax
call fcn.100448f0
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x100a040b
mov dword [esi + 0x388], 0x15
push ecx
call fcn.1004f100
add esp, 4
mov eax, dword [esi + 4]
mov word [eax + 0xae], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x100a043f
lock dec dword [eax]
jne 0x100a043f
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x13
add eax, 0x50
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x100a0467
lock dec dword [eax]
jne 0x100a0467
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x12
add eax, 0x78
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x100a0494
lock dec dword [eax]
jne 0x100a0494
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x11
add eax, 0xa8
push eax
call fcn.1004e260
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x10
lea ecx, [eax + 0x8c]
call fcn.1002b080
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0xf
lea ecx, [eax + 0x68]
call fcn.1002f370
push 8
push 0x2f8
push dword [esi + 4]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x380]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [edi + 0x29c]
cmp eax, 3
je 0x100a0549
test eax, eax
jne 0x100a0599
mov eax, dword [edi + 0x270]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x274]
mov dword [esi + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x100a0528
mov dword [esi + 0x388], 0x22
push dword [esi + 0xc]
call eax
add esp, 4
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x100a0599
mov ecx, dword [esi + 8]
push dword [ecx + 8]
push eax
push dword [esi + 0xc]
call fcn.10013460
add esp, 0xc
jmp 0x100a0599
mov eax, dword [edi + 0x27c]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x280]
mov dword [esi + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x100a0573
mov dword [esi + 0x388], 0x21
push dword [esi + 0xc]
call eax
add esp, 4
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x100a058f
mov ecx, dword [esi + 8]
push dword [ecx + 8]
push eax
push dword [esi + 0xc]
call fcn.10013460
add esp, 0xc
mov edi, dword [esi + 4]
mov byte [edi + 0x29d], 0
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x100a05c3
lock dec dword [eax]
jne 0x100a05c3
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x1f
add eax, 0x2b0
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x1e
lea ecx, [eax + 0x2a8]
call fcn.1002c3c0
mov eax, dword [esi + 4]
mov byte [eax + 0x2d4], 0
mov eax, dword [esi + 4]
mov byte [eax + 0x2f1], 0
mov eax, dword [eax + 0x2e4]
lock dec dword [eax]
jne 0x100a0615
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x1c
add eax, 0x2e4
push eax
call fcn.1004f210
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x1b
add eax, 0x2e8
mov dword [esi + 8], eax
push eax
call fcn.100448f0
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x100a0650
mov dword [esi + 0x388], 0x1a
push ecx
call fcn.1004f100
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x100a0417
lock dec dword [eax]
jne 0x100a0417
mov eax, dword [esi + 4]
mov dword [esi + 0x388], 0x14
add eax, 0x108
push eax
call fcn.100077c0
add esp, 4
jmp 0x100a0417
push 0x101dd6c4
push 0x18
push 0x101dd63c
call fcn.101cc4e0
mov dword [esi + 0x388], 5
push 0x101dd6d4
push 0x28
push 0x101dcf40
call fcn.101cc600
add esp, 0xc
jmp 0x100a06d9
mov dword [esi + 0x388], 0x2d
push 0x101dd6d4
push 0x28
push 0x101dcf40
call fcn.101cc600
add esp, 0xc
ud2