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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
mov esi, dword [ecx + 0x74]
mov eax, ecx
test esi, esi
mov dword [esp + 8], edx
push edi
cmovne eax, esi
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x100822ab
mov edi, dword [ebp + 0xc]
cmp dword [eax], edx
jne 0x100822a4
cmp dword [eax + 0xc], edi
je 0x10082617
mov eax, dword [eax + 4]
test eax, eax
jne 0x10082297
mov edi, dword [ecx]
test esi, esi
mov eax, ecx
mov dword [esp + 0x14], edi
cmovne eax, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
push 0
push 0x18
test edi, edi
je 0x100822db
mov ecx, edi
call fcn.10005060
mov esi, eax
mov dword [esp + 0x34], esi
jmp 0x100822e6
call fcn.100049e0
mov esi, eax
mov dword [esp + 0x34], eax
add esp, 8
test esi, esi
je 0x10082615
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
movq qword [esi + 0x10], xmm0
mov eax, dword [ecx + 0x7c]
mov dword [esi + 4], eax
mov dword [ecx + 0x7c], esi
push 0x1c
test edi, edi
je 0x10082320
mov ecx, edi
call fcn.10005060
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x1008232b
call fcn.100049e0
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 8
test edx, edx
je 0x10082612
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
push 0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [esi + 8], edx
mov ecx, dword [ecx + 8]
push 0x10c
mov eax, dword [ecx + 0xe0]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xe0], edx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
test edi, edi
je 0x1008238f
mov ecx, edi
call fcn.10005060
jmp 0x10082394
call fcn.100049e0
mov edi, eax
add esp, 8
test edi, edi
je 0x10082615
push 0x10c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x28]
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x30], edi
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0xc]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [edi + 0xf4], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 8]
mov byte [edi + 0x94], al
mov eax, dword [edx + 0x88]
mov dword [edi + 0x88], eax
movzx eax, byte [edx + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10082428
mov ecx, edi
call fcn.10028fb0
mov dword [esp + 0x10], eax
test eax, eax
je 0x100825f8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10082494
push eax
push str.___TRIGGER__s
push ecx
call fcn.10007ea0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x24], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x53], 0
je 0x1008245e
test eax, eax
je 0x10082494
mov edx, eax
call fcn.10004cc0
jmp 0x10082494
mov eax, dword [edx + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
je 0x10082489
push 0xfffffffffffffff9
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.1002a2c0
add esp, 8
jmp 0x10082494
test eax, eax
je 0x10082494
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf9
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x10082501
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.100427c0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
cmp byte [eax + 0x53], 0
jne 0x100824f0
mov edx, ecx
lea ecx, [esp + 0x30]
call fcn.100403f0
test eax, eax
jne 0x100824e8
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
push edi
call fcn.10049090
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x100824fd
mov edx, ecx
mov ecx, eax
call fcn.10042580
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.10081fa0
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x10082549
mov edx, dword [esp + 0x10]
not eax
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008253c
push dword [esp + 0x18]
call fcn.10029c70
add esp, 4
jmp 0x10082549
mov eax, dword [edx + 0x74]
mov ecx, dword [ecx + 0x40]
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
mov edx, 0x45
call fcn.10029300
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 4]
cmp dword [ecx + 0x24], 0
jne 0x10082575
mov dword [ecx + 4], edx
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x10082584
test edx, edx
je 0x10082584
mov ecx, dword [edi]
call fcn.10004cc0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x53], 0
jne 0x100825c6
cmp dword [ecx + 0x24], 0
jne 0x100825c6
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x70]
lea edx, [edx + 0x60]
call fcn.10029d70
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x74]
mov dword [edx + 4], eax
mov dword [ecx + 0x70], 0
mov dword [edx], esi
mov esi, dword [esp + 0x2c]
jmp 0x100825ca
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x90]
mov dword [esi + 0x14], eax
call fcn.1002d1d0
mov ecx, edi
call fcn.100718a0
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10004cc0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 8], edx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret