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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x74]
test eax, eax
push esi
mov esi, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, ecx
push edi
cmovne edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], 0
push 0
push 0x18
test esi, esi
je 0x49e261
mov ecx, esi
call fcn.0042ca80
mov edi, eax
mov dword [esp + 0x30], edi
jmp 0x49e26c
call fcn.0042c4a0
mov edi, eax
mov dword [esp + 0x30], eax
add esp, 8
test edi, edi
je 0x49e699
mov ecx, dword [esp + 0x20]
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 0x49e2ac
mov ecx, esi
call fcn.0042ca80
mov edx, eax
mov dword [esp + 0x2c], edx
jmp 0x49e2b7
call fcn.0042c4a0
mov edx, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edx, edx
je 0x49e696
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
push 0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
mov ecx, dword [ecx + 8]
push 0x114
mov eax, dword [ecx + 0xd8]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xd8], edx
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
test esi, esi
je 0x49e31b
mov ecx, esi
call fcn.0042ca80
jmp 0x49e320
call fcn.0042c4a0
mov edi, eax
add esp, 8
test edi, edi
je 0x49e699
push 0x70
lea eax, [edi + 4]
push 0
push eax
call fcn.004e0bd0
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x98
push 0
push eax
call fcn.004e0bd0
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add 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 + 0x20]
mov dword [edi + 0x74], eax
mov dword [edi], esi
mov eax, dword [ecx]
mov dword [edi + 0xf0], eax
movzx eax, byte [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0x90], al
mov eax, dword [ecx + 0x84]
mov dword [edi + 0x84], eax
movzx eax, byte [ecx + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [edi + 8]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x49e3bb
mov ecx, edi
call fcn.0044cdd0
mov dword [esp + 0xc], eax
test eax, eax
je 0x49e613
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x49e42a
push eax
push str.___TRIGGER__s
push esi
call fcn.0042f000
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x49e3f4
push eax
mov edx, 0xfffffff9
call fcn.0044d880
add esp, 4
jmp 0x49e42a
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 + 0x10]
je 0x49e41f
push 0xfffffffffffffff9
lea edx, [ecx - 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0044da00
add esp, 8
jmp 0x49e42a
test eax, eax
je 0x49e42a
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf9
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x49e486
push 0
push 0
mov ecx, esi
call fcn.00464500
add esp, 8
mov dword [esp + 0x10], eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.00462e30
test eax, eax
jne 0x49e475
cmp byte [esi + 0x51], al
jne 0x49e475
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push edi
call fcn.0046b160
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49e486
mov edx, eax
mov ecx, esi
call fcn.00464300
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.0049de70
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0xc]
test eax, eax
je 0x49e4da
mov ecx, dword [edx + 0xc]
not eax
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49e4c9
push dword [esp + 0x18]
call fcn.0044d4c0
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x49e4da
mov esi, dword [esp + 0x18]
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x2c]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x49e4fb
mov ecx, dword [esp + 0xc]
mov edx, 0x45
push 0
push 0
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49e52e
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x45
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
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
cmp dword [edx + 0x24], 0
jne 0x49e54c
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
jmp 0x49e59f
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x49e59f
test eax, eax
je 0x49e592
cmp dword [eax + 0x1e8], 0
je 0x49e56e
mov edx, ecx
mov ecx, eax
call fcn.0042c6f0
jmp 0x49e59b
cmp ecx, dword [eax + 0x138]
jb 0x49e592
cmp ecx, dword [eax + 0x13c]
jae 0x49e592
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x134], ecx
jmp 0x49e59f
push ecx
call fcn.0042c680
add esp, 4
mov edx, dword [esp + 0x1c]
cmp byte [esi + 0x51], 0
jne 0x49e5dd
cmp dword [edx + 0x24], 0
jne 0x49e5dd
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x68]
lea edx, [edx + 0x60]
call fcn.0044d510
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x6c]
mov dword [edx + 4], eax
mov dword [ecx + 0x68], 0
mov dword [edx], esi
mov esi, dword [esp + 0x2c]
jmp 0x49e5e1
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x88]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x8c]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0xc]
call fcn.0044fe60
mov ecx, edi
call fcn.0048f960
test esi, esi
je 0x49e678
cmp dword [esi + 0x1e8], 0
je 0x49e645
mov edx, edi
mov ecx, esi
call fcn.0042c6f0
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x138]
jb 0x49e678
cmp edi, dword [esi + 0x13c]
jae 0x49e678
mov eax, dword [esi + 0x134]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x134], edi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042c680
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret