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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x74]
test eax, eax
mov dword [esp + 0xc], edx
mov edx, ecx
push esi
cmovne edx, eax
mov dword [esp + 0x20], ecx
push edi
mov edi, dword [ecx]
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], eax
push eax
push 0x18
test edi, edi
je 0x489d6e
mov ecx, edi
call fcn.00404a90
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x489d79
call fcn.004043b0
mov esi, eax
mov dword [esp + 0x30], eax
add esp, 8
test esi, esi
je 0x48a12e
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 0x489db3
mov ecx, edi
call fcn.00404a90
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x489dbe
call fcn.004043b0
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 8
test edx, edx
je 0x48a12b
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 + 0x1c]
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 0x489e28
mov ecx, edi
call fcn.00404a90
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x489e33
call fcn.004043b0
mov esi, eax
mov dword [esp + 0x20], eax
add esp, 8
test esi, esi
je 0x48a12e
push 0x10c
push 0
push esi
call fcn.004c0cc0
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], esi
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], edi
mov edi, dword [esi + 8]
mov dword [esi + 0x74], eax
mov eax, dword [ecx]
mov dword [esi + 0xf4], eax
movzx eax, byte [ecx + 8]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x94], al
mov eax, dword [ecx + 0x88]
mov dword [esi + 0x88], eax
movzx eax, byte [ecx + 0x19]
mov byte [esi + 0x19], al
test edi, edi
jne 0x489eb3
mov ecx, esi
call fcn.0042a700
mov edi, eax
test edi, edi
je 0x48a104
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x489f19
push eax
push str.___TRIGGER__s
push dword [esp + 0x14]
call fcn.00406f50
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
cmp byte [ecx + 0x53], 0
je 0x489ee9
push edx
mov edx, 0xfffffff9
call fcn.0042b470
add esp, 4
jmp 0x489f19
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x489f0e
push 0xfffffffffffffff9
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.0042b6e0
add esp, 8
jmp 0x489f19
test edx, edx
je 0x489f19
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf9
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x489f82
mov ecx, dword [esp + 0xc]
push 0
push 0
call fcn.00443850
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x53], 0
jne 0x489f75
mov edx, ecx
lea ecx, [esp + 0x30]
call fcn.00441bb0
test eax, eax
jne 0x489f6d
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push dword [esp + 0x18]
mov dword [esp + 0x38], eax
push esi
call fcn.0044b490
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x489f82
mov edx, ecx
mov ecx, eax
call fcn.00443540
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.00489a20
mov edx, dword [esp + 0x30]
add esp, 4
test edx, edx
je 0x489fc1
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x489fb8
push edx
mov edx, edi
call fcn.0042b160
add esp, 4
jmp 0x489fc1
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x489fe7
push 0
push 0
push 0
mov edx, 0x45
mov ecx, edi
call fcn.0042a9a0
lea eax, [edi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x48a020
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
lea eax, [edi + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
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 ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
cmp dword [ecx + 0x24], 0
jne 0x48a03e
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x48a04d
test edx, edx
je 0x48a04d
mov ecx, dword [esi]
call fcn.00404680
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x53], 0
jne 0x48a08d
cmp dword [ecx + 0x24], 0
jne 0x48a08d
mov edx, dword [esp + 0x1c]
mov ecx, edi
mov esi, dword [esp + 0x10]
lea edx, [edx + 0x60]
mov esi, dword [esi]
call fcn.0042b230
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x74]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov dword [ecx], esi
mov esi, dword [esp + 0x18]
jmp 0x48a091
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
mov edx, edi
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x8c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x90]
mov dword [ecx + 0x14], eax
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.0042dd40
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
test ecx, ecx
je 0x48a0dc
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x18]
jmp 0x48a0e3
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
test edx, edx
je 0x48a0f0
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov edx, edi
mov dword [edi + 0x14], 0x5606c3c8
mov dword [edi], 0
call fcn.00404680
mov ecx, esi
call fcn.00477950
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.00404680
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret