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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
mov eax, esi
mov dword [esp + 0x24], esi
push edi
mov ecx, dword [esi + 0x74]
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x101be544
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp dword [eax], edx
jne 0x101be53d
cmp dword [eax + 0xc], edi
je 0x101be94f
mov eax, dword [eax + 4]
test eax, eax
jne 0x101be530
test ecx, ecx
mov dword [esp + 0x2c], 0
mov eax, esi
cmovne eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov dword [esp + 0x14], eax
push 0
push 0x18
test eax, eax
je 0x101be574
mov ecx, eax
call fcn.10236dd0
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x101be57f
call fcn.102373b0
mov edi, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edi, edi
je 0x101be944
mov ecx, dword [esp + 0x18]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x7c], edi
push 0x1c
test eax, eax
je 0x101be5bd
mov ecx, eax
call fcn.10236dd0
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x101be5c8
call fcn.102373b0
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 8
test edx, edx
je 0x101be5e1
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
test edx, edx
je 0x101be944
mov ecx, dword [esp + 0x18]
push 0x94
push 0
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0xe0]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x18]
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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x114]
push 0x4c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x50]
mov dword [ecx + 0x10c], eax
mov dword [esp + 0x50], ecx
cmp byte [ecx + 0x57], 0
je 0x101be677
push str.out_of_memory
push eax
call fcn.102339b0
add esp, 8
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x50]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov eax, dword [edi]
mov dword [esp + 0x148], eax
movzx eax, byte [edi + 8]
mov edi, dword [esp + 0x58]
mov byte [esp + 0xe4], al
mov eax, dword [esi + 0x88]
mov dword [esp + 0xd8], eax
movzx eax, byte [esi + 0x19]
movaps xmmword [esp + 0x40], xmm0
mov byte [esp + 0x69], al
test edi, edi
jne 0x101be6e9
lea ecx, [esp + 0x50]
call fcn.10210fc0
mov edi, eax
test edi, edi
je 0x101be8e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x101be753
push ecx
push str.___TRIGGER__s
push dword [esp + 0x1c]
call fcn.10234930
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
cmp byte [ecx + 0x57], 0
je 0x101be71f
push edx
mov edx, 0xfffffffa
call fcn.1020ff90
add esp, 4
jmp 0x101be74f
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 0x101be744
push 0xfffffffffffffffa
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.1020fdd0
add esp, 8
jmp 0x101be74f
test edx, edx
je 0x101be74f
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xfa
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x101be7c9
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.101f7650
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x57], 0
jne 0x101be7b8
mov edx, ecx
lea ecx, [esp + 0x30]
call fcn.101f96c0
test eax, eax
jne 0x101be7b0
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.101f1020
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x101be7c5
mov edx, ecx
mov ecx, eax
call fcn.101f7b00
mov eax, dword [esp + 0x10]
push dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x54]
call fcn.101bed20
mov edx, dword [esp + 0x30]
add esp, 4
test edx, edx
je 0x101be806
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x101be7fd
push edx
mov edx, edi
call fcn.102104a0
add esp, 4
jmp 0x101be806
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, 0x46
mov ecx, edi
call fcn.10210c50
cmp dword [esi + 0x24], 0
jne 0x101be82f
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 0x101be840
mov edx, dword [esp + 0x54]
test edx, edx
je 0x101be840
mov ecx, dword [esp + 0x50]
call fcn.102371f0
cmp dword [esi + 0x24], 0
jne 0x101be870
mov edx, dword [esp + 0x18]
mov ecx, edi
mov esi, dword [edi + 0x68]
lea edx, [edx + 0x60]
call fcn.102102e0
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x6c]
mov dword [ecx + 4], eax
mov dword [edi + 0x68], 0
mov dword [ecx], esi
mov esi, dword [esp + 0x28]
jmp 0x101be874
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
mov edx, edi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xdc]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xe0]
mov dword [ecx + 0x14], eax
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.1020d5c0
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x210], 0
jne 0x101be8dc
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
test edx, edx
je 0x101be8cc
mov dword [edx + 8], eax
jmp 0x101be8cf
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
test edx, edx
je 0x101be8dc
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov edx, edi
jmp 0x101be923
cmp dword [esi + 0x24], 0
jne 0x101be917
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
call fcn.101cdcb0
mov ecx, dword [esi]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x44], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x54]
test edx, edx
je 0x101be928
mov ecx, dword [esp + 0x50]
call fcn.102371f0
lea ecx, [esp + 0x50]
call fcn.101cdcb0
mov ecx, dword [esi]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x44], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x44], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret