Function at 0x4ade90
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 + 0x10], edx
push edi
cmovne eax, esi
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x104]
test eax, eax
je 0x4aded4
mov edi, dword [ebp + 0xc]
nop word [eax + eax]
cmp dword [eax], edx
jne 0x4adecd
cmp dword [eax + 0xc], edi
je 0x4ae25f
mov eax, dword [eax + 4]
test eax, eax
jne 0x4adec0
test esi, esi
mov dword [esp + 0x18], 0
mov eax, ecx
cmovne eax, esi
mov esi, dword [ecx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], esi
push 0
push 0x18
test esi, esi
je 0x4adf04
mov ecx, esi
call fcn.0043b020
mov edi, eax
mov dword [esp + 0x30], edi
jmp 0x4adf0f
call fcn.0043a970
mov edi, eax
mov dword [esp + 0x30], eax
add esp, 8
test edi, edi
je 0x4ae25d
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 0x104]
mov dword [edi + 4], eax
mov dword [ecx + 0x104], edi
push 0x1c
test esi, esi
je 0x4adf4f
mov ecx, esi
call fcn.0043b020
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4adf5a
call fcn.0043a970
mov esi, eax
mov dword [esp + 0x2c], eax
add esp, 8
test esi, esi
je 0x4adf73
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [edi + 8], esi
test esi, esi
je 0x4ae25d
mov edx, dword [esp + 0x1c]
push 0
push 0x114
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 0xd8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xd8], esi
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
test eax, eax
je 0x4adfc6
mov ecx, eax
call fcn.0043b020
jmp 0x4adfcb
call fcn.0043a970
mov edi, eax
add esp, 8
test edi, edi
je 0x4ae25d
push 0x70
lea eax, [edi + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0xc]
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], ecx
mov dword [edi + 0x74], eax
mov eax, dword [edx]
mov dword [edi + 0xf0], eax
movzx eax, byte [edx + 8]
mov edx, dword [esp + 0x20]
mov byte [edi + 0x90], al
mov eax, dword [edx + 0x84]
mov dword [edi + 0x84], eax
movzx eax, byte [edx + 0x19]
mov edx, dword [edi + 8]
mov byte [edi + 0x19], al
mov dword [esp + 0x10], edx
test edx, edx
jne 0x4ae070
mov ecx, edi
call fcn.00460280
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4ae23f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4ae0df
push eax
push str.___TRIGGER__s
push ecx
call fcn.0043d4e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4ae0a9
push eax
mov edx, 0xfffffff9
call fcn.00461360
add esp, 4
jmp 0x4ae0df
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x2c]
je 0x4ae0d4
push 0xfffffffffffffff9
lea edx, [ecx - 0x14]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00461570
add esp, 8
jmp 0x4ae0df
test eax, eax
je 0x4ae0df
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf9
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x4ae14a
mov ecx, dword [esp + 0xc]
push 0
push 0
call fcn.00478450
add esp, 8
mov dword [esp + 0x2c], eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.004769c0
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x4ae135
cmp byte [eax + 0x51], 0
jne 0x4ae135
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x34]
mov dword [esp + 0x24], eax
push edi
call fcn.0047e860
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4ae146
mov edx, ecx
mov ecx, eax
call fcn.00478210
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004ad770
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4ae192
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 0x4ae185
push dword [esp + 0x18]
call fcn.00460e00
add esp, 4
jmp 0x4ae192
mov eax, dword [edx + 0x6c]
mov ecx, dword [ecx + 0x40]
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
mov edx, 0x44
call fcn.004606a0
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
cmp dword [ecx + 0x24], 0
jne 0x4ae1be
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 0x4ae1cd
test edx, edx
je 0x4ae1cd
mov ecx, dword [edi]
call fcn.0043acb0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x51], 0
jne 0x4ae20b
cmp dword [ecx + 0x24], 0
jne 0x4ae20b
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x1c]
add edx, 0x60
mov esi, dword [eax + 0x68]
call fcn.00460ec0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0x6c]
mov dword [ecx + 4], eax
mov dword [edx + 0x68], 0
mov dword [ecx], esi
mov esi, ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0x88]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x14], eax
call fcn.00463d50
jmp 0x4ae243
mov esi, dword [esp + 0x28]
mov ecx, edi
call fcn.004a01d0
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.0043acb0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret