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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x10140004]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
push edi
push 0
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x78]
test eax, eax
mov dword [esp + 0x30], 0
cmovne ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
push 0x18
test eax, eax
je 0x1009b03a
mov ecx, eax
call fcn.1001d1c0
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x1009b045
call fcn.1001cb50
mov edi, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edi, edi
je 0x1009b445
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 0x80]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x80], edi
push 0x1c
test eax, eax
je 0x1009b089
mov ecx, eax
call fcn.1001d1c0
mov edx, eax
mov dword [esp + 0x30], edx
jmp 0x1009b094
call fcn.1001cb50
mov edx, eax
mov dword [esp + 0x30], eax
add esp, 8
test edx, edx
je 0x1009b442
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
push 0x9c
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
mov ecx, dword [ecx + 8]
push 0
mov eax, dword [ecx + 0xe0]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xe0], edx
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x5c]
push eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
call fcn.101062c0
add esp, 0xc
lea eax, [esp + 0x11c]
push 0x4c
push 0
push eax
call fcn.101062c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x50]
mov dword [ecx + 0x10c], eax
mov dword [esp + 0x50], ecx
cmp byte [ecx + 0x57], 0
je 0x1009b13f
push str.out_of_memory
push eax
call fcn.10020b80
add esp, 8
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc8], eax
mov eax, dword [edi]
mov dword [esp + 0x150], eax
movzx eax, byte [edi + 8]
mov edi, dword [esp + 0x58]
mov byte [esp + 0xec], al
mov eax, dword [esi + 0x8c]
mov dword [esp + 0xdc], eax
movzx eax, byte [esi + 0x19]
movaps xmmword [esp + 0x40], xmm0
mov byte [esp + 0x69], al
test edi, edi
jne 0x1009b1b2
lea ecx, [esp + 0x50]
call fcn.1003f640
mov edi, eax
test edi, edi
je 0x1009b3d1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x1009b21c
push ecx
push str.___TRIGGER__s
push dword [esp + 0x20]
call fcn.1001fbf0
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
cmp byte [ecx + 0x57], 0
je 0x1009b1e8
push edx
mov edx, 0xfffffffa
call fcn.10040210
add esp, 4
jmp 0x1009b218
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x1009b20d
push 0xfffffffffffffffa
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.100403a0
add esp, 8
jmp 0x1009b218
test edx, edx
je 0x1009b218
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xfa
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1009b292
mov ecx, dword [esp + 0x18]
push 0
push 0
call fcn.10057a20
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x57], 0
jne 0x1009b281
mov edx, ecx
lea ecx, [esp + 0x30]
call fcn.10055d70
test eax, eax
jne 0x1009b279
mov eax, dword [esp + 0x88]
dec eax
push 0x10
push eax
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x5c]
push eax
call fcn.1005f530
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x1009b28e
mov edx, ecx
mov ecx, eax
call fcn.100577f0
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x54]
call fcn.1009ad50
mov edx, dword [esp + 0x30]
add esp, 4
test edx, edx
je 0x1009b2cf
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009b2c6
push edx
mov edx, edi
call fcn.1003fdd0
add esp, 4
jmp 0x1009b2cf
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1009b2ee
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.1003f820
add esp, 0xc
jmp 0x1009b321
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esi + 0x24], 0
jne 0x1009b33e
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
jmp 0x1009b34e
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1001ce80
add esp, 8
cmp dword [esi + 0x24], 0
jne 0x1009b37a
mov edx, dword [esp + 0x20]
mov ecx, edi
mov esi, dword [edi + 0x68]
lea edx, [edx + 0x64]
call fcn.1003fed0
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x6c]
mov dword [ecx + 4], eax
mov dword [edi + 0x68], 0
mov dword [ecx], esi
jmp 0x1009b37e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, edi
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esi + 0x14], eax
call fcn.10042820
lea ecx, [esp + 0x50]
call fcn.10089c50
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
jne 0x1009b40f
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x24]
call fcn.10089c50
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1001ce80
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
add esp, 8
call fcn.10089c50
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x16c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret