Function at 0x4873e0
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 + 0xc], edx
mov edx, ecx
push edi
cmovne edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0
push 0
push 0x18
test esi, esi
je 0x487426
mov ecx, esi
call fcn.00415d30
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x487431
call fcn.00415750
mov edi, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edi, edi
je 0x487840
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 0x487471
mov ecx, esi
call fcn.00415d30
mov edx, eax
mov dword [esp + 0x28], edx
jmp 0x48747c
call fcn.00415750
mov edx, eax
mov dword [esp + 0x28], eax
add esp, 8
test edx, edx
je 0x487495
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
test edx, edx
je 0x487840
mov ecx, dword [esp + 0x1c]
push 0
push 0x114
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0xd8]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x18]
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 0x4874e4
mov ecx, esi
call fcn.00415d30
jmp 0x4874e9
call fcn.00415750
mov edi, eax
add esp, 8
test edi, edi
je 0x487840
push 0x70
lea eax, [edi + 4]
push 0
push eax
call fcn.004c04c0
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x98
push 0
push eax
call fcn.004c04c0
mov ecx, dword [esp + 0x1c]
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 edx, dword [edi + 8]
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [edi], esi
mov dword [edi + 0x74], eax
mov eax, dword [ecx]
mov dword [edi + 0xf0], eax
movzx eax, byte [ecx + 8]
mov ecx, dword [esp + 0x18]
mov byte [edi + 0x90], al
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 0x84]
mov dword [edi + 0x84], eax
movzx eax, byte [ecx + 0x19]
mov byte [edi + 0x19], al
test edx, edx
jne 0x487586
mov ecx, edi
call fcn.00436cd0
mov edx, eax
mov dword [esp + 0xc], eax
test edx, edx
je 0x4877de
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4875f5
push eax
push str.___TRIGGER__s
push esi
call fcn.00418310
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x28], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4875bf
push eax
mov edx, 0xfffffff9
call fcn.00437920
add esp, 4
jmp 0x4875f5
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 + 0x28]
je 0x4875ea
push 0xfffffffffffffff9
lea edx, [ecx - 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00437ab0
add esp, 8
jmp 0x4875f5
test eax, eax
je 0x4875f5
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf9
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x487651
push 0
push 0
mov ecx, esi
call fcn.0044d210
add esp, 8
mov dword [esp + 0x28], eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.0044bc50
test eax, eax
jne 0x487640
cmp byte [esi + 0x51], al
jne 0x487640
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x30]
mov dword [esp + 0x20], eax
push edi
call fcn.00453c80
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x487651
mov edx, eax
mov ecx, esi
call fcn.0044d010
mov edx, dword [esp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.00487000
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4876a5
mov ecx, dword [edx + 0xc]
not eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x487694
push dword [esp + 0x14]
call fcn.00437560
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4876a5
mov esi, dword [esp + 0x14]
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 0x4876c6
mov ecx, dword [esp + 0xc]
mov edx, 0x45
push 0
push 0
push 0
call fcn.00436f60
add esp, 0xc
jmp 0x4876f9
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 + 0x18]
mov ecx, dword [edi + 4]
cmp dword [edx + 0x24], 0
jne 0x487717
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 0x48776a
mov eax, dword [edi]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x48776a
test eax, eax
je 0x48775d
cmp dword [eax + 0x1e8], 0
je 0x487739
mov edx, ecx
mov ecx, eax
call fcn.004159a0
jmp 0x487766
cmp ecx, dword [eax + 0x138]
jb 0x48775d
cmp ecx, dword [eax + 0x13c]
jae 0x48775d
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x134], ecx
jmp 0x48776a
push ecx
call fcn.00415930
add esp, 4
mov edx, dword [esp + 0x18]
cmp byte [esi + 0x51], 0
jne 0x4877a8
cmp dword [edx + 0x24], 0
jne 0x4877a8
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x68]
lea edx, [edx + 0x60]
call fcn.004375b0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
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 0x4877ac
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x10]
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.00439ec0
mov ecx, edi
call fcn.00478bf0
test esi, esi
je 0x48782d
cmp dword [esi + 0x1e8], 0
je 0x487805
mov edx, edi
mov ecx, esi
call fcn.004159a0
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x138]
jb 0x48782d
cmp edi, dword [esi + 0x13c]
jae 0x48782d
mov eax, dword [esi + 0x134]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x134], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.00415930
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret