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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
push edi
lea edi, [ebp - 0xe0]
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.009c26f9
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xa21c5a
jmp 0xa22775
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 8]
mov byte [edx + 0x8c], cl
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x8c]
test eax, eax
je 0xa21cf6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
mov edx, dword [ebp + 8]
add edx, 0x90
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xa0], eax
mov dword [edx + 0xa4], ecx
mov eax, dword [ebp + 8]
add eax, 0x90
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00a281e3
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa0
push edx
call fcn.009c825a
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xdc], 0x636f6d70
je 0xa22147
cmp dword [ebp - 0xdc], 0x6f75746c
je 0xa21d3b
jmp 0xa224ef
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x8c]
test eax, eax
je 0xa21d6d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x6c
push edx
call fcn.009c7f21
add esp, 0xc
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x6e]
add ecx, 4
test ecx, ecx
je 0xa21d9e
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x16]
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0x3a]
add eax, edx
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6e]
lea eax, [eax + edx + 4]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
jg 0xa21dd6
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x6c]
test eax, eax
je 0xa21dca
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x38]
add edx, ecx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x6c]
add edx, ecx
mov eax, dword [ebp - 0x10]
cmp edx, dword [eax + 8]
jg 0xa21dd6
mov dword [ebp - 0xe0], 0
jmp 0xa21dfb
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6c]
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x6e]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.009c16fa
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xa21e0f
jmp 0xa22775
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6e]
shl edx, 3
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3c]
push eax
call fcn.00a2b930
add esp, 0xc
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6c]
shl edx, 1
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
push eax
call fcn.00a2b930
add esp, 0xc
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6e]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x74]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
push eax
call fcn.00a2b930
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x6e]
mov word [ecx + 0x3a], ax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x6c]
mov word [ecx + 0x38], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ecx + 0xa8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xac], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.009c0f60
add esp, 8
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xb4], ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x6e]
test eax, eax
jne 0xa21eec
jmp 0xa224f6
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x38
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
call dword [edx + 0x1c]
add esp, 0xc
cmp esi, esp
call fcn.00a334d7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 1
je 0xa220c2
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x30
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + edx - 0x30]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xc], 1
jle 0xa2205b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x68]
and ecx, 4
test ecx, ecx
jne 0xa2205b
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0xb0]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x40], 0x18
jge 0xa21fa7
mov eax, dword [ebp - 0x44]
sub eax, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x38], 0x18
jge 0xa21fb6
mov ecx, dword [ebp - 0x48]
add ecx, 8
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x44]
add edx, 0x20
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp + 8]
mov dword [edx + 0xb0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
cmp ecx, dword [ebp - 0x3c]
jl 0xa22003
cmp dword [ebp - 0x40], 0
jle 0xa22003
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
sub eax, 0x40
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0xb0]
cmp ecx, dword [eax + 8]
jg 0xa2202f
cmp dword [ebp - 0x38], 0
jle 0xa2202f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
add eax, 0x40
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x94], eax
jmp 0xa220c0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb0]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x50]
add eax, 0x20
and al, 0xc0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x54]
add edx, 0x20
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xb0], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov dword [eax + 0x90], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb0]
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], edx
jmp 0xa22136
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb0]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + eax + 0x20]
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edx + 0x20]
and ecx, 0xffffffc0
mov edx, dword [ebp + 8]
mov dword [edx + 0xb0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb0]
sub ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.009c1a51
add esp, 4
jmp 0xa224f6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x16]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.009c18f9
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xa2217b
jmp 0xa22775
mov ecx, dword [ebp - 0x68]
shl ecx, 5
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x58]
push edx
call fcn.00a2b930
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0
jmp 0xa221bf
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 0x68]
jae 0xa224ed
mov eax, dword [ebp - 0x60]
shl eax, 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
add edx, eax
mov eax, dword [ebp - 0x70]
shl eax, 5
add edx, eax
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov eax, dword [ecx + 0xac]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb0]
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0x16]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp + 0x18]
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00a21be0
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xa2224a
jmp 0xa22775
mov eax, dword [ebp - 0x60]
shl eax, 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
add edx, eax
mov eax, dword [ebp - 0x70]
shl eax, 5
add edx, eax
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov dx, word [ecx + 4]
and edx, 0x200
test edx, edx
je 0xa222a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
mov edx, dword [eax + 0xac]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb0]
mov edx, dword [eax + 0xb4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
jmp 0xa222cc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 0xa8], ecx
mov edx, dword [ebp - 0x74]
mov dword [eax + 0xac], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0xb0], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x16]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
sub edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov cx, word [eax + 4]
and ecx, 0xc8
test ecx, ecx
je 0xa2235f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x84]
lea edx, [eax + ecx*8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x9c]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x98], edx
jmp 0xa22339
mov eax, dword [ebp - 0x9c]
add eax, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x98]
jae 0xa2235f
mov edx, dword [ebp - 0x6c]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.009c825a
add esp, 8
jmp 0xa2232a
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov dx, word [ecx + 4]
and edx, 2
test edx, edx
jne 0xa2242e
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0xa8]
cmp ecx, dword [ebp - 0x84]
jae 0xa223aa
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0x88]
jb 0xa223b6
mov dword [ebp - 0x18], 0x15
jmp 0xa22775
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x64]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0xa8]
lea eax, [ecx + edx*8]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x64]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0xac]
lea eax, [ecx + edx*8]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ecx]
sub eax, dword [edx]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
mov dword [ebp - 0x90], eax
jmp 0xa22495
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 8]
push ecx
call fcn.009c0f60
add esp, 8
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xc]
push eax
call fcn.009c0f60
add esp, 8
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x8c]
add edx, 0x20
and edx, 0xffffffc0
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x90]
add eax, 0x20
and al, 0xc0
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov ecx, 5
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0xbc]
lea eax, [edx + ecx*8]
mov dword [ebp - 0xbc], eax
mov cx, word [ebp - 0x88]
mov word [ebp - 0xbe], cx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.009c7f21
add esp, 0xc
jmp 0xa221b6
jmp 0xa224f6
mov dword [ebp - 0x18], 7
cmp dword [ebp + 0x18], 0
jne 0xa22775
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x2c]
sub ecx, dword [eax + 0x20]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
sub ecx, dword [eax + 0x24]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.009c0f60
add esp, 8
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.009c0f60
add esp, 8
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x8c]
test eax, eax
je 0xa2259c
mov ecx, dword [ebp + 8]
add ecx, 0x90
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x14
push edx
call fcn.009c8300
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x90
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.009c825a
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa8], 0
je 0xa225c5
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
neg ecx
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x14
push edx
call fcn.009c7f21
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
call fcn.009c7dfa
add esp, 8
mov edx, dword [ebp - 0xd0]
and edx, 0xffffffc0
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xcc]
and al, 0xc0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x3f
and ecx, 0xffffffc0
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc4]
add edx, 0x3f
and edx, 0xffffffc0
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc4]
sub edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0xd0]
add edx, dword [ebp - 0xd8]
and edx, 0xffffffc0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0xd4]
and ecx, 0xffffffc0
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
jne 0xa226b5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0xa226b3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0xb0]
sub eax, dword [edx + 0xa8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
jmp 0xa226eb
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
call fcn.009c0f60
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
push ecx
call fcn.009c0f60
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call fcn.009c142e
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call fcn.009c1b2b
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xa22756
jmp 0xa22775
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
add esi, 0x14
mov edi, dword [ebp - 4]
add edi, 0x6c
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0x6f75746c
mov eax, dword [ebp - 0x18]
pop edi
pop esi
add esp, 0xe0
cmp ebp, esp
call fcn.00a334d7
mov esp, ebp
pop ebp
ret