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

Disassembly:
sub esp, 0x15c
mov eax, dword [0x5340e4]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x168]
push ebx
mov ebx, dword [esp + 0x164]
mov dword [esp + 0xc], eax
mov eax, ebx
push edi
mov edi, dword [esp + 0x16c]
mov ecx, dword [ebx + 0x80]
test ecx, ecx
mov dword [esp + 8], edi
cmovne eax, ecx
mov eax, dword [eax + 0x88]
test eax, eax
je 0x45f485
mov edx, dword [esp + 0x174]
cmp dword [eax], edi
jne 0x45f47e
cmp dword [eax + 0xc], edx
je 0x45f843
mov eax, dword [eax + 4]
test eax, eax
jne 0x45f471
push ebp
push esi
mov esi, dword [ebx]
test ecx, ecx
mov eax, ebx
mov dword [esp + 0x14], esi
cmovne eax, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
push 0
push 0x18
test esi, esi
je 0x45f4b3
push esi
call fcn.00487b10
add esp, 0xc
jmp 0x45f4bb
call fcn.0049b7f0
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x45f834
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp], xmm0
push 0
movq qword [ebp + 0x10], xmm0
mov eax, dword [ecx + 0x88]
mov dword [ebp + 4], eax
mov dword [ecx + 0x88], ebp
push 0x1c
test esi, esi
je 0x45f4fd
push esi
call fcn.00487b10
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x45f50b
call fcn.0049b7f0
add esp, 8
mov dword [esp + 0x20], eax
mov esi, eax
test esi, esi
je 0x45f831
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
push dword [esp + 0x14]
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [ebp + 8], esi
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0xe0]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [ecx + 0xe0], esi
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [ebp], edi
push eax
mov dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 0x14], 0xffffffff
call fcn.0049e200
lea eax, [esp + 0x54]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
mov eax, dword [edi]
mov dword [esp + 0x150], eax
movzx eax, byte [edi + 8]
mov edi, dword [esp + 0x54]
mov byte [esp + 0xea], al
mov ax, word [ebx + 0x9c]
mov word [esp + 0xe8], ax
movzx eax, byte [ebx + 0x19]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov byte [esp + 0x65], al
test edi, edi
jne 0x45f5ed
lea eax, [esp + 0x4c]
push eax
call fcn.004b1580
mov edi, eax
add esp, 4
test edi, edi
je 0x45f7e7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x45f655
push ecx
push str.___TRIGGER__s
push dword [esp + 0x1c]
call fcn.0049b7d0
mov edx, eax
add esp, 0xc
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x45f623
test edx, edx
je 0x45f651
push edx
push eax
call fcn.00487c30
add esp, 8
jmp 0x45f651
mov eax, dword [edi + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x45f646
push 0xfffffffffffffffa
push edx
push eax
push edi
call fcn.004ccd50
add esp, 0x10
jmp 0x45f651
test edx, edx
je 0x45f651
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45f6d0
push 0
push 0
push ecx
push dword [esp + 0x20]
call fcn.00457690
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp byte [eax + 0x57], 0
jne 0x45f6be
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.004a58f0
add esp, 8
test eax, eax
jne 0x45f6b6
mov eax, dword [esp + 0x84]
dec eax
push 0x10
push eax
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x58]
push eax
call fcn.0048e050
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x45f6cc
push ecx
push eax
call fcn.0048dd70
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x17c]
push edx
push dword [eax + 0x1c]
lea eax, [esp + 0x54]
push eax
call fcn.004502d0
mov edx, dword [esp + 0x30]
add esp, 0xc
test edx, edx
je 0x45f713
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x45f70a
push edx
push edi
push ecx
call fcn.00475850
add esp, 0xc
jmp 0x45f713
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
push 0x46
push edi
call fcn.004b0ce0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x45f73b
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0xc], eax
jmp 0x45f74c
test eax, eax
je 0x45f74c
push eax
push dword [esp + 0x50]
call fcn.00487a00
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x45f77b
mov eax, dword [esp + 0x1c]
mov esi, dword [edi + 0x68]
add eax, 0x68
push eax
push edi
call fcn.00476e50
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [edi + 0x6c]
mov dword [ecx + 4], eax
mov dword [edi + 0x68], 0
mov dword [ecx], esi
mov esi, ecx
mov eax, dword [esp + 0x78]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xe0]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [ebp + 0x14], eax
mov esi, dword [edi]
push edi
push esi
call fcn.004b13a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x45f7ce
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x45f7ce
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
push edi
push esi
call fcn.00487c30
add esp, 8
lea eax, [esp + 0x4c]
push eax
call fcn.0049e260
add esp, 4
jmp 0x45f836
cmp dword [ebx + 0x24], 0
mov eax, dword [esp + 0x50]
jne 0x45f811
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0049e260
add esp, 4
jmp 0x45f836
test eax, eax
je 0x45f822
push eax
push dword [esp + 0x50]
call fcn.00487a00
add esp, 8
lea eax, [esp + 0x4c]
push eax
call fcn.0049e260
add esp, 4
jmp 0x45f836
mov dword [ebp + 8], esi
xor ebp, ebp
mov ecx, dword [ebx]
mov eax, ebp
pop esi
pop ebp
mov dword [ecx + 0x44], 0xffffffff
mov ecx, dword [esp + 0x160]
pop edi
pop ebx
xor ecx, esp
call fcn.004e56df
add esp, 0x15c
ret