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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
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 + 0x10], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0
push 0
push 0x18
test esi, esi
je 0x49c196
mov ecx, esi
call fcn.0041ca80
mov edi, eax
mov dword [esp + 0x30], edi
jmp 0x49c1a1
call fcn.0041c400
mov edi, eax
mov dword [esp + 0x30], eax
add esp, 8
test edi, edi
je 0x49c5c8
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 0x49c1e1
mov ecx, esi
call fcn.0041ca80
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x49c1ec
call fcn.0041c400
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 8
test edx, edx
je 0x49c5c5
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 [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 0x49c250
mov ecx, esi
call fcn.0041ca80
jmp 0x49c255
call fcn.0041c400
mov edi, eax
add esp, 8
test edi, edi
je 0x49c5c8
push 0x70
lea eax, [edi + 4]
push 0
push eax
call fcn.004f13c0
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x98
push 0
push eax
call fcn.004f13c0
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 + 0x1c]
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 + 0x10]
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 0x49c2f0
mov ecx, edi
call fcn.00442f90
mov dword [esp + 0xc], eax
test eax, eax
je 0x49c563
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x49c35f
push eax
push str.___TRIGGER__s
push esi
call fcn.0041f540
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x49c329
push eax
mov edx, 0xfffffff9
call fcn.00444300
add esp, 4
jmp 0x49c35f
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 0x49c354
push 0xfffffffffffffff9
lea edx, [ecx - 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00444540
add esp, 8
jmp 0x49c35f
test eax, eax
je 0x49c35f
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf9
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x49c3bb
push 0
push 0
mov ecx, esi
call fcn.0045c240
add esp, 8
mov dword [esp + 0x2c], eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.0045a5b0
test eax, eax
jne 0x49c3aa
cmp byte [esi + 0x51], al
jne 0x49c3aa
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.00463ac0
add esp, 0x10
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49c3bb
mov edx, eax
mov ecx, esi
call fcn.0045bfa0
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.0049bd10
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0xc]
test eax, eax
je 0x49c40f
mov ecx, dword [edx + 0xc]
not eax
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49c3fe
push dword [esp + 0x18]
call fcn.00443d20
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x49c40f
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 + 0x24]
mov ecx, dword [edx + 0x6c]
lea eax, [edx + 0x6c]
mov dword [esp + 0x2c], eax
cmp dword [edx + 0x70], ecx
jg 0x49c43b
mov ecx, dword [esp + 0xc]
mov edx, 0x45
push 0
push 0
push 0
call fcn.00443360
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x49c475
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx + 0x68]
mov esi, dword [esp + 0x24]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
cmp dword [eax + 0x24], 0
jne 0x49c495
mov edx, eax
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 0x49c4ec
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x49c4e8
test eax, eax
je 0x49c4df
cmp dword [eax + 0x1e8], 0
je 0x49c4b7
mov edx, ecx
mov ecx, eax
call fcn.0041c6a0
jmp 0x49c4e8
cmp ecx, dword [eax + 0x138]
jb 0x49c4df
cmp ecx, dword [eax + 0x13c]
jae 0x49c4df
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov dword [eax + 0x134], ecx
jmp 0x49c4e8
push ecx
call fcn.0041c630
add esp, 4
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x51], 0
jne 0x49c52d
cmp dword [edx + 0x24], 0
jne 0x49c52d
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x68]
lea edx, [edx + 0x60]
call fcn.00443dc0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [esp + 0xc]
mov dword [edx + 4], eax
mov dword [ecx + 0x68], 0
mov dword [edx], esi
mov esi, dword [esp + 0x24]
jmp 0x49c535
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x2c]
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 edx, dword [esp + 0x28]
mov eax, dword [edi + 0x88]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x8c]
mov dword [edx + 0x14], eax
call fcn.00446cf0
mov ecx, edi
call fcn.0048bfc0
test esi, esi
je 0x49c5b2
cmp dword [esi + 0x1e8], 0
je 0x49c58a
mov edx, edi
mov ecx, esi
call fcn.0041c6a0
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x138]
jb 0x49c5b2
cmp edi, dword [esi + 0x13c]
jae 0x49c5b2
mov eax, dword [esi + 0x134]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x134], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.0041c630
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], edx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret